Automation Rules Examples
Table of Contents:
- 1 Transactional Message Examples
- 1.1 How to Send a Transactional Message Based on Any Change in a Given List Field
- 1.2 How to Setup a Drip Welcome Series
- 1.3 How to Setup a Confirmation Unsubscribe SMS Text Message
- 1.4 How to Send a Welcome Message via a Different Vendor Connection
- 1.5 How to warm-up a new vendor connection with engaged contacts only
- 1.6 How to Send a Cross-Sell Transactional Message Using Email Tags
- 1.7 How to Add a Behavioral Criteria to an Automation Rule Based on Contact Create/Edit
- 2 Update Field Examples
- 3 Webhook Examples
- 4 Appendix
It is recommended to peruse the parent intro section Automation Rules before reviewing the examples below.
Transactional Message Examples
In the parent section Automation Rules you'll find an example of How to send a transactional message after an Open or Click.
As noted there, it is recommended to setup a separate Transactional campaign for each Automation Rule that has a transactional action in order to track the stats (sent, open, clicks, etc) specifically related to that Automation Rule.
How to Send a Transactional Message Based on Any Change in a Given List Field
Use-case: Let's say you have an offering, where your customers can change their package level from your website. At that point you might want to send them a Transactional message confirming the package change. Here's how to implement that with any change in a list field value.
Rule Settings
Rule Trigger: assuming this is for existing customers, you'll choose the 'Contact created or edited' option as this will be an edit.
Rule Frequency: Always – as you want to send this every time a customer changes their package level.
Trigger Source: Choose API call update from your Website, or from Ongage platform, in the case of manual update by customer service personnel.
Rule Criteria: choose the field which contains the value, and select either 'Changed To' 'any value' or 'Changed From' 'any value'.
Rule Action: Choose Transactional
You'll typically want to check: 'Check Contact Status' (i.e., don't send to inactive: unsubscribed/hard bounced/complained) and 'Check Suppression' (i.e., check against relevant suppression lists).
How to Setup a Drip Welcome Series
Note: Another (and somewhat more versatile) way to set such a welcome drip campaign is using our Events & Triggers (see there: 'How to Setup a Welcome Onboarding Series').
This example will send 3 emails after a contact has been created at an interval of 5 mins, 1 day and 2 days after Created Date (aka sign-up date).
Rule Settings
Rule Trigger: select: Contact create.
Rule Frequency: select: Once.
Trigger Source: Currently the API call and Ongage Platform (manual add) option is available for this scenario.
Rule Criteria: No rule criteria needs to be selected here for setting up Drip welcome series for every contact being added into the list.
Rule Action: Create 3 Transactional Actions and select Delay Send as demonstrated below:
Transactional Action 1 with 5 minutes Delay.
Transactional Action 2 with 24 hours Delay.
Transactional Action 3 with 48 hours Delay.
How to Setup a Confirmation Unsubscribe SMS Text Message
In order to send confirmation unsubscribe SMS Text Message, please follow the steps given below.
Rule Settings
Rule Trigger: select: Contact Unsubscribed
Rule Frequency: select: Always
Rule Criteria: In ESP Select: Sinch or twilio- as this feature currently only works for those SMS vendors.
Rule Action: Set up Transactional Action with an SMS type message, which will send a confirmation SMS to those contacts who unsubscribed.
How to Send a Welcome Message via a Different Vendor Connection
Ongage has a built-in welcome message as detailed in List Settings. That setting only allows for sending a welcome message via one SMTP/SMS vendor connection. If you'd like to send your welcome messages for a given segment via a different vendor connection, here's how you can do that.
Rule Settings
Rule Trigger: select: Contact create.
Rule Frequency: select: Once.
Trigger Source: Currently the API call and Ongage Platform (manual add) option is available for this scenario.
Rule Criteria: choose a criteria for those that you want to send via a specific vendor connection, let's say 'gmail.com'.
Rule Action: choose Transactional and select the desired connection
Notes:
You can use this method to implement your welcome messages instead of the built-in one in Ongage which only allows sending via one vendor.
You can use this in conjunction with the built-in welcome message function, if you're using there the segmented welcome, make sure not to double target the segment you're also setting up here.
How to warm-up a new vendor connection with engaged contacts only
To openers (or clickers) in one connection, send a follow-up transactional message via a second connection
This setup can be used for warming up a new IP and/or Sending Domain.
The basic idea here is, that to all those who opened or clicked (i.e., engaged) on one connection (e.g., the original welcome or event/campaign connection), send them a follow-up message via a new connection. Thus the new connection will only get recently engaged contacts – which is ideal for warm-ups!
You can set that follow-up message to be sent immediately, or after x minutes, x hours, or even a day later, the choice is yours! Some marketers like to do it immediately while the recipient is already in their mailbox, others prefer to send it later on in the day, or the following day, as not to overload contacts with messages.
Automation Rule configuration to send a follow up message via a separate connection
Rule Settings
Rule Trigger: select: Contact opened a message.
Rule Frequency: select: Once per campaign.
Rule Criteria
Go to Behaviour Event.
Select ESP Connection.
Select Connection ID from which you want to capture the Opens.
Rule Action
Choose Transactional.
Select Email Message.
Select Transactional Campaign ID.
Select ESP Connection ID: This will be a separate connection which you want to warm up OR improve engagement for.
Add Delay (Optional).