# AI personalisation

In **Prompt** mode an email step does not send one fixed email: an AI model writes a fresh
email for each contact when they reach the step, from your instruction and their data.
WhatsApp steps have the same, as **AI prompt**. You use your own AI keys.

## Where to find it

- An email step → **Prompt**; a WhatsApp step → **AI prompt**.
- Your AI keys: **Zocton Dashboard → AI**. Sidebar → **AI Settings** → **Manage AI keys**
  opens it.

## Before you start

- An AI key added on the Zocton Dashboard → AI, with the models you want switched on.
  Without one the step says "No AI model is available — add a key on the Zocton
  Dashboard → AI".

## Write with AI

1. Open the email step and choose **Prompt**.
2. Pick a **Model**.
3. Write the prompt: what the email should say. Optionally pick **Start from a prompt
   template** or a **Preset tone…**, and add a **System prompt (optional)**.
4. Under **Contact data sent to AI**, choose which fields the model sees, or **All fields**.
5. For the subject, choose **Type a fixed subject**, or **Let AI write the subject (with
   the body)** and give an instruction.
6. Choose **On fail**: **Mark as failed**, or **Fallback to template** (the step's
   Template email).
7. Pick a contact and click **Refresh** to see a sample.

![Screenshot coming soon: an email step in Prompt mode with model, prompt, contact data and preview](/screenshots/coming-soon.svg)

## Options

| Option | What it does |
|---|---|
| **Model** | The models switched on for your account or project on the Zocton Dashboard |
| Prompt templates | **Your templates** and **Built-in** ones; **Manage templates…** saves your own |
| **Contact data sent to AI** | The contact fields the model sees; send only what it needs |
| **Email personalization** | On **AI Settings**: guidance added to every generation — an account default (**Save default**), and a per-project override (**Save override**) |

## Good to know

- The preview is a sample. A new email is written for each contact when they reach the
  step, so each one differs.
- Earlier steps can be quoted in the prompt with merge tags like `{{step.prev.sentBody}}` —
  see [Merge tags](/email/merge-tags).
- If the AI adds its own sign-off and you include the signature, say "no signature" in
  the prompt.
- AI usage is recorded on the Zocton Dashboard → AI, per app, with tokens in and out.
- What the AI provider charges you is between you and the provider.

## Related

- [Email step](/steps/email-step) · [WhatsApp step](/steps/whatsapp-step)
- [Research before writing: the inputs that make AI personalisation work](https://turboworkflow.com/blog/research-before-writing-ai-personalisation)

<section aria-labelledby="faq" class="faq">

## FAQ

<details>
<summary>Whose AI key is used?</summary>

Your own, added on the Zocton Dashboard → AI. You pay your AI provider directly.

</details>
<details>
<summary>Does every contact get the same AI email?</summary>

No. A fresh email is written for each contact when they reach the step; the preview is only a sample.

</details>
<details>
<summary>What happens if the AI fails?</summary>

You choose under **On fail**: mark the contact as failed, or fall back to the step's Template email.

</details>

</section>
