Skip to content

Iterable

  1. In Iterable, create a Data Feed named JustAI.
  2. Set the Data Feed URL (POST) to:
    https://worker.justwords.ai/api/generate/<org_slug>?template_id={{ defaultIfEmpty clientTemplateId templateId }}&tracking_id={{ messageId }}&copy_id={{ copy_id }}&user_id={{ userId }}
  3. Add a custom header:
    • Name: X-Api-Key
    • Value: your JustAI API key (from Settings → API Keys in JustAI)
  4. Copy the Data Feed ID from Iterable and save it in JustAI:
    • Settings → Integrations → Iterable
    • Paste the Iterable server-side API key and Data Feed ID.
  1. In JustAI, open the template and go to Integration Settings.
  2. Select Iterable and set the treatment Template ID and Campaign ID.
  3. If you run a control, set the control Template ID and Campaign ID.
  4. Save changes, then use the JustAI template in your Iterable Journey or Campaign.

JustAI can ingest engagement and custom event data exported from your Iterable instance. If you already track custom events in Iterable, this is the easiest way to forward those events to JustAI.

JustAI ingests Iterable reporting events via Webhooks. This provides the core metrics needed for analysis (opens, clicks, sends, conversions), as well as custom metrics that are important to you.

  • Identify your JustAI org slug (usually your company name in all lower case - feel free to ask us).

To collect the standard engagement events, you can set up a System Webhook.

  1. Go to Integrations → System Webhooks.
  2. Click Create Webhook.
  3. For the API URL, enter the following JustAI API endpoint URL (be sure to replace the org_slug with your actual org name):
    1. https://worker.justwords.ai/api/webhook/itbl/<org_slug>?campaignId={{campaignId}}
  4. Click Create.
  5. Select which events you want the webhook to process (for example: Email Click, Email Open, Email Unsubscribe, Email Blast Send).
  6. Save and Enable.

To collect custom events, you can set up a Journey Webhook.

  1. Destination: Custom
  2. Method: POST
  3. Endpoint: https://worker.justwords.ai/api/webhook/events/<org_slug> (be sure to replace the org_slug with your actual org name)
  4. Headers: X-Api-Key
    • You can generate the value for the header by generating an API key here.
  5. Body:
{
"email": "{{email}}",
"workflowId": "{{workflowId}}"
}
  1. Update webhook.
Custom Webhook

To send a custom event, create a new Journey that is triggered by the custom event you want to forward, and then set up a Journey Webhook that points to the webhook defined above.

Event ChainWebhook Details

You can define a Journey per custom event, and we recommend organizing them into a JustAI Export directory.