trigger_set
Set a supported launch method on an inactive workflow copy. For schedule, edit its existing cron trigger with a five-part expression and timezone. For webhook, use an existing webhook trigger and return its URL. For manual, remove trigger nodes first. ERP events return not available. Set the trigger before saving and testing the first version. A clean real test activates it.
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": {
"workflowId": "<workflowId>",
"kind": "<kind>",
"expectedVersion": "<expectedVersion>"
},
"name": "trigger_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| timezone | No | ||
| workflowId | Yes | ||
| cronExpression | No | ||
| expectedVersion | Yes |