Optimize emails with Just Words
UpdatedAutomatically A/B test and optimize emails on the fly with Just Words.
How it works
Just Words lets you test many variations in one experiment and auto-refresh underperforming content automatically. You’ll create a campaign with an email in Customer.io and connect it to a template in Just Words. Then Just Words will automatically ingest data from Customer.io and update the template with the best performing variation(s).
As a part of this process, you’ll add a random cohort branch to a campaign with two paths. One path will be the control, and the other will be the Just Words branch. If you’re setting up a new campaign, this is easy.
If you have a live campaign that you want to optimize, you’ll set up your random cohort with 100% of the participants going to the email currently in your campaign; we call this the control path. Setting things up this way ensures that people continue getting messages while you complete this process.
1. Link your Customer.io account to Just Words
In Customer.io, go to > Workspace Settings > Manage API Credentials and create a new App API key. Copy this key.
In Just Words, add the API key to your integrations. You can verify that the API key is correct by clicking Verify.
This automatically creates a Reporting WebhookWe can optionally send real-time data about a select set of activities to any public endpoint you choose. Once your team has such an endpoint ready to receive data, it’s as simple as adding that endpoint to your Workspace configuration in Customer.io. in Customer.io to start ingesting data into Just Words.
2. Create your Customer.io campaign
Before you create templates in Just Words, you need to have a campaign—and an email within that campaign—that you want to optimize. You don’t need to start the campaign, but it’s best to populate your complete campaign and an email with your expected copy. This ensures that Just Words has the context it needs to help you optimize your email.
3. Create your Just Words template
In Just Words, click Add Template to create a new Just Words template.
Select the Customer.io campaign containing the email that you want to optimize.
Select the email within the campaign that you want to optimize.
Click Analyze Campaign. Just Words will pull in details about the email and the campaign, and they’ll ask you to confirm some basic information to make sure they’ve understood your campaign and message correctly.
On the Personalization page, configure the Variables that you want to optimize in the email. These can be things like the email’s subject, the preheader, or even the entire body of the email. Just Words’ AI can even personalize emails based on the user and trigger attributes within Customer.io.
When you’re done configuring your variables, click Save Template.
You’ll see a page where you can generate new Variants. Click Generate treatment variants to generate a handful of new variants, or you can prompt Just Words with specific instructions.
In the Copy Studio, you can generate and edit as many variants as you’d like to test. Once you are happy with the emails, you can “Approve” each variant and press the Save button. It will automatically generate HTML variations with Liquid logic.
4. Connect your Just Words template into a Customer.io campaign
Now you’re ready to incorporate your Just Words template into your campaign.
In Customer.io, go to the campaign and email you wanted to optimize.
Add an A/B test split with 50% going to Path A and 50% going to Path B. If the campaign is already live, you can set 100% to Path A until you’re done with this process.
Make sure that Path A contains your original email.
In Path B, add a Send and Receive Data block (a webhook) and a new email below it.
Select the webhook and go to the Response tab. Set the jw attribute to
{{ response | json }}
. Save the webhook.If you return to Just Words, go to the Template Configuration page and find the newly created webhook and email. When you click Save Changes, you’ll see Just Words reflect the changes to your campaign.
If you refresh the Customer.io page, the tiles should now be updated. If you had set 100% to Path A, you can set it to 50/50 to “launch” the JW branch.
Congrats! You’ve just created your first Just Words experiment! 🚀