trigger_flow
Run a Directus flow now with an optional trigger payload and return its last output; inspect the flow first because side effects can modify data, send email, or call external services.
Instructions
Runs one flow now and returns whatever its last operation produced. The side effects are whatever the flow does, which can mean writing items, sending mail or calling external services, so treat it as destructive unless the flow is known to be read-only. Flows with a manual trigger accept this reliably; others may refuse it or ignore the payload. data becomes the trigger payload and must match what the flow expects. Read the flow with get_flow before running 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": {
"id": "<id>"
},
"name": "trigger_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Flow ID | |
| data | No | Data to pass to the flow |