v1

latestOpenAPI 3.1.02026-07-22115189303.8 KB
Workflow Triggers

Replace workflow triggers

Atomically replace the full set of triggers for a workflow. All existing triggers are deleted and the supplied set is created in a single transaction — if any trigger in the request is invalid, no changes are applied.

Use this when syncing trigger configuration from an external source of truth. For per-trigger CRUD, use POST/PATCH/DELETE instead.

put/workflows/{workflow_id}/triggers

Request body

Example request

{
  "triggers": [
    {
      "event_name": "conversation.csat_scored"
    }
  ]
}

Response

Triggers replaced successfully

Example response

{
  "data": [
    {
      "triggerable": {
        "event_name": "conversation.csat_scored",
        "property_key": "score"
      }
    }
  ]
}