Workflows::Trigger
Update Trigger
Update an existing workflow trigger. All fields optional. An invalid event_type_key returns 422.
patch/workflows/triggers/{id}
Path parameters
idstring required
Request body
Example request
{
"workflows_trigger": {
"active": false
}
}Response
OK
Example response
{
"id": 11,
"public_id": "TrXxYy",
"workflow_id": 101,
"event_type_key": "$contact.tag_applied",
"event_type_name": "Contact tag applied",
"active": true,
"allow_anonymous_contacts": false,
"subscription_cancelation_reason": null,
"contacts_tag_id": 7001,
"funnel_id": null,
"page_id": null,
"product_id": null,
"cancellation_product_id": null,
"product_variant_id": null,
"cancellation_product_variant_id": null,
"subscription_variant_to_id": null,
"sales_pipelines_id": null,
"current_sales_pipelines_stage_id": null,
"appointments_calendar_id": null,
"appointments_event_type_id": null,
"course_id": null,
"courses_lesson_id": null,
"courses_section_id": null,
"community_id": null,
"communities_space_id": null,
"communities_space_group_id": null,
"emails_broadcasts_id": null,
"calendar_event_id": null,
"survey_workflow_id": null,
"workflows_step_id": null,
"created_at": "2025-06-01T00:00:00.000Z",
"updated_at": "2025-06-01T00:00:00.000Z"
}