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

> 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.

- URL: https://paperchasewebb.ai/bots/marketplace/items/n8n-with-ai-agents-approve-pattern-workflow-scan-free-sample/
- Type: Prompt pack
- Category: Solo business
- By: PaperChaseWebb
- Works with: Claude Code, Codex, Grok Bot, Hermes (named in the listing); Plain .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 USD
- Difficulty: Beginner
- Setup time: 5 min
- Time to result: About five minutes to a first scan
- Format: Markdown (.md) file, n8n-with-ai-agents-approve-pattern-workflow-scan-free-sample.md
- Version: 1.0, updated 2026-10-31
- License: Personal and commercial use.

## 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.

## Tools needed

- Python 3: runs 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 need: Python 3.8 or newer
- You need: An n8n workflow export

Cost to run: Free.

## Sample prompt: 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 n8n-with-ai-agents-approve-pattern-workflow-scan-free-sample.md

````markdown
# 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.

## How to get it

Free sample. Download it directly at https://paperchasewebb.ai/bots/marketplace/items/n8n-with-ai-agents-approve-pattern-workflow-scan-free-sample/, no signup.

Seller: PaperChaseWebb Inc., mgmt@paperchasewebb.com
