Skip to content

Create an email campaign ​

Builds a draft email campaign with you: its content (one email, or several variants for different segments or tags), its audience, and a preview of every email. The campaign is never sent.

Prompt name: create-email-campaign

What you need ​

  • A campaign name, a subject line and the sender (name and email address). A preview text is optional.
  • What the email should say: its purpose, sections, copy and any button links. The assistant does not invent copy or links you have not given.
  • The tags and segments to send to. They must already exist in Rule.
  • Optionally, a brand style. Otherwise your account's default brand style is used.

Steps ​

  1. Basics. You give the campaign name, subject and sender.
  2. Content. You choose one email for everyone, or several variants. For each email, you describe the content and pick a brand style. The assistant drafts it and shows you a plain-language outline to approve. Every email gets an unsubscribe link in its footer.
  3. Audience. The assistant lists your tags and segments, and you choose which to include and which to exclude. For each variant, you choose the tag or segment that should see it. If a person can be in more than one of those, you put the variants in order of priority: each person gets the first variant they match.
  4. Review. The assistant shows the whole campaign: name, subject, sender, audience (by name and id, marked included or excluded), and each email with its brand style. Nothing has been created yet. You confirm, or go back to change something. This step is never skipped, even if your first message already gives everything.
  5. Create. The assistant creates the campaign as a draft, then each variant.
  6. Preview. You see each email as it will look. Ask for changes; the assistant edits the email and shows it again.
  7. Hand-over. You get the campaign's id and a link to open it in Rule.

Good to know ​

  • Email only. SMS and RCS campaigns are not supported in this workflow.
  • The audience is never guessed. If a tag or segment you name does not exist, the assistant says so and asks you to create it in Rule; it never picks a similar one.
  • No audience size. The workflow cannot tell you how many people the audience contains. Check this in Rule before sending.
  • New content only. Starting from an existing template is not supported in this workflow yet.
  • Variants share the subject and sender. All variants use the campaign's subject, preview text and sender, unless you ask for a variant to have its own.
  • Same tag or segment twice. If two variants use the same tag or segment, only the first can ever be sent, so Rule switches the second one off. The assistant tells you, and you can choose another tag or segment.
  • If something fails, the assistant tells you what was created and offers to retry only what is missing. It never creates the campaign twice.

Example ​

You: (start "Create-email-campaign")

Assistant: What should the campaign be called, and what subject and sender should the email have?

You: "Spring sale", subject "20% off everything this weekend", from Acme Store <news@acme.com>.

Tools it uses ​

list-brand-styles, list-tags, list-segments, create-campaign, create-dynamic-set, preview-email-template, get-email-template, update-email-template. See Campaigns and Email templates.