Generate AI research papers with Claude, arXiv, Google Scholar and DOCX export
Needs changesWhat this workflow does
This AI workflow has 34 nodes and runs when someone submits an n8n form (“Academic Research Paper Generator”). Along the way it connects Anthropic Chat Model and SerpApi (Google Search).
How it runs
Trigger: When someone submits an n8n form (“Academic Research Paper Generator”).
- Workflow Configuration (Edit Fields (Set)): sets 3 fields: targetReferences, arxivSearchUrl, maxTokens
- Search arXiv API (HTTP Request): calls an HTTP API
- Parse and Format References (Code): runs custom JavaScript code
- Research Gathering Agent (AI Agent): runs an AI agent, with model: Claude Sonnet Model; 1 tool (Google Scholar Search Tool); output parser: Research Output Parser
- Paper Orchestrator Agent (AI Agent): runs an AI agent, with model: Claude Model for Orchestrator; 6 tools (Results Writer Agent Tool, Conclusion Writer Agent Tool, Discussion Writer Agent Tool, Methodology Writer Agent Tool…); output parser: Orchestrator Output Parser
- Generate Bibliography (Code): runs custom JavaScript code
- Assemble Paper Sections (Code): runs custom JavaScript code
- Combine Paper and Bibliography (Merge): merges the data from its input branches
- Format as DOCX Content (Code): runs custom JavaScript code
- Generate DOCX File (Convert to File): converts data to a file (to binary)
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- SerpApi (Google Search) in Google Scholar Search Tool: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
| Removed in 3.0 | Replace with |
|---|---|
| SerpApi (Google Search) Google Scholar Search Tool | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
Nodes used (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Merge
n8n-nodes-base.merge - Convert to File
n8n-nodes-base.convertToFile
From the author
How It Works This workflow streamlines academic paper development through a multi-agent AI architecture that collects references, drafts individual sections autonomously, compiles the manuscript, and exports a professionally formatted DOCX file. Tailored for…