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_stepEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_add_sequence_step.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | — |
sequenceId | string | Required | — |
delay_days | integer | Optional | Days to wait after the previous email (default 1) |
subject | string | Required | Email subject |
markdown | string | Required | Email body in Markdown |
Returns
step.idstring- The step id.
step.positionnumber- Where the email sits in the order.
step.delayDaysnumber- Days waited after the previous email.
step.subjectstring- The email subject.
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. |
Related
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.