flow.completed
An automation finished.
Fires when a flow run ends as completed: it reached its end, handed over to the team, the customer typed an exit word, or the assistant took over an answer the flow could not use. run.endReason says which; run.variables holds what it collected.
Does not fire for runs that were cancelled, skipped or timed out — those are not announced.
Header Parameters
t=<unix seconds>,v1=<hex HMAC-SHA256 of "{t}.{body}">, with a second v1 while a rotated secret still signs. Verify it before trusting the body.
The event's type, so a receiver can route before parsing.
This delivery's id. A resend of the same event keeps the envelope id and gets a new delivery id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Every event arrives in this envelope. Fields are only ever added, and a field that can be empty is sent as null rather than left out. Deduplicate on id: a delivery can arrive more than once.
Response Body
Example Requests
/flow.completed