Generate branded word documents with Claude AI and Json2Doc (up to 20 pages)
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs when someone submits an n8n form (“Generate docx”). Along the way it connects Anthropic Chat Model, OpenRouter Chat Model and MCP Client.
How it runs
Trigger: When someone submits an n8n form (“Generate docx”).
- Add Company styleguide (Edit Fields (Set)): sets or maps fields
- Generate Sections (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 1 tool (Json2Doc MCP); output parser: Structured Output Parser
- Wait: waits 3 seconds
- HTTP Request: calls an HTTP API
- is Completed? (If): checks a condition and branches into true / false
- Download Docx (HTTP Request): calls an HTTP API
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if
From the author
Overview This n8n workflow automatically generates professionally formatted Word documents (DOCX) with consistent company branding using AI. It leverages Json2Doc and the Json2Doc MCP server to transform simple text prompts into complete, multi-page…