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.
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) |