Invoke a workflow
Requires a deployed workflow and a paid plan with allowance left.
# JSON workflowbanh invoke support_triage --input examples/inputs/support-ticket.json --json# Text workflow (input: { type: text })banh invoke urgent_routing --text "Our checkout is down" --jsonEach call runs the active version and returns the first matching rule. Check the actual status, output and decisions. One completed run uses one unit of allowance, however many decisions it asks.
From an app, use an invocation key with the HTTP API.
A lost response doesn’t mean the run failed. Check run history before retrying; every retry is a separate run.