API ReferenceWorkflow templates
Path Parameters
routerId*string
Format
uuidworkflowTemplateId*string
Format
uuidRequest Body
application/json
Upsert workflow template chat settings payload
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "http://localhost:8000/api/routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/workflow-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/chat-settings" \ -H "Content-Type: application/json" \ -d '[ { "participants": [ { "type": "ROUTER" } ], "trigger": { "triggerType": "ORDER_CREATED" } } ]'[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"canClientInitiate": true,
"participants": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "ROUTER"
}
],
"trigger": {
"triggerType": "ORDER_CREATED"
}
}
]