Skip to main content
n8n Flow

Human-in-the-Loop Gates

The approval gate every agent action routes through when it needs sign-off — it posts a card to chat, waits for a yes or no, and returns the decision.

A work in progress
We've published these resources in the hope they're useful — you're welcome to copy or use anything you find on this site. We're still working through each record to optimise it for completeness and accuracy, so some entries are fuller than others for now.

The full workflow as it runs in n8n. Drag to pan, zoom with the controls, and hover any step for what it does.

Drag to pan · zoom with the controls · hover a step for detail.

  1. When Executed by Another Workflow (trigger): Another workflow calls this gate to request approval. → Build Approval.
  2. OnWebhookTest (trigger): Test entry point for the gate. → Build Approval.
  3. Build Approval (action): Assembles the approval request. → Create Approval Record.
  4. Create Approval Record (action): Logs the pending approval in the database. → Get a prompt.
  5. Get a prompt (ai): Loads the summary prompt from prompt management. → Compile Prompt.
  6. Compile Prompt (action): Fills the prompt with the request details. → Generate Summary.
  7. Generate Summary (action): Asks the model to summarise what's being approved. → Save Summary.
  8. Save Summary (action): Stores the generated summary. → Send Chat Card.
  9. Send Chat Card (action): Posts an interactive approval card to the team chat. → Store Message Name.
  10. Store Message Name (action): Saves the chat message reference for later updates. → Wait for Decision.
  11. Wait for Decision (action): Pauses until a human approves or rejects. → Update Approval Record.
  12. Update Approval Record (action): Records the human's decision. → Patch Chat Card.
  13. Patch Chat Card (action): Updates the chat card to show the outcome. → Return Decision.
  14. Return Decision (action): Returns the decision to the calling workflow.

The approval interface is custom too

The gate isn't just the workflow — the whole approval experience around it was built in-house, not assembled from an off-the-shelf widget. The agent posts an interactive card to the team chat; a human opens a purpose-built approval page — on desktop or mobile — to read the full request and approve, reject, or send it back for revision; the chat card then updates in place with the recorded decision and any comment.

The approval experience

The same gate, end to end — from the chat notification to the decision page to the recorded outcome.

Ready to build technology that works for your mission?

Tell us where your organisation is and what's slowing your team down. We respond personally.

FAQ — Knowledge Base

Browse frequently asked questions about Knowledge Base

Request an Invitation to the MMP

Mission Multiplier cohorts form on a rolling basis. Request an invitation and we'll reach out when a cohort that fits you is coming together. No payment until you're invited and confirm your spot.