Conditional and Date Variables
You can add conditional and date variables to the emails while creating your custom template for your sequences.
You can find the options under the "Others" tab.
Please navigate to the bottom bar in the email template click on the "{ }" button and then click "Others" to open up the list of all the conditional variables available to use. Please find the below screenshot to understand the same:
Note: Date variables are also available once you scroll down halfway in the list under the Others tab.
Here is an example of how to make use of these variables and understand the best scenario to use them.
Example:
Conditional Variable in use:{{#if firstname}}{{#else}}{{#endif}}
How to use in Email Template: Hi {{#if firstname}} _{{firstname}}_ {{ #else }} _there_ {{ #endif }}
{{#if firstname}} _{{firstname}}_: This is the condition here that says if there is a first name available for contact then use _firstname_ as per the above example.
Hence this is what the system uses as the first name is available
{{#else}}: This condition says if the first condition is not met i.e, no first name for the prospect then use text _there_ as per the above example.
{{#endif}}: This is how we denote the end of the logic/condition.
Note: _{{firstname}}_and _there_ in the above example are values that the user has to specify in the Conditional variable.
Kindly visit the below link to see more examples of Conditional and Date Variables
Examples - Conditional and Date Variables
Updated on: 23/05/2024
Thank you!