# How do I insert merge fields in my email workflow or email templates?

Can I insert merge tags in the subject line?

Easy: you will find a list of merge fields at the bottom of the email compose window.

![](/assets/f4f378a6b3ef89e5e9e2d069.gif)

You can choose as many merge fields from this list as you want to insert in your email.

For example, you can start an email with **Hey \[first name\]**. If you select the 'First name' merge field, it will replace \[first name\] with the contact's actual first name.

The merge field will appear in your email like this:  
​`#{{ first_name | fallback="REPLACE_THIS" }}`  
​

The REPLACE\_THIS part is the **fallback**.

That means whatever words you replace REPLACE\_THIS with will appear in the email if that data isn't available for the contact.

For example:  
`Hey #{{ first_name | fallback="there" }}!`

In the email you send out, if a contact's first name is not in Salesflare then the email will start with 'Hey there!' instead.

![](/assets/8d5735c1d595554a0164e0ee.gif)

To preview your merge fields, just press on the **Preview** button in the tool bar at the bottom.  
​

If you forget to remove REPLACE\_THIS, or don't want a fallback, don't worry. Salesflare makes sure REPLACE\_THIS is invisible if you don't remove it.

<a id="can-i-put-merge-fields-in-the-subject-line"></a>
## Can I put merge fields in the subject line? 

Yep, no problem. 👌

Just select the merge field in the body and copy/paste it into the subject line.

![](/assets/e454afa6299743433799240c.gif)

You can also read on about [email workflows](https://intercom.help/salesflare-howto/en/articles/3749723-how-do-i-send-an-email-workflow) or [email templates](https://intercom.help/salesflare-howto/en/articles/3376856-can-i-save-email-templates).

Have more questions? Hit us up on the chat!  
​
