Change a campaign draft
flow_update_campaign_draftChanges a campaign that is still a draft (ids from flow_list_campaigns): its name, message type, note, audience, delivery steps, send time or pacing. Fields left out stay as they are; groupIds, segmentIds and steps replace the whole list. A scheduled campaign, or an A/B test, changes in the portal only. Nothing changes if the campaign is saved while the call runs (stale). The answer gives its link and, with steps, preview: each step's message as a recipient sees it. steps is the delivery chain, first step first: each a channel, sender and live template of that sender, each channel once and SMS only last; a contact moves on to the next step when the step's message is not delivered (or not answered, moveOnWhen NO_ANSWER). sendAt and pacing are stored on the draft as the editor's Schedule and Pace sections save them, and need steps; the draft stays a draft and nothing is sent. The plan states them in the user's time zone.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "flow_update_campaign_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| note | No | ||
| steps | No | ||
| pacing | No | Sends in batches, as the editor's Pace section; null sends every message at once | |
| sendAt | No | When the campaign sends once it is scheduled: "now" (the moment it is scheduled), or an ISO date-time with its zone, e.g. 2026-12-03T09:00:00+01:00. Stored on the draft only; nothing is sent. | |
| brandId | No | The id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active. | |
| groupIds | No | From flow_list_groups | |
| timezone | No | The time zone the campaign is scheduled in, as the editor's time zone field. Left out, a new send time keeps the draft's zone, or takes the user's own (flow_whoami). Alone, it changes the zone of the draft's stored send time | |
| segmentIds | No | From flow_list_segments | |
| messageType | No |