# Generate branded word documents with Claude and Json2Doc: n8n workflow

> Started by someone submitting a form. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Claude and OpenRouter.

Source: https://millionrounds.com/workflow/generate-branded-word-documents-with-claude-and-json2doc (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# Generate branded word documents with Claude and Json2Doc

Started by someone submitting a form. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Claude and OpenRouter. 11 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: Claude, OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-branded-word-documents-with-claude-and-json2doc)

**11 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Model 5 Logic 3 Service 2

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

- 1 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 2 **OpenRouter Chat Model** Lm Chat Open Router *Model*
- 3 **Json2Doc MCP** Mcp Client Tool *Model*
- 4 **On form submission** Form trigger *Starts it*
- 5 **Generate Sections** Agent *Model*
- 6 **Structured Output Parser** Output Parser Structured *Model*
- 7 **Add Company styleguide** Set *Logic*
- 8 **Wait for Document Generation** Wait *Logic*
- 9 **HTTP Request** Http Request *Service*
- 10 **is Completed?** If *Logic*
- 11 **Download Docx** Http Request *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 11, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** Claude, OpenRouter

## Questions

What does it need to run?

An n8n account, and a key for Claude and OpenRouter. 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 and OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 11 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 11 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-branded-word-documents-with-claude-and-json2doc)
- **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.

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**AI process document uploader with OpenAI and Supabase** 11 steps · calls a model · Supabase vectors](https://millionrounds.com/workflow/ai-process-document-uploader-with-openai-and-supabase)
- [**Analyze Legal Documents with OpenAI and Google Sheets** 11 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-legal-documents-with-openai-and-google-sheets)
- [**Analyze contract risk from Google Drive with OpenAI and Sheets** 11 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/analyze-contract-risk-from-google-drive-with-openai-and-shee)
- [**Auto-fill PDF forms with Autype and OpenAI** 11 steps · calls a model · Google Drive](https://millionrounds.com/workflow/auto-fill-pdf-forms-with-autype-and-openai)
- [**Build a PDF-based RAG system with OpenAI and Pinecone** 11 steps · calls a model · Pinecone](https://millionrounds.com/workflow/build-a-pdf-based-rag-system-with-openai-and-pinecone)
- [**Build a document QA system with Google Drive and Pinecone** 11 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/build-a-document-qa-system-with-google-drive-and-pinecone)
