create_automation_workflow
Create event-driven automation workflows with condition gates, compute/switch logic, and webhook/notification/ingest actions. Automatically prepends sampling gate and completes eval config.
Instructions
Create an event-driven Automation workflow.
This tool fixes type to "automations" and automatically prepends the dashboard-compatible {id: "auto-sampling", type: "sampling"} gate. Provide the business tasks that follow it. Use condition/throttle gates, aggregation/compute/switch logic, and webhook/notification/eval/ingest actions. For eval tasks, provide evaluator_id; the tool reads that evaluator and supplies the backend-required generation_method and method-specific configuration automatically.
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": {
"name": "<name>",
"trigger_event_type": "<trigger_event_type>",
"tasks": "<tasks>"
},
"name": "create_automation_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Automation name. | |
| tasks | Yes | Business tasks after the automatic sampling gate. The backend auto-chains array order when next is omitted; set next for explicit routing. | |
| is_starred | No | ||
| description | No | Human-readable purpose. | |
| sampling_rate | No | Fraction of events allowed through; defaults to 1 (100%). | |
| trigger_event_type | Yes | Event that starts the automation. |