Update workflow
plunk_update_workflowModify a workflow's name, trigger type, or enabled state to control when it runs and whether contacts enter it.
Instructions
Purpose: Change a workflow's name, trigger or enabled state.
Not for: Changing what the workflow does — that is plunk_update_workflow_step and the transition tools.
Returns: The updated workflow.
Use when: Enabling or disabling an automation, or changing what sets it off.
Note: Enabling a workflow makes it live: matching contacts begin entering it, and steps that send mail will send.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "plunk_update_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| enabled | No | ||
| description | No | ||
| triggerType | No | EVENT: triggered by track_event. MANUAL: started via plunk_start_workflow_execution. SCHEDULE: runs on a cron schedule. | |
| allowReentry | No | ||
| triggerConfig | No |