Skip to content
Visual explainer 3h to learn 5 steps

Human review of draft bookings with n8n Wait and callbacks

Pause a workflow for review of a draft booking and handle rejection, late approval, duplicate callbacks and edited drafts correctly.

By Invicly Tech, , in n8n, AI Automation and Voice Agents. About 7 minutes to read.

Topic 18 of 43

In short

A workflow can pause and wait for a person. In n8n the Wait node holds the execution until a webhook call, a form, or a time passes. The reviewer's answer comes back through a callback you must authenticate, and your workflow has to handle rejection, edits, late and duplicate answers.

Think of it like this: It is like leaving a note for a manager and going home. The note carries a numbered ticket, so only the right reply continues the job.

Explained simply

Sometimes a workflow should stop and ask a person before doing something. In n8n the Wait node does this. The run pauses, n8n saves it, and it carries on later when a condition is met, such as a time passing or a webhook being called.

To let a reviewer answer, you send them a message with a link or button. That link is a callback: a request that goes back into your workflow. The Wait node can generate a resume address that belongs to that one paused run. Only the right reply can continue the right run.

Real life is messier than one click. A reviewer might reject the draft, change the time, answer after the proposal expired, or click Approve twice. Your workflow must treat each case on purpose, not by accident.

Finally, keep a record. Store who decided, what they decided and when. If someone later asks why a booking exists, you can show the decision.

Press Play on a diagram to walk through it one step at a time.

SequencePause and resume
Workflow
Reviewer
Proposals table
  1. 1Save proposal as proposed
    Workflow to Proposals table: Save proposal as proposed
  2. 2Send draft with resume link
    Workflow to Reviewer: Send draft with resume link
  3. 3Wait node pauses
    Workflow to Workflow: Wait node pauses
  4. 4Callback: approve or reject
    Reviewer to Workflow: Callback: approve or reject
  5. 5Check state and version, then record decision
    Workflow to Proposals table: Check state and version, then record decision
FlowTimeline of a review with a timeout
  1. 1
    Proposal saved

    State proposed, expires in 2 hours

  2. 2
    Message sent

    Includes the callback link

  3. 3
    Wait node

    Paused with a time limit

  4. 4
    Decision or timeout

    Approve, reject or expire

  5. 5
    Audit record

    Who, what, when

In depth

Pausing with the Wait node

The Wait node can resume after a time interval, at a set time, when a webhook is called, or when a form is submitted. For reviews, the webhook option fits: n8n provides a resume URL for the execution, available in the workflow as $execution.resumeUrl. Put that URL in the message to the reviewer. While waiting, the execution is stored and does not hold a worker busy. Set a time limit so a forgotten review does not wait forever, and handle the timeout path by marking the proposal expired. Some app nodes also offer a send and wait for response action that sends a message and waits for the answer.

  • Resume on webhook, form, interval or time
  • Use $execution.resumeUrl in the message
  • Always set a time limit
  • Timeout means expired

Authenticate the callback

A resume link is a secret. Anyone holding it could answer. Reduce the risk in layers: keep the link out of logs and public places, use the authentication options the webhook offers, and also check the decider's identity inside your workflow. A common design has the reviewer open a page in your own app where they are logged in, and that page calls n8n with a signed token containing the proposal id, version and user. The workflow verifies the signature and checks the user's rights before recording a decision.

  • Treat the resume URL as a secret
  • Use webhook authentication
  • Verify a signed token with id, version and user
  • Check the user's rights

Edge cases to test

Rejection: record it, tell the caller or staff, and write nothing downstream. Edit: create a new version, invalidate the old approval, and ask again. Late approval: the proposal is expired, so refuse and say why. Duplicate callback: the state is already approved, so return the same answer without doing anything twice. Test every one of these with fixtures, because the happy path will always work.

  • Reject: record, notify, stop
  • Edit: new version, new review
  • Late: refuse with a clear reason
  • Duplicate: same answer, no second action
MapWhat a callback can be and what you do
Incoming callback
  • Valid approve
    • Update state with guard
    • Continue to apply
  • Reject
    • Record decision
    • Notify and stop
  • Stale or duplicate
    • Return current state
    • Do nothing else
  • Unauthenticated
    • Reject request
    • Log the attempt

Learn it in 5 short steps

About 35m each. Track them with a timer in your plan.

  1. 1
    Pause with the Wait node~35m
  2. 2
    Resume through an authenticated callback~35m
  3. 3
    Handle rejection and edits~35m
  4. 4
    Ignore late or duplicate callbacks~35m
  5. 5
    Record who decided and when~35m

Key points

  • The Wait node can resume on a webhook call. The resume URL is unique to that execution.
  • Protect the callback with authentication and check who decided.
  • Ignore a callback if the proposal is no longer in the proposed state or the version differs.
  • Record who decided and when, even for rejections.

Key terms

Tap a card to flip it. 0/5 known

Examples

Two clicks on Approve

A reviewer double-clicks. The first call updates the proposal to approved and the workflow continues. The second call finds the state is already approved and the guarded update returns no row. The workflow answers already decided and does nothing more, so only one booking is made later.

Recording the decision

A short query stores the audit data together with the state change.

sql
WITH upd AS (
  UPDATE proposals SET state = $4
  WHERE id = $1 AND version = $2 AND state = 'proposed' AND expires_at > now()
  RETURNING id
)
INSERT INTO decisions (proposal_id, decided_by, decision, decided_at)
SELECT id, $3, $4, now() FROM upd;

Quick reference

  • Wait node resumes on webhook, form, interval or time
  • $execution.resumeUrl is the per-run resume address
  • Always set a wait time limit and handle the timeout
  • Resume links are secrets: authenticate and verify the user
  • Duplicate or late callback: no second action
  • Store who decided, what and when

Common mistakes

  • Leaving the resume link open so anyone can approve.
  • Treating a second click on Approve as a second approval.
  • Applying the original draft after the reviewer edited it.

Quick quiz

Pick an answer to see if you're right and why.

Question 1

1What does a Wait node do?

Question 2

2A reviewer clicks Approve twice. What is right?

Question 3

3A reviewer edits the draft. What follows?

Question 4

4Why record the decider?

0/4 answered

Practice exercises

Try each one yourself first. Use the hint if you get stuck, then compare with the solution.

  1. Exercise 1easy

    Write the four callback cases you must test and the expected result of each.

  2. Exercise 2medium

    Build Webhook, Wait (resume on webhook, 10 minute limit) and a Set node. Call the resume URL with curl.

  3. Exercise 3hard

    Add the guarded UPDATE and test duplicate, late and edited callbacks with fixtures.

Check yourself

Answer in your head, reveal, then be honest with yourself.

Feel confident about this topic?

Frequently asked questions

Does a waiting execution use a lot of resources?
No. n8n saves the state and does not keep it running while it waits.
Can I use Slack or email for the approval?
Yes. Several app nodes have a send and wait for response action, or you can send a link to your own callback.
Is the Wait node enough for security?
No. Add authentication on the callback and verify who decided inside the workflow.

Go deeper

ShareXLinkedInWhatsApp