Loading…

Optimize emails with Just Words

Updated

Automatically 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. In Customer.io, go to > Workspace Settings > Manage API Credentials and create a new App API key. Copy this key.

  2. In Just Words, add the API key to your integrations. You can verify that the API key is correct by clicking Verify.

    The integrations page in Just Words, with the Customer.io API key box highlighted.
    The integrations page in Just Words, with the Customer.io API key box highlighted.

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

  1. In Just Words, click Add Template to create a new Just Words template.

    The add template page in Just Words, with the add template button highlighted.
    The add template page in Just Words, with the add template button highlighted.

  2. Select the Customer.io campaign containing the email that you want to optimize.

  3. Select the email within the campaign that you want to optimize.

    The select email page in Just Words, with the email highlighted.
    The select email page in Just Words, with the email highlighted.

  4. 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.

  5. 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.

    The analyze campaign results page in Just Words, with the campaign and email highlighted.
    The analyze campaign results page in Just Words, with the campaign and email highlighted.

  6. When you’re done configuring your variables, click Save Template.

  7. 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.

    The copy studio page in Just Words, with the copy studio highlighted.
    The copy studio page in Just Words, with the copy studio highlighted.

    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.

    The approve variants page in Just Words, with the variants highlighted.
    The approve variants page in Just Words, with the variants highlighted.

4. Connect your Just Words template into a Customer.io campaign

Now you’re ready to incorporate your Just Words template into your campaign.

  1. In Customer.io, go to the campaign and email you wanted to optimize.

  2. 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.

    The add random cohort page in Customer.io, with the random cohort highlighted.
    The add random cohort page in Customer.io, with the random cohort highlighted.
  3. Make sure that Path A contains your original email.

  4. In Path B, add a Send and Receive Data block (a webhook) and a new email below it.

  5. Select the webhook and go to the Response tab. Set the jw attribute to {{ response | json }}. Save the webhook.

    The response tab in Customer.io, with the response highlighted.
    The response tab in Customer.io, with the response highlighted.

  6. 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.

  7. 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! 🚀

Copied to clipboard!
  Contents
Is this page helpful?