11 · Advanced
Waits for a Slack approval, then continues with the outbound request.
Webhook
Slack
Wait
HTTP Request
n8n canvas preview
Wait Approval Resume
Canvas via n8n-demo · import JSON into n8n.io → Workflows → Import from File
Writeup
POST /approve-start → Slack #approvals → Wait (resume: webhook) → POST foobar.thenionic.com with approved=true.
Step by step — how to build it
01
Add Webhook
POST, Path approve-start, Respond When Last Node Finishes.
02
Add Slack ask
Webhook → Slack → channel approvals → text Approve this outbound POST? (later paste the Wait resume URL here).
03
Add Wait
Slack → Wait. Resume: On Webhook (resume: webhook). This pauses the run.
04
Add HTTP Request after Wait
Wait → HTTP Request → Method POST → URL https://foobar.thenionic.com/ → body approved=true.
05
Run until Wait
Activate → POST to approve-start → #approvals pings → execution shows Waiting.
06
Resume then continue
Open the waiting execution → copy Wait resume URL → open/POST it → HTTP Request fires with approved=true.
How it functions
1 · Webhook
POST path approve-start, responseMode lastNode.
2 · Ask Slack
Channel approvals: “Approve this outbound POST?”
3 · Wait
resume set to webhook — execution pauses until the Wait resume URL is called.
4 · POST Continue
HTTP POST https://foobar.thenionic.com/ with body approved=true after resume.
Setup notes
Import & open Wait
Confirm Wait → resume = webhook. Copy the resume URL n8n shows when the run is waiting.
Human path
Put the resume URL in the Slack message (or a button/link). Approver hits it to continue.
Secure resume
Treat resume URLs as secrets; add a token you validate before POST Continue in production.
Test end-to-end
POST …/webhook/approve-start → see #approvals → call Wait resume → confirm foobar POST.
Tips
This template’s Slack text is static — wire the resume URL into the message or the Wait will hang.
Set a Wait timeout in options so abandoned approvals don’t block forever.
Import into n8n.io → Workflows → Import from File, attach credentials, activate.