Test a Trigger on the last 7 days
try_flow_triggerAnswers who a Trigger would have started for over the last 7 days, and who it would have skipped and why, as the Automations editor's "Try it on the last 7 days" does. READ ONLY: nothing is sent, created or started. It runs the flow's saved Starts when and Only if rules, so it works on a draft too; flow_id comes from read('flows'). It answers only for a Trigger flow (one whose starts_when is a job event, e.g. New job booked); a flow that starts some other way is refused with the reason. Call it before turning a flow on (set_flow_on), and quote the started and skipped rows to your person so they decide. Pass the same idempotency_key when retrying; a repeat returns the same answer.
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": {
"flow_id": "<flow_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "try_flow_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |