If you are an Enudge Enterprise account holder, you can add variable content into your Enudge email or SMS messages, where the inserted content is selected based on the information recorded about each contact.
You can achieve this by using Programmatic Rulesets which are configured via the Settings screen for your campaign. The screen grab below shows the Settings tab for email campaigns:
The screen grab below shows the link to Programmatic Settings for an email within a Message Series:
Create a Programmatic Ruleset
Open the relevant Campaign, navigate to the Settings screen.
Click on the ADD NEW button to create a new ruleset.
Below is a demonstration of how you could create a ruleset to insert different discount offers, based on each contact's location.
Firstly, give the ruleset a name & description that helps you remember what the insert content is about. Then choose the 'state' field from the Applies to Field drop down. For a simple match, choose a Comparison Method of 'Equals'.
Add first value
If the "state" value equals "NSW", and you want to insert text "5% discount" into the content of your message, this is achieved by setting the Match Value as "NSW" and Insert Text value as "5% discount" as shown below.
Click the 'ADD RULESET' button.
With the first match value in your ruleset in place, you can now add as many other match values and content to insert as you need.
Add additional optional content
To insert variable content where the "state" value equals "VIC", you need to click on the 'ADD NEW VALUE' button. In the dialog that pops up, type in 'VIC' in the Match Value field, and then enter the relevant content into the Content box. Finally click the 'SAVE' button.
Add as many different options as you need by repeating this step.
Else statement
To insert default content into your message where there is no match, again click to 'ADD NEW VALUE' but leave the Match Value field blank, enter the variable content and then tick the Else option as shown below.
Your final ruleset might look like this:
You can remove a value via the red cross icon to the right.
You can edit the content to be inserted by clicking on the value to be matched.
Once you have finished adding all required values, you must click on the
βSAVE CHANGES button at the bottom on the page.
Finding a Match
If you choose a Comparison Method of 'Contains' rather than 'Equals', then Enudge will look in the specified contact field to see if the match value is found anywhere in that field for a particular contact. This gives you greater flexibility for matching values.
With either 'Equals' or 'Contains' operators, Enudge will only insert one piece of content per rule. In other words, once a match is found in the specified field for a particular content, Enudge will not look for another match for that particular contact.
Insert programmatic ruleset into your email or SMS message
Once you have created a programmatic ruleset, you need to add it to the body of your email or SMS using the format shown at the top of your ruleset:
e.g. @@RulesetName@@. The Campaign Ruleset Name we used in the example above is "Offers", so we would need to add the text @@Offers@@ into the body our email, as shown below.
Programmatic rulesets are campaign specific i.e. a ruleset created within campaign A cannot be used in campaign B.
Each message within a Message Series can have their own rulesets. Rulesets are not shared between messages within the series.





