Publication keyGenerated from lib/mcp.ts

dispatch_add_sequence_step

Adds one more email to the end of a drip sequence.

Append an email to a drip sequence. delay_days controls the wait after the previous email (use 1 for one email per day).

  • Use it when: To extend a course or add a follow-up email.
  • Don't use it when: Do not use it to change an existing step. Edit the step in the dashboard sequence builder.

Link and endpoint

Page link

https://dispatch.nshipyard.com/support/mcp/dispatch_add_sequence_step

Endpoint

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

Call it with method tools/call and name dispatch_add_sequence_step.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
sequenceIdstringRequired—
delay_daysintegerOptionalDays to wait after the previous email (default 1)
subjectstringRequiredEmail subject
markdownstringRequiredEmail body in Markdown

Returns

step.id string
The step id.
step.position number
Where the email sits in the order.
step.delayDays number
Days waited after the previous email.
step.subject string
The email subject.

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.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools