Flow control
control.approvalWait for approval
Pause a workflow and let a person choose the next path.
When to use it
Use it before sensitive, expensive, or irreversible actions.
Configuration
| Field | Type | What it controls |
|---|---|---|
| Channel / approvers | email | slack / string | Delivery channel and comma- or space-separated recipients. |
| Message | string | Context shown to approvers; references are supported. |
| Options | array | Button key/label pairs. Each key becomes an output handle. |
| Timeout | duration | Optional maximum wait. |
| On timeout | reject | approve | fail | Safe default: reject. |
* Required
Output
After resume, the decision is available on the node output and the matching option handle continues.
Example
Email a manager Approve and Reject links before an explicit payment action.
Good to know
- Approvers can decide from the signed link without opening the dashboard.
- Email notifications are available now. Selecting Slack records the pending approval, but Slack delivery is not available yet.
- Keep write actions after the approval node.
