Write emails with AI from the offer profile
write_sequenceWrite emails with AI from the offer profile. Drafts a whole sequence (mode sequence) or a new version of one variant (rewrite, shorter, angle), using only facts from the workspace's offer profile and lead fields. Results are saved as new variants and never overwrite existing text; an empty campaign gets the drafted steps. Each email is checked against the content checklist; anything still failing comes back in problems. Requires that the workspace's offer profile is configured in Ballast settings (or updated via update_offer_profile).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mode | No | sequence = draft every step; rewrite, shorter, angle = a new version of one variant | sequence |
| angle | No | Optional angle or notes, e.g. 'lead with the cost of manual payroll' | |
| steps | No | sequence mode: how many emails | |
| persona | No | Optional target persona, e.g. 'operations managers at restaurant groups' | |
| variantId | No | rewrite, shorter, angle: the variant to start from (required) |