Advanced variables: template examples
Advanced (conditional) variables let you show different text in your templates depending on specific conditions. They
use an if/else structure, so you can adapt your message based on things like job title, company, day of the week, or
whether a contact has certain data.
This is useful when you want one template to adjust automatically for different contacts instead of creating multiple
versions of the same message.
💡If you're new to advanced variables or need guidance on adding them to your templates, check out our article on
Advanced variables for step-by-step instructions.
Now, let's take a look at some business cases for Reply's conditional variables, which are also proven email templates
you can use:
💡Note: Some examples use custom contact fields (Social_Media, Department, Programming_Language and Position). Create
them first (see Custom fields) and fill them in for your contacts. In the Recruiting template, {{#if Social_Media}}
Github {{else}} LinkedIn {{/if}} shows Github when the contact has a value in Social_Media, and LinkedIn when that field
is empty.
Outbound intro
Subject Line: {{ReplyAccount.Company}} <> {{Company | 'your company'}}
Hi {{FirstName | ‘there’}},
I know you’re very busy as {{Title | ‘a manager’}}, but I’ve been wanting to have a quick chat about bringing [Insert
Product or Service] to {{Company | ‘your company’}} because I think it could really help you improve [Insert Sector] and
increase [Insert KPI].
Do you have 10-15 minutes for a quick chat {{#if is_monday}}today or this Tuesday{{/if}}{{#if is_tuesday}}today or this
Wednesday{{/if}}{{#if is_wednesday}}today or on Friday{{/if}}{{#if is_thursday}}today or tomorrow{{/if}}{{#if
is_friday}}later today or early next week{{/if}}{{#if is_weekend}}early next week{{/if}}?
Best,
{{ReplyAccount.FullName}}
Outbound, day of the week
Subject Line: Collaboration {{Company}} <-> {{ReplyAccount.Company}}
Hi {{FirstName | ‘there’}},
How’s your {{day_of_week}}?
I’m reaching out to you because I noticed on {{Social_Media | ‘your LinkedIn profile’}} that you are working at
{{Company}}. Given your role as {{Title | ‘a manager’}}, sounds like you might be interested in [What your Product or
Service does].
In short, {{ReplyAccount.Company}} has helped other companies in {{Industry | ‘your’ }} industry, such as [Company 1]
and [Company 2]. Our platform [how you helped those companies].
{{FirstName}}, any thoughts?
Do you have time to connect {{#if is_monday}}today or tomorrow{{/if}}{{#if is_tuesday}}today or this
Thursday/Friday{{/if}}{{#if is_wednesday}}today or this Friday{{/if}}{{#if is_thursday}}today or this Friday{{/if}}{{#if
is_friday}}today or early next week{{/if}}{{#if is_saturday}}on Monday or Tuesday{{/if}}{{#if is_sunday}}tomorrow or
this Tuesday{{/if}}?
Best,
{{ReplyAccount.FullName}}
Outbound pitch
Subject Line: Regarding {{ReplyAccount.Company}} for {{Company}}
Hi {{FirstName | ‘there’}},
How is your {{today}}?
{{ContactOwner.FirstName}} from {{ReplyAccount.Company}} here – [5-7 words what your company does].
I’m here to tell you about a service that helps [Pitch your product or service]. That means {{Company | ‘your company’}}
{{Department | ‘sales’}} team shouldn’t [what pain point your product or service solves].
Does it make sense for you as {{Title | ‘sales leader’}}?
Do you have time to connect {{#if is_monday}}today or tomorrow{{/if}}{{#if is_tuesday}}today or this
Thursday/Friday{{/if}}{{#if is_wednesday}}today or this Friday{{/if}}{{#if is_thursday}}today or this Friday{{/if}}{{#if
is_friday}}today or early next week{{/if}}{{#if is_saturday}}on Monday or Tuesday{{/if}}{{#if is_sunday}}tomorrow or
this Tuesday{{/if}}?
Best,
{{ReplyAccount.FullName}}
Welcome to a trial
Subject Line: {{FirstName | 'Hey'}}, let's connect? / {{ReplyAccount.Company}}
Hi {{FirstName | ‘there’}},
My name is {{ContactOwner.FirstName}} and it is my pleasure to welcome you as our trial user.
I understand you are looking to [what your product or service does]?
If so, you’ve come to the right place. I’d be happy to share some best practices on how to [short product or service
pitch].
{{#if CompanySize == '51-200' }} Let’s connect for 10-15 minutes for a quick chat over Zoom here.{{else}}Could you
please answer a few questions to understand your business better{{/if}}.{{#if Phone}}If so, can I call you on this phone
number {{Phone}} to discuss details? {{else}} Btw, what is your phone number? {{/if}}
Thanks in advance.
Best,
{{ReplyAccount.FullName}}
Recruiting
Subject Line: {{FirstName}}, new career opportunity
Hi {{FirstName | ‘there’}},
My name is {{ReplyAccount.FirstName}} and I am [Your Title] at {{ReplyAccount.Company}}. I found your profile on {{#if
Social_Media}} Github {{else}} LinkedIn {{/if}} while looking for the top engineers with {{Programming_Language |
‘software development’}} experience. I was impressed by your background and decided to drop you a note.
You probably don’t often see CEOs reaching out to potential candidates to discuss career opportunities. But our
company’s success so far is based on finding the best people and putting them together to work on fun, challenging,
and exciting projects. That’s why I focus a lot of my personal time on recruiting the greatest talents for our company.
We might have a position of {{Position | ‘software engineer’}} to tell you about.
Is it worth a chat some time {{#if is_monday}}later this{{/if}}{{#if is_tuesday}}later this{{/if}}{{#if
is_wednesday}}this{{/if}}{{#if is_thursday}}this{{/if}}{{#if is_friday}}today or early next{{/if}}{{#if
is_weekend}}early next week{{/if}} week, {{FirstName}}?
Best,
{{ReplyAccount.FullName}}
💡Important: Always check how your email will appear to recipients before sending. Use Preview mode in the template
editor or send a test email to yourself.