SMTP Triggers are used to automated the launch of a Scenario via Email.
You can create a customized message action from an email trigger by using the following variables in your saved Action messages for your scenario:
{{email_from}}
- This variable will be replaced by the email's 'From Address'.{{email_subject}}
- This variable will be replaced by the email's 'Subject'.{{email_body}}
- This variable will be replaced by the email's 'Message Body'.*
Much like Text Variables, these special variables insert content into your messages. In this case, we're inserting content pulled from the email sent to Omnilert as a triggering event.
For example, if I have an SMTP trigger that is triggered by an email from a weather service, I might want my Scenario's action to use the Subject and the Body from that weather alert email.
To do that, I create a Scenario Action and include the appropriate variables in with my content:
Thus, when my Omnilert SMTP trigger address receives an email, the subject and body are used in my outgoing alerts automatically.
*Note: The email body of the triggering email should be in plain text format. HTML/rich text formatted email content will not be passed through the {{email_body}} variable.
Most email system will send a plain-text content equivalent, but always test triggers to ensure that the content is passed as desired!
Comments
0 comments
Please sign in to leave a comment.