Publication keyGenerated from lib/mcp.ts
dispatch_create_sequence
Creates a drip sequence: a set of emails that go out one by one to each subscriber, on their own schedule. Perfect for a welcome course.
Create a drip email sequence: ordered emails sent to each subscriber on a schedule (e.g. one per day). Perfect for email courses, onboarding series, or nurture campaigns. Created as a draft; activate with dispatch_update_sequence. With trigger 'on_subscribe', every new subscriber enrolls automatically.
- Use it when: For onboarding series, email courses, or nurture campaigns.
- Don't use it when: Do not use it for a one-off newsletter. That is an issue, not a sequence.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_create_sequenceEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_create_sequence.
Parameters
| Name | Type | Required | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
publicationId | string | Required | — | ||||||||||||
name | string | Required | Sequence name, e.g. '5-day email course' | ||||||||||||
description | string | Optional | What this sequence is for | ||||||||||||
trigger | string | Optional | 'on_subscribe' to auto-enroll new subscribers, or 'manual' (default) | ||||||||||||
steps | array | Optional | Ordered emails. delay_days = days to wait after the previous email (step 1: after enrollment); use 1 for one email per day. | ||||||||||||
| |||||||||||||||
Returns
sequence.idstring- The sequence id.
sequence.statusstring- 'draft' when created. Activate it separately.
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. |
Publication not found | The publicationId does not exist. | List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>. |
Related
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.