Navigate to email
In your HubSpot Marketing Basic, Professional, or Enterprise account, navigate to Content > Email.
Choose or create your email
You can either create a new email here or edit a draft you already have. If you want to create a new email, click Create email at the top. If you want to edit an existing draft, click Draft on the left-hand side.
Email editorOnce you've chosen or created a new email, you'll be in the email editor. Navigate to your Main Email Body and write your content within that section by clicking within the module. You can see the text that needs to be replaced with personalization in the example below. In this example, we'll replace "there" with a first name personalization.
We'll need to highlight "there" and delete that text so the cursor should be where we want the first name personalization to be. Then you'll want to head to the WYSIWYG editor above the text and click on the Personalization Token icon.
You'll be taken to a pop-up window where you can search for the First Name token and click Insert to add the token into your email.
This will now have placed the first name personalization token after "Hi" in the email, and you should see the token appear there with the name of the property being used with a green background. The green background is an indicator that you're using a personalization token in that space.
When you click the icon to insert a personalization token and are taken to the pop-up window, you'll also see a text field to enter a Default value. This gives you fallback text if you create a personalization token that doesn't have any value in the matching contact property. So, if you insert a personalization token for First Name but the contact you sent to has no first name on their record, it will show the default value text instead.
Below, the default value is set to "Friend" so if this email gets sent to a contact that has no first name on their contact record, it will say "Hi Friend" in the email sent to them.
Please note that the default value will be applied as a fallback to all emails sent using the selected personalization token.
Preview your tokens
Once you've inserted the personalization tokens for your email, you can preview how these will look to ensure you've set up the tokens as expected.
To do this, click the eye icon on the left-hand side. Under the Smart Preview section, check the box next to Preview page as a specific contact, then choose a contact from the dropdown menu. This will change the preview in the email editor so you can view it as if you were a specific contact in your database.