# Generate workflow audit docs from JSON with Claude and Notion: n8n workflow

> Started by someone submitting a form, and works across Notion. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/generate-workflow-audit-docs-from-json-with-claude-and-notio (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Generate workflow audit docs from JSON with Claude and Notion

Started by someone submitting a form, and works across Notion. It hands the judgement calls to Claude. 15 steps, 2 loops or waits: a working afternoon to understand properly.

Medium Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-workflow-audit-docs-from-json-with-claude-and-notio)

**15 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 2 Logic 9 Service 2

The steps in the order they run, from what starts it.

- 1 **When Form Submitted** Form trigger *Starts it*
- 2 **Claude Model Interaction** Lm Chat Anthropic *Model*
- 3 **On Error Trigger** Error trigger *Starts it*
- 4 **Validate Form Data** Code *Logic*
- 5 **Generate Documentation** Chain Llm *Model*
- 6 **Record Error Details** Stop And Error *Logic*
- 7 **Review Workflow Content** Code *Logic*
- 8 **Interpret AI Response** Code *Logic*
- 9 **Construct AI Prompt** Code *Logic*
- 10 **Formulate Notion Blocks** Code *Logic*
- 11 **Create Notion Document** Notion *Service*
- 12 **Process Batch of 10** Split In Batches *Logic*
- 13 **Append to Notion Document** Notion *Service*
- 14 **Completion Marker** No Op *Logic*
- 15 **Wait 350 Milliseconds** Wait *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 15, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Notion
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, plus your own Notion account, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-workflow-audit-docs-from-json-with-claude-and-notio)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Notion](https://millionrounds.com/workflows?service=Notion#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Analyze brand mentions on Reddit with Notion** 15 steps · calls a model · Notion, Reddit](https://millionrounds.com/workflow/analyze-brand-mentions-on-reddit-with-notion)
- [**Automate job applications with Gemini and Notion** 15 steps · calls a model · Google Drive, Notion](https://millionrounds.com/workflow/automate-job-applications-with-gemini-and-notion)
- [**Brand DNA generator with JotForm and Google Search** 15 steps · calls a model · Notion](https://millionrounds.com/workflow/brand-dna-generator-with-jotform-and-google-search)
- [**Score and log relevant job listings with Gemini and JSearch** 15 steps · calls a model · Notion](https://millionrounds.com/workflow/score-and-log-relevant-job-listings-with-gemini-and-jsearch)
- [**Search and score relevant jobs with Gemini and JSearch** 15 steps · calls a model · Notion](https://millionrounds.com/workflow/search-and-score-relevant-jobs-with-gemini-and-jsearch)
- [**Helper to Todoist sync with Notion and Redis** 15 steps · Notion, Redis](https://millionrounds.com/workflow/helper-to-todoist-sync-with-notion-and-redis)
