Campaigns

Add Sequence Step

Adds a step to the campaign's draft sequence and returns it. Appends to the end by default; pass after (a node_id) to insert after a specific step.

type is a catalog id from List Sequence Step Types. config is merged over that type's default_config — required fields must end up set (a send step needs subject and body).

Wait steps between steps are managed automatically and cannot be added directly; patch a wait step's config to change a delay.

This writes the draft. Call Publish Sequence to make it live.

Concurrent writes are safe — overlapping calls to one campaign serialize, and every change is kept. A sequence builder open in the browser saves its own copy of the whole graph, so an edit made through the API while that canvas is open is overwritten by the next canvas save.

post/api/v1/campaigns/{campaign_id}/sequence/nodes

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Path parameters

campaign_idstring required

Campaign ID

Request body

type'send' | 'manual_email' | 'manual_task' | 'phone_call_task' | 'linkedin_message_task' required

Step type — a catalog id from List Sequence Step Types

afterstring

Insert immediately after this node_id. Omit to append to the end of the sequence.

configobject

Step configuration, merged over the type's default_config

namestring

Custom display name for this step

Response

Default Response

statusinteger
messagestring

Example response

{
  "data": {
    "node_id": "send-m2k9x1p-0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.