Publication keyGenerated from lib/mcp.ts
dispatch_update_sequence
Renames a sequence, changes when it triggers, or sets it to draft, active, or paused.
Update a sequence: rename it, change its trigger, or set status to 'active' (starts enrolling and sending), 'paused' (stops sending, enrollments wait), or 'draft'. Activating requires at least one step.
- Use it when: To launch a finished sequence, pause one that needs fixing, or change it to auto-enrol new subscribers.
- Don't use it when: Do not use it to add an email. That is dispatch_add_sequence_step.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_update_sequenceEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_update_sequence.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | — |
sequenceId | string | Required | — |
name | string | Optional | New name |
description | string | Optional | New description |
trigger | string | Optional | 'on_subscribe' or 'manual' |
status | string | Optional | 'draft', 'active', or 'paused' |
Returns
sequence.idstring- The sequence id.
sequence.statusstring- 'draft', 'active', or 'paused' after the change.
sequence.stepsnumber- How many emails the sequence has.
Errors
| Error | When it happens | Fix |
|---|---|---|
Not authorized for this publication | The key belongs to a different publication. | Use the publication key shown on that publication's Overview page, or the master key. |
Sequence not found | The sequenceId does not belong to this publication. | List the publication's sequences to get the right id. |
Activating requires at least one step | An empty sequence was set to active. | Add at least one step first with dispatch_add_sequence_step. |
Related
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.