Approval
An Approval step creates a task for a role and waits for a decision. The workflow continues on approved, rejected or timeout. You can ask for more than one approver, stop the person who started the run from approving it, require a reason for a rejection, send a reminder and escalate before the SLA ends, and collect form answers with the decision.
When to use it
Section titled “When to use it”- An underwriter signs off a life insurance policy above a set cover.
- A credit officer approves a loan that the rules referred for review.
- Two managers must agree before a large refund is paid.
When not to use it
Section titled “When not to use it”- Someone must do work, such as checking a document, rather than approve or reject. Use Human task.
- A team must resolve a problem case. Use Escalation.
- Only one tool call needs sign-off. Turn on Needs approval before running in the MCP tool step.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Approver role | Required. The role whose members can decide. |
| Instructions | What the approver should check. Use {{ expression }} to include run data. |
| SLA | Default: 48h. When it passes without a decision, the timeout branch is taken. Empty waits with no limit. |
| Approvals needed | 1 to 5. Default: 1. Different people must approve. One rejection rejects. |
| The person who started the run cannot approve | Default: on. |
| A rejection needs a reason | Default: on. |
| Approvers may pass it to another role | Default: off. |
| Remind before the SLA | A reminder goes to the role this long before the SLA ends. |
| Then escalate to role | When a reminder is set. Moves the task to this role at the reminder. |
| Form | Fields the approver fills in. Their answers are part of this step’s result. Required fields must be filled unless the approver rejects. |
| Store result as | Also saves the result under data.<name>. |
What it produces
Section titled “What it produces”- The
approved,rejectedortimeoutbranch. steps.<step id>anddata.<name>when stored, after a decision:outcome,note(the approver’s comment),by(the approver’s name) and each form answer. Nothing is stored on a timeout.
Approvers find their tasks in the console’s task inbox.
Example
Section titled “Example”An insurer refers high-cover proposals to an underwriter.
API / webhook → Condition (input.cover > 10000000) true → Approval (underwriter, SLA 48h, remind 8h before, escalate to senior underwriter) approved → Send message (policy issued) → End rejected → Send message (regret) → End timeout → Escalation (underwriting desk) → End false → Send message (policy issued) → EndResult after approval:
{ "outcome": "approved", "note": "Medicals clear", "by": "A. Rao", "loading": 10 }