object
WorkflowNode
Variants
Use type to choose one of `start`, `webhook`, `end`.
StartWorkflowNode
startRequired: `id`, `type`, `data`.
- Name
id- Type
- string
- Description
- Required property.
- Name
type- Type
- enum
- Description
- Required property. Allowed values: start.
- Name
data- Type
- StartNodeData
- Description
- Required property.
Example
start
{
"id": "string",
"type": "start",
"data": {
"triggerConfig": {
"type": "contact_created",
"conditions": {}
},
"entryMode": "once"
}
}WebhookWorkflowNode
webhookRequired: `id`, `type`, `data`.
- Name
id- Type
- string
- Description
- Required property.
- Name
type- Type
- enum
- Description
- Required property. Allowed values: webhook.
- Name
data- Type
- WebhookNodeData
- Description
- Required property.
Example
webhook
{
"id": "string",
"type": "webhook",
"data": {
"url": "https://example.com",
"eventType": "string",
"payload": {}
}
}GenericWorkflowNode
endRequired: `id`, `type`, `data`.
- Name
id- Type
- string
- Description
- Required property.
- Name
type- Type
- enum
- Description
- Required property. Allowed values: end, send_message, update_tags, wait, wait_until, promise, condition.
- Name
data- Type
- GenericNodeData
- Description
- Required property.
Example
end
{
"id": "string",
"type": "end",
"data": {}
}Related operations
- List journeysGET /journeys
- Create journeyPOST /journeys
- Get journeyGET /journeys/{id}
- Update journeyPATCH /journeys/{id}
- Publish journeyPOST /journeys/{id}/publish
- Activate journeyPOST /journeys/{id}/activate
- Pause journeyPOST /journeys/{id}/pause
- List journey versionsGET /journeys/{id}/versions
- Get journey versionGET /journeys/versions/{versionId}