Workflow
idstringrequired
Example:
wf_abc123namestringrequired
descriptionstring
statusstring
Possible values: [active, inactive, draft]
trigger_typestringrequired
Example:
message_receivedtrigger_conditionsobject
actions object[]
Array [
typestring
parametersobject
]
enabledboolean
executions_countinteger
last_executedstring<date-time>nullable
created_atstring<date-time>
updated_atstring<date-time>
Workflow
{
"id": "wf_abc123",
"name": "string",
"description": "string",
"status": "active",
"trigger_type": "message_received",
"trigger_conditions": {},
"actions": [
{
"type": "string",
"parameters": {}
}
],
"enabled": true,
"executions_count": 0,
"last_executed": "2024-07-29T15:51:28.071Z",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}