You can add a condition to a paragraph, a list, a list item, a table, or a table row and get this section inserted into an email message along with the whole template only when the condition is met. A section that you've added a condition to becomes an Insert-if section.
To get a quick Insert-if Sections cheat sheet, click the button below.
In this video, we explain step by step how to automatically insert part of your template into a message only if a specific condition is met.
Run time: 03:53
You can base your condition on some text in an email message field or on the result returned by the WhatToEnter macro.
Note. If you select several paragraphs or list items, right-click, and then select Add Condition, your condition will be added to each of the selected paragraphs or list items separately. So, if you decide to change the added condition later on, you'll have to change it for each of the paragraphs or list items individually.
Note. Such conditions as "matches" and "doesn't match" require a regular expression.
Click OK.
Note. You can select the Case-sensitive checkbox for such conditions as "contains", "doesn't contain", and "is equal to".
Note. If you add a condition to a list item, you won't be able to add a condition to the whole list, and vice versa. If you add a condition to a table row, you won't be able to add a condition to the whole table, and vice versa.
Note. If you select several paragraphs or list items, right-click, and then select Add Condition, your condition will be added to each of the selected paragraphs or list items separately. So, if you decide to change the added condition later on, you'll have to change it for each of the paragraphs or list items individually.
Note. Such conditions as "matches" and "doesn't match" require a regular expression.
When you're done, click OK.
Note. You can select the Case-sensitive checkbox for such conditions as "contains", "doesn't contain", and "is equal to".
Tip. To avoid inserting the result returned by the WhatToEnter macro into an email message along with the whole template and use that result to simply check your condition, select the For Insert-if sections only checkbox when inserting the WhatToEnter macro into your template.
Note. If you add a condition to a list item, you won't be able to add a condition to the whole list, and vice versa. If you add a condition to a table row, you won't be able to add a condition to the whole table, and vice versa.
If you want to modify a condition, right-click the section it's applied to and opt for Change Condition.
After you make the necessary changes, click Save.
Right-click a section where the condition is not needed. Then select the Remove Condition option.
After removing the condition, click Save.
Post a comment
Seen by everyone, do not publish license keys and sensitive personal info!