With the Just Words + Iterable integration, you can test multiple versions of an email campaign within a single experiment and automatically refresh underperforming content with the power of AI.
NOTE
If you don't already have a Just Words account, schedule a 30-minute demo.
In this article
Setup instructions
data feed
Step 1: Set up aSign in to your Iterable account, and go to Content > Data Feeds.
Click New Data Feed.
For Name, enter “Just Words”.
For Template Handlebars Alias, enter “jw”.
-
For URL, enter the following Just Words API endpoint URL (be sure to replace the placeholder variables with actual values for your project):
https://worker.justwords.ai/api/generate/<org_id>?template_id={{ templateId }}&tracking_id={{ messageId }}
NOTE
You can pass in attributes using nested query parameters, like
attrs.firstName={{ firstName }}
. For Format, select JSON.
-
Under Custom Headers, click Add Header.
- For Name, enter "X-Api-Key".
- For Value, enter your Iterable API key.
Under Rate Limit, select Custom Rate and set it to 1000 messages per second.
Step 2: Set up a system webhook
Go to Integrations > System Webhooks.
Click Create Webhook.
-
For the API URL, enter the following Just Words API endpoint URL (be sure to replace the placeholder variables with actual values for your project):
https://worker.justwords.ai/api/webhook/itbl/<org_id>?campaignId={{campaignId}}
-
Click Create.
Select which events you want the webhook to process (for example: Email Click, Email Open, Email Unsubscribe, Email Blast Send).
Optimizing email campaigns with the integration
To start using this integration to optimize your email campaigns, follow these steps:
Step 1: Add an A/B Split in an Iterable journey
In Iterable, open one of your journeys or create a new one.
Add an A/B Split tile at a logical point in the journey.
-
Add two Email tiles (one for your test campaign and one for the control), and connect one to each branch of the A/B Split tile.
-
Double-click each Email tile to view its campaign ID. Copy the campaign IDs of the test and control campaigns, and save them in a secure place (you'll need them in a later step).
Step 2: Set up a test campaign in Iterable
Open the Email tile that contains your test campaign.
In the Content section of the template editor, click Edit.
Scroll down in the Details panel, and check the box next to Connect data feeds for dynamic template creation.
In the dropdown menu that appears, select the Just Words data feed you created earlier.
Uncheck the box next to Cache Data Feed Response. (This ensures that each user can receive a different copy of the email campaign.)
-
Check the box next to Use Data Feed Alias. (This allows you to use the
jw
alias you created for the data feed earlier.)You can reference variables from the data feed response using double square brackets (
[[]]
). You can use variables in the subject, preheader, and body of the email.NOTE
If you want to pass Just Words variables into snippets, you'll need to assign them as snippet variables using Handlebars first. For example:
{{ #assign "cta" }}[[ jw.copy.vars.cta ]]{{ /assign }}
{{{ snippet "custom_snippet" jw.copy.vars.cta }}}
Click Save and finish setting up your campaigns.
Step 3: Create a Just Words template
In Just Words, create a new template.
-
Enter the campaign IDs for your Iterable test and control campaigns.
Step 4: Save and publish the Iterable journey
When you're finished setting up and testing your campaign, save and publish the journey. This will turn the journey on and start sending your Just Words-optimized campaign to recipients who go through the Email tile.
Step 5: Monitor your results in Just Words
Once you've launched an Iterable campaign that's set up with this integration, you can go to the Just Words console to see real-time results, edit your copy variants, configure your data feed variables, and view performance insights.