Email¶
The Email node sends an email to the specified recipients. The send results will be output to the metadata and does not affect the flow, i.e. even if the sending of the email fails, the flow will still continue.
Node Type¶
External.
Input and Output Ability¶
This node has 1 entry point and 1 exit point. Both the input and the output are JSON.
Node Properties¶
Name
The name for this node.
Recipient
The email address to send the email to.
Click + Add Recipient or + Add Cc to send to multiple recipients.
Template Name
The name of the Email template. The templates currently available are the Notify DIS Event and Notify DIS Alarm templates. Hover the mouse over the template name to view its contents.
Notify DIS Event
Event Name: The event name to be used in the template. Expressions can be used.
Event Details: The event details to be used in the template. Expressions can be used.
Notify DIS Alarm
Alarm Name: The alarm name to be used in the template. Expressions can be used.
Alarm Details: The alarm details to be used in the template. Expressions can be used.
Event Name
The event name used in the Email template. Supports expressions.
Event Details
The event details used in the Email template. Supports expressions.
Description
The description for this node.
Samples¶
Input Sample¶
{
"assetId": "abc",
"timestamp": 24214324324,
"measurepoints":{
"temperature": 22.4,
"humidity": 78
}
}
Output Sample¶
{
"MetaData": {
"result": "execution succeed"
},
"Body": {
"assetId": "abc",
"timestamp": 24214324324,
"measurepoints":{
"temperature": 22.4,
"humidity": 78
}
}
}