Update campaign sequence
update_campaign_sequenceEdit one step of a campaign's email sequence (subject, body, delay), as the dashboard's email editor does; on a live campaign the change applies to every enrolled recipient's next unsent step. Follow-ups always reply in step 1's thread as Re: plus its subject, so subject is for step 1 only. Website copy must pass the check enrolment runs (no links, bare domains, stock phrases, unknown tokens or empty offer), else nothing is saved. Website copy personalises with tokens such as {{greeting}}, {{opener}}, {{tease_pitch}}, {{offer_pitch}} and {{signoff}}: get_campaign shows a campaign's templates and preview_campaign_step renders one for a site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The body template, with {{tokens}}. | |
| step | Yes | The step to edit, 1 for the opener. | |
| confirm | No | Set true after the user confirmed an action the guard flagged as hard to undo. | |
| subject | No | Step 1 only. | |
| delay_days | No | Days after step 1 this step is due (step 1 goes at enrolment). | |
| campaign_id | Yes | A campaign id from list_campaigns. |