Prompt pack · Solo business

n8n with AI Agents: the Approve pattern and a ten-check workflow scan (free sample)

by PaperChaseWebb

From n8n with AI Agents: the three-node Approve pattern that stops an n8n workflow sending anything until you click, five rules for agents that draft workflows, and a read-only script that runs ten checks on any workflow export, from open webhooks and keys in the file to sends with no Approve step.

Preview card for n8n with AI Agents
Works withClaude CodeCodexGrok BotHermesPlain .md plus one Python 3 script, standard library only, read-only. The rules paste into AGENTS.md, CLAUDE.md, Hermes's AGENTS.md or a Grok Bot's standing instructions. Tested on Linux on n8n 2 workflow files
Price
Free
Difficulty
Beginner
Setup
5 min
Format
.md file
Free sample

n8n-with-ai-agents-approve-pattern-workflow-scan-free-sample.md · 8 KB · direct download, no signup

Download free

What you end up with

You know which of your n8n workflows can email or post without asking you, and how to put an Approve click in front of them.

What you get

  • The three-node Approve pattern for n8n 2
  • Five rules for agents that draft workflows
  • n8n_mini.py: ten read-only checks for one workflow export

Who it is for

Anyone who wants a quick check of an n8n workflow before switching it on.

Works with

Claude CodeCodexGrok BotHermesPlain .md plus one Python 3 script, standard library only, read-only. The rules paste into AGENTS.md, CLAUDE.md, Hermes's AGENTS.md or a Grok Bot's standing instructions. Tested on Linux on n8n 2 workflow files

Solid chips: the agent is named in this listing's own tools list. Dashed chip: Plain Markdown, so it also pastes into other agents such as Grok Bot, Hermes, OpenClaw or Muse. We list those as compatible by format only, not as tested.

Tools needed

Python 3runs n8n_check.py, a read-only checker for any workflow export; standard library only
n8n 2 (self-hosted or Cloud)runs the six workflows; tested on n8n 2.45.7
You needPython 3.8 or newer
You needAn n8n workflow export

Cost to run: Free.
Time to result: About five minutes to a first scan

Sample prompts, free to use

Scan before you switch it on · Grok Bot, Claude Code, Codex, Hermes
Run python3 n8n_mini.py on each file in exports/. For every finding, explain the risk in one line and the smallest fix. Do not edit the files.

The rules and script are in the file.

Free preview of the file

n8n-with-ai-agents-approve-pattern-workflow-scan-free-sample.md (excerpt)8 KB total
# n8n with AI Agents: the Approve pattern and a ten-check workflow scan (free sample)

Version 1.0, 2026-10-31. By PaperChaseWebb. For anyone running n8n next to AI agents, or switching on templates they bought or downloaded. One page and one Python 3 script, standard library only, read-only: it reads one workflow export and never talks to n8n. The script was tested with 5 unit tests on Linux with Python 3.13, 3.12, 3.11, 3.9 and 3.8, on the six workflows from the full pack and a made-up bought template.

## The Approve pattern

Any n8n node that emails, messages or writes to someone outside your business should wait for a person. In n8n 2 that takes three nodes:

1. An Email (or Gmail, Slack, Telegram) node with operation Send and Wait for Response, response type Approval, sent to the owner, with a wait limit.
2. An If node that checks `{{ $json.data.approved }}` is true.
3. The real send on the If node's true output only. The false output (Decline, or the wait limit passing) goes nowhere.

Most people stop after step 1. Without step 2, a Decline click lets the run carry on and the email still goes out. We proved that on a real n8n 2.45.7 with a copy of our lead reply workflow that had the If removed.

One thing to know before you test: n8n ignores an Approve link opened by a script or a link scanner and only acts on a real browser click. So test by clicking, not with curl, and do not worry that a mail filter pre-opening links will approve anything.

## Rules to paste into A

Test record

Date
Oct 31, 2026
What was run
tests/test_mini.py (clean workflow, bought template findings, removed gate, send on the decline branch, missing node and bad input) and the copy extracted from the sample page. Linux, Python 3.13, 3.12, 3.11, 3.9 and 3.8.
Result
5 passed, 0 failed on all five versions; the extracted copy was identical to the tested script.
Not run
A live n8n run of the sample itself (the pattern it describes was run live in the full pack).

Copied from this item's dated test notes. What was not run stays in.

Worth knowing

  • The sample has no rules file, so emails to your own address show as M4; read those and decide. The six tested workflows, the 19-check checker with rules and node list support, the go-live card and the agent setup are in the full pack.
  • On 2026-10-31 n8n_mini.py passed 5 unit tests on Linux with Python 3.13, 3.12, 3.11, 3.9 and 3.8, on the full pack's six workflows and a made-up bought template, and the copy extracted from the sample page was identical to the tested script.

Questions

Does it change my workflows?

No. It reads one file and prints findings. It opens no network connection and never talks to n8n.

What is in the full pack?

Six workflows run on n8n 2.45.7 with 44 of 44 live checks passing, a 19-check checker with a rules file and node list support, a go-live card tied to the exact file, and setup for Grok Bot, Claude Code, Codex and Hermes. $29.

Details

Version 1.0 · Updated Oct 31, 2026 · Markdown version of this page
License: Personal and commercial use. Download terms

n8nautomationapprovalshuman-in-the-loopgrokclaude-codecodexhermes