EzFlowEzFlow Docs
Node referenceSlack

SLACK_APPROVAL

SLACK_APPROVAL node.

What it does

SLACK_APPROVAL node.

Inputs & outputs

Input handle
None
Output handle
None

Configuration

No configuration.

Example

How it works

SLACK_APPROVAL posts a Block Kit message with Approve and Reject buttons to a Slack channel, then pauses the Workflow until someone in the channel clicks one of them. Configure workspaceId, channel, and messageTemplate in the node settings — the template supports {{variable}} placeholders that are resolved from the upstream execution context. Set timeoutMinutes to cap how long the Workflow waits (default: 60 minutes). When an approver clicks a button, the Workflow resumes and outputs approved (boolean), approvedBy (Slack user id), approvedAt (ISO timestamp), approvalId, and status ("approved" or "rejected").

Example

A new expense report arrives via HTTP_TRIGGER with amount and submittedBy in the body. Chain SLACK_APPROVAL with messageTemplate"New expense of {{amount}} submitted by {{submittedBy}} — please review." and channel#finance-approvals. The Workflow pauses while the finance team reviews. If the approver clicks Approve, the approved: true branch flows into a SEND_MAIL node that sends the reimbursement confirmation; the false branch sends a SEND_SLACK message notifying the submitter of the rejection.

On this page