Create sequence
create_sequenceCreate an empty draft sequence. Nothing sends until it has steps, a From address and is activated. Returns the sequence. Errors: invalid_name, invalid_trigger (use manual, tag:, list: or event:). Next: set_sequence_steps, then activate_sequence. install_starter_sequence is faster for common flows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"trigger": "<trigger>"
},
"name": "create_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | The From address, such as "Acme <hello@acme.com>", on a verified domain. Needed before activating a sequence that sends email. | |
| name | Yes | Sequence name, 1 to 120 characters, such as "Welcome". | |
| trigger | Yes | What enrols a contact: "manual", "tag:<tag>", "list:<list id>" or "event:<event name>". | |
| goal_event | No | Contacts who track this event leave the sequence, such as "upgraded". |