Docs
Sign in

Approval

Approval pauses the workflow until a person reviews it and approves or rejects it.

Screenshot to add: The Approval settings panel with prompt, assignees, timeouts and the two toggles.

When to use it

Use it as a "human review gate" (the palette description) before something important happens, such as paying an invoice or messaging a customer.

Settings

FieldWhat it doesNotes
Approval promptThe message the approver seesHint "Jinja2 template shown to approver". A new node starts with "Please review and approve:" followed by the input data
AssigneesWho can approveHint "Comma-separated: email@co.com, role:ops-team". Placeholder admin@company.com, role:operators
Timeout (hours)How long to waitDefault 24. Range 1 to 720
Escalate after (hours)When to escalateDefault 48. Range 1 to 720
Escalation assigneesWho gets it on escalationPlaceholder manager@company.com
Allow rejectionLets the approver rejectOn by default
Require commentThe approver must write a commentOff by default

Inputs and outputs

  • Input: one connection at the top.
  • Outputs: two, labelled on the canvas.
    • approved (green, right side) continues when the approver approves.
    • rejected (red, left side) continues when the approver rejects. It only appears when Allow rejection is on.

The card shows the assignees and "Timeout: Nh".

Example

Illustrative. Put an Approval node before a payment step. Connect approved to the payment, and rejected to a node that tells the requester no.

Tips

  • Turn on Require comment if you need a reason on record.
  • Turning Allow rejection off removes the rejected output, so only the approved path is available.
  • The code shows the timeout and escalation settings above, but not what exactly happens when time runs out.
  • Multi Approval is a separate node (palette description "Multi-party approval") for more than one approver. Its settings are Approvers, Min approvals required (default 1), Timeout (hours) (default 72), Prompt template and Output key. It is not in the core node list in this section.