Skip to main content
Intro to Conditions

Level up your email copy by adding conditional statements

Preena Francis avatar
Written by Preena Francis
Updated over 7 months ago

What are they?

They are a type of placeholder that lets you define a rule and its output. In the V1 of conditions, you can change your email copy based on what day it is. The system knows what day of the week it is and the difference between weekdays and weekends.

This advanced functionality is available only in the GROWTH and ENTERPRISE plans.

{{#if condition}}output{{/if}}

{{#if today == monday}}why god{{/if}}
{#if today == friday}}hallelujah{{/if}}

You can also use Conditions like regular Placeholders, without the rule component.

{{#today}} - if it's a monday, this will be replaced with monday.

{{#days_from_now_2}} - if it's a monday, this will be replaced with wednesday.

{{#weekdays_from_now_5}} - if it's a monday, this will be replaced with monday.

This is the syntax of how you write Conditions

{{#if}}
The opening block.

{{/if}}
The closing block. Your output should be typed between these 2 blocks. Make sure to account for spaces.

{{#}}
The # symbol separates Conditions from regular Placeholders and must be included everytime. When using Conditions without rules, the closing block should be omitted.

Conditions in Action

Of course, you can combine multiple Conditions in 1 email.

{{#if today == friday}}I know the weekend is just around the corner, but {{/if}}I was wondering if you're available for a quick call today? 

That would be {{#today}} @ 6:30PM

If that doesn't work, can you do {{#weekdays_from_now_2}} @ 3:00PM?

If the email is sent on a Friday, it would read as:

I know the weekend is just around the corner, but I was wondering if you're available for quick call today?

That would be Friday @ 6:30PM

If that doesn't work, can you do Tuesday @ 3:00PM?

If the email is sent on a Thursday, it would read as:

I was wondering if you're available for a quick call today?

That would be Thursday @ 6:30PM

If that doesn't work, can you do Monday @ 3:00PM?

Examples

Ask if your prospect is available for a call. Feel free to chain as many Conditions as you need.

Are you available for a call{{#if today == monday}} today or tomorrow?{{/if}}{{#if today == saturday}} on Monday or Tuesday?{{/if}}{{#if today == friday}} early next week?{{/if}}

Possible outputs
Are you available for a call today or tomorrow? (Monday)
Are you available for a call on Monday or Tuesday? (Saturday)
Are you available for a call early next week? (Friday)

Schedule a follow-up email. Please note the negative(-) symbol in the First Condition.

Hey! It was nice talking to you on {{#weekdays_from_now_-2}}. Can we catch up again, say, on {{#weekdays_from_now_2}}?

Hey! It was nice talking to you on Monday. Can we catch up again, say, on Friday? (Wednesday)

Reference

{{#if today == monday}}Enter output here{{/if}}
{{#if today == tuesday}}Enter output here{{/if}}
{{#if today == wednesday}}Enter output here{{/if}}
{{#if today == thursday}}Enter output here{{/if}}
{{#if today == friday}}Enter output here{{/if}}

{{#today}}

{{#days_from_now_n}} - Where n is a number
{{#weekdays_from_now_n}} - Where n is a number

Conditions are currently available to our Growth and Enterprise users. If your company is on another plan, please consider upgrading.

Did this answer your question?