Personalised images in Instantly
Use OKZest with Instantly to show each lead an image with their own details, such as their first name or company. Instantly replaces its variables for each lead when it sends, and OKZest builds the image from those details.
You need: an OKZest account with a saved design that has at least one dynamic text layer, and an Instantly campaign with leads uploaded. If you are new to cold email, read the cold email guide first.
1. Use Instantly's variable in your design
Instantly calls its merge tags variables and writes them between double curly brackets. Instantly's predefined lead fields include first name, last name, company name and job title, and any other column in your lead file becomes a custom variable written as {{columnName}}. Custom variable names must match the column header in your file exactly, and variables are case sensitive.
Instantly says the safest way to get the exact tag is its Variables button in the editor toolbar, which lists the variables for your campaign and inserts the right text. Use it to copy the tag, then use that same text in OKZest. The first name tag listed on the Merge tags page is:
| Detail | Instantly variable |
|---|---|
| First name | {{firstName}} |
Source: Instantly: How to add and use variables in campaigns.
In OKZest:
- Open your design and select the dynamic text layer.
- In Text settings, enter a short ID, such as
first_name. - In Merge tag, enter
{{firstName}}, or the tag the Variables button gave you. - Enter Default text, such as
there, then save the design.
See Merge tags for the full list of formats and the rules for other layer types, and the email quickstart if you have not made a design yet.
2. Copy the image code from OKZest
- In OKZest, select Share.
- Under Embed your image, select Copy <img>.
- If a yellow Some merge tags are missing box appears, type
{{firstName}}into it and select Save changes, then copy the code again.
The image address in the code looks like this, where first_name is your layer ID:
https://media.okzest.com/img?c=YOUR_COMPANY_ID&i=YOUR_DESIGN_ID&first_name={{firstName}}
3. Paste it into your Instantly email in Code View
Instantly's own guide to personalised images works by putting an image link in a lead column and pointing the src of an image at that variable. With OKZest you do not need a column of image links, because the OKZest address itself carries the variable. You still use the same editor steps.
- In Instantly, open your campaign and the email step where the image should go.
- In the editor, select the image icon, add any placeholder image and select Insert.
- Switch the editor to Code View.
- Find the
<img>tag and replace it with the<img>tag you copied from OKZest. - Switch out of Code View and save.
Instantly warns that the image can look broken in the sequence editor. Use Preview and a test email to check the real result.
Source: Instantly: Personalized Images.
4. Check the settings that strip images
Instantly has two settings that remove images from your emails. Check both, or your personalised image will not appear.
- Campaign level: open Settings, then Advanced Settings, then Basic Deliverability, and keep Delivery Optimization disabled. Instantly says this feature strips images from all steps.
- Workspace level: in the advanced deliverability settings, make sure Always send first email as text-only is disabled. Instantly says this strips images from step 1 across all campaigns.
Source: Instantly: Personalized Images.
Many cold email senders choose text-only first emails because images can affect deliverability. That is a judgement for you to make for your own campaigns. See email content in the cold email guide.
5. Send a test
- In Instantly, select Preview, then send a test email to yourself.
- Open the email and check that the image shows your details. If your own record has no first name, you will see the default text.
If it does not work
- The image shows the default text for everyone. The variable may be mistyped, or the lead has no value for it. Variables are case sensitive, so check the tag in OKZest matches Instantly exactly.
- No image appears at all. Check the two deliverability settings in step 4.
- A broken image appears. Paste the image address into a browser, replacing the variable with a real name such as
first_name=Sam. If it loads, the design is fine and the problem is how the code was pasted. See the troubleshooting page.
What next
- Merge tags: formats for other platforms and layer types.
- Cold email guide: the full guide to sending cold email.
- Quickstart: email image.