Skip to content
WeZend

Automation

AI Studio — prompt to campaign or journey

Turn a plain-language brief into a reviewable draft: a campaign (segment + email + A/B subject + send time) or a full journey graph.

AI Studio composes a complete, editable draft from one prompt. It's exposed on two endpoints — one for campaigns, one for journeys. Both create drafts; nothing sends until you review and act.

Draft a campaign

curl https://api.wezend.com/v1/studio/compose \
  -H "X-API-Key: <key>" -H "Content-Type: application/json" \
  -d '{ "prompt": "A win-back email for customers who haven'\''t ordered in 60 days" }'

Returns a draft campaign with a segment (translated from the prompt), an email as builder blocks, an A/B subject-line variant and a suggested send time. Open it in the dashboard to edit, then send.

Draft a journey

curl https://api.wezend.com/v1/studio/journey \
  -H "X-API-Key: <key>" -H "Content-Type: application/json" \
  -d '{ "prompt": "A two-step welcome flow for new subscribers" }'

Returns a validated journey graph (nodes + edges: triggers, delays, sends, splits) persisted as a draft journey — open it in the visual builder, refine, and activate with launch_journey.

Notes

  • Both require a key with the write scope.
  • With no AI key configured, Studio still returns a sensible editable starting point.
  • The same generation is available from your own assistant via Connect AI.

One platform. Every customer interaction.

Replace your patchwork of messaging APIs, CDP and automation tools with a single engagement platform built for scale.

No credit card required · EU data residency · 99.99% uptime SLA