Workflow Triggers
Create workflow trigger
Create a new trigger for a workflow. Triggers define when the workflow should automatically execute.
Trigger types:
inbound_message: Workflow starts when WhatsApp messages arrive at specified phone number (requires phone_number_id)api_call: Workflow starts only via POST /workflows//executions (no phone_number_id needed)
After creating a trigger:
- For inbound_message: Messages to the phone_number_id will start workflow executions
- For api_call: Workflow can only be started via API endpoint
Note: A workflow can have multiple triggers (e.g., multiple phone numbers, or both inbound_message and api_call).
POST
Create workflow trigger
Authorizations
Path Parameters
Workflow identifier
Body
application/json
Request to create a new workflow trigger
Response
Trigger created successfully
Single workflow trigger response
Workflow trigger defining when and how a workflow execution should start
Previous
Delete workflow triggerPermanently delete a workflow trigger. This will stop the workflow from executing automatically based on this trigger.
After deletion:
- For inbound_message triggers: Messages to the phone_number_id will no longer start this workflow
- For api_call triggers: The workflow can still be started manually via POST /workflows/{id}/executions
This operation cannot be undone. If you need to temporarily disable a trigger, use PATCH to set active=false instead.
Next
Create workflow trigger

