Edit copy on existing steps
sequence_updatePatch fields on already-materialised sequence steps — the surgical way to fix a typo or swap copy on a campaign that is ALREADY RUNNING (ACTIVE or PAUSED), without re-saving the whole graph and re-evaluating every lead. Leads keep their position and their scheduled actions. Pass the step _id from sequence_list FOR THIS CAMPAIGN, plus only the fields to change — anything omitted is left alone. An id from another campaign is refused. Copy fields: message, subject, note (the connection-request note), shortNote, and the A/B variants bMessage, bSubject, bNote, bShortNote. Read the step back from sequence_list first to see which of those it actually has — an EMAIL step has subject, a CONNECT step has note, and only a step with abTestingEnabled uses the b* pair. TWO EDITS ARE NOT SURGICAL AND ARE EASY TO MAKE BY ACCIDENT. Sending days or calendarType RESCHEDULES every pending activity on that step — each waiting lead is pushed to that many days from now, which moves real send times; neither field is returned by sequence_list, so do not pass them unless the user asked to change the wait. And connectWithoutMessage: true silently CLEARS that step's note, so the connection request goes out with no text. To add, remove or reorder steps, rewrite the sequence with flow_set. Do NOT use this on a DRAFTED campaign: launching rebuilds every step from the saved flow graph, which this tool does not touch, so the edit is silently reverted to the original copy the moment the campaign launches. Check status with campaign_get first. To change a draft's copy, call flow_set again with the corrected steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequences | Yes | The step patches to apply. | |
| campaignId | Yes | Campaign id, from `campaign_list` or `campaign_create`. |