Create a workflow trigger
Workflow Triggers
Create a workflow trigger
Create a trigger that fires when the source workflow emits an event. The target must share the source ownership scope (same team for team workflows, or the same user for personal workflows) and must not be a realtime workflow. Superadmins are subject to the same scope check on the public endpoint.
POST
Create a workflow trigger
Authorizations
API key for authentication
Path Parameters
ID of the source workflow
Body
application/json
ID of the workflow to trigger
Event type that triggers the target workflow
Available options:
workflow_started, workflow_finished, workflow_export_completed, workflow_failed, workflow_recovered, workflow_sample_finished, workflow_data_change, workflow_validation_anomaly_change, workflow_health_degraded Whether the trigger is enabled
Response
Trigger created successfully