Create Approval Workflow
create_approval_workflowCreate approval workflows with triggers based on contributors, folders, templates, or tags, and set approvers to run sequentially or concurrently.
Instructions
Create a new approval workflow. Trigger types: all_contributor, folder_path, template_id, tag. Mode: sequential or concurrent.
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": "<trigger>",
"mode": "<mode>"
},
"name": "create_approval_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | required,sequential or concurrent | |
| name | Yes | required,Workflow name | |
| trigger | Yes | required,Trigger type: all_contributor | folder_path | template_id | tag | |
| approvers | No | Ordered list of approvers | |
| description | No | Optional description | |
| trigger_value | No | Value for the trigger (e.g. folder path or template ID) |