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_sequence

Endpoint

POST https://dispatch.nshipyard.com/api/mcp

Call it with method tools/call and name dispatch_update_sequence.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
sequenceIdstringRequired—
namestringOptionalNew name
descriptionstringOptionalNew description
triggerstringOptional'on_subscribe' or 'manual'
statusstringOptional'draft', 'active', or 'paused'

Returns

sequence.id string
The sequence id.
sequence.status string
'draft', 'active', or 'paused' after the change.
sequence.steps number
How many emails the sequence has.

Errors

ErrorWhen it happensFix
Not authorized for this publicationThe key belongs to a different publication.Use the publication key shown on that publication's Overview page, or the master key.
Sequence not foundThe sequenceId does not belong to this publication.List the publication's sequences to get the right id.
Activating requires at least one stepAn 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.

All tools