{
  "name": "Generate AI research papers with Claude, arXiv, Google Scholar and DOCX export",
  "nodes": [
    {
      "id": "1166b3bc-7ddc-42e1-9522-978bbc4d2a3a",
      "name": "Research Paper Input Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -816,
        800
      ]
    },
    {
      "id": "527c330a-0922-4f37-ba7c-13b5189abf39",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -592,
        800
      ]
    },
    {
      "id": "296aaa86-a30d-4741-bbdc-04a06c084b5f",
      "name": "Search arXiv API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -368,
        800
      ]
    },
    {
      "id": "d71df2a1-93ee-497f-b5d2-eec4030b2438",
      "name": "Parse and Format References",
      "type": "n8n-nodes-base.code",
      "position": [
        -144,
        800
      ]
    },
    {
      "id": "2be4b7ff-3c44-48c5-a5cb-5f986d50d8c7",
      "name": "Claude Sonnet Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        80,
        1024
      ]
    },
    {
      "id": "425c15b9-5ebc-4cc7-9ebf-fc3a275f0703",
      "name": "Google Scholar Search Tool",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        208,
        1024
      ]
    },
    {
      "id": "9eb9c10b-4233-4f90-ba3d-2412e901927a",
      "name": "Research Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        336,
        1024
      ]
    },
    {
      "id": "6379bf73-79c9-4e23-8ac4-c53fc09fd055",
      "name": "Research Gathering Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        136,
        800
      ]
    },
    {
      "id": "43b612bf-6c62-415a-b248-0dd22965ddb7",
      "name": "Claude Model for Writing Agents",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        688,
        1056
      ]
    },
    {
      "id": "50764b38-f462-43ff-a66b-c41ffe580ef1",
      "name": "Introduction Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        832,
        1056
      ]
    },
    {
      "id": "bfb32768-029a-4bd7-a51d-f9db6ce23778",
      "name": "Introduction Writer Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        672,
        848
      ]
    },
    {
      "id": "515979f9-2fa4-4d64-a994-3b57072236cd",
      "name": "Claude Model for Related Work",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        960,
        1056
      ]
    },
    {
      "id": "7f209370-9c39-4e76-b6db-a0293cc00837",
      "name": "Related Work Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1120,
        1056
      ]
    },
    {
      "id": "13ee8998-b21e-463e-a5c1-139c28ce7fc7",
      "name": "Related Work Writer Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        960,
        848
      ]
    },
    {
      "id": "a4d97b24-efef-487a-8fb9-a4e638ddb076",
      "name": "Claude Model for Methodology",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        1248,
        1056
      ]
    },
    {
      "id": "b282cc10-4061-4699-bbfe-0967c2940ef5",
      "name": "Methodology Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1408,
        1056
      ]
    },
    {
      "id": "b7280a2d-81ff-491b-90c7-db936b994476",
      "name": "Methodology Writer Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1248,
        848
      ]
    },
    {
      "id": "83465ad9-5472-4cdc-9518-7c113a640d78",
      "name": "Claude Model for Results",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        1536,
        1056
      ]
    },
    {
      "id": "88ffe587-370f-4bc7-868f-91c260aa64c3",
      "name": "Results Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1696,
        1056
      ]
    },
    {
      "id": "13ddff3f-11dc-4a42-82ef-6829dd10d6ae",
      "name": "Results Writer Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1536,
        848
      ]
    },
    {
      "id": "42f1267a-ba38-4afc-99e2-513da5e0580a",
      "name": "Claude Model for Discussion",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        1824,
        1056
      ]
    },
    {
      "id": "856b03b3-3591-42a1-80c5-02a059693fb1",
      "name": "Discussion Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1984,
        1056
      ]
    },
    {
      "id": "c05eb678-882d-4737-be80-284b6beeee92",
      "name": "Discussion Writer Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1824,
        848
      ]
    },
    {
      "id": "5b72a581-0502-43b6-abee-453a40f2052a",
      "name": "Claude Model for Conclusion",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        2112,
        1056
      ]
    },
    {
      "id": "2c0bee9c-e52b-44df-bf05-de7cab89e52e",
      "name": "Conclusion Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2256,
        1056
      ]
    },
    {
      "id": "dd072e25-7309-4b24-94cd-17c919008744",
      "name": "Conclusion Writer Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        2112,
        848
      ]
    },
    {
      "id": "ab821986-85f0-42f0-8b59-94d2a3a1a068",
      "name": "Claude Model for Orchestrator",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        544,
        848
      ]
    },
    {
      "id": "06a2d3cb-1f80-4cfa-8efe-8a0a8f9b6490",
      "name": "Orchestrator Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2400,
        848
      ]
    },
    {
      "id": "597dcd7f-d94f-4d3f-9315-215957659a1c",
      "name": "Paper Orchestrator Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1400,
        624
      ]
    },
    {
      "id": "43c44ec8-8c60-49f2-a722-da3a0a658f1e",
      "name": "Assemble Paper Sections",
      "type": "n8n-nodes-base.code",
      "position": [
        2608,
        624
      ]
    },
    {
      "id": "280e9ece-b06f-4b47-93e1-a9df3a8644a3",
      "name": "Generate Bibliography",
      "type": "n8n-nodes-base.code",
      "position": [
        2608,
        976
      ]
    },
    {
      "id": "afdde557-023a-452b-ba39-f010400420a2",
      "name": "Combine Paper and Bibliography",
      "type": "n8n-nodes-base.merge",
      "position": [
        2832,
        800
      ]
    },
    {
      "id": "8299b80d-a705-4c82-9afa-0e4b2ccb5cd3",
      "name": "Format as DOCX Content",
      "type": "n8n-nodes-base.code",
      "position": [
        3056,
        800
      ]
    },
    {
      "id": "20dd753b-8ddd-4b7b-a580-8a2cdd1ff2da",
      "name": "Generate DOCX File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        3280,
        800
      ]
    },
    {
      "id": "8bc801f6-3f7e-4ddf-99b1-1b91b3ff4a83",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        144
      ],
      "parameters": {
        "width": 496,
        "height": 336,
        "content": "## Prerequisites\n- Google Scholar API or search tool access\n- Google Docs Script or DOCX generation service\n## Use Cases\n- Automated first-draft generation for academic journal submissions\n## Customiz"
      }
    },
    {
      "id": "5e9606f5-f1c6-4d8d-bf6b-b31bb80abd22",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        240
      ],
      "parameters": {
        "width": 576,
        "height": 224,
        "content": "## Setup Steps\n1. Configure Research Paper Input node with topic, keywords, and paper parameters.\n2. Add Anthropic (Claude) API credentials to all Claude Model nodes.\n3. Set up Google Scholar Search T"
      }
    },
    {
      "id": "762a0f33-461a-4fe7-bb58-2c5b1155bb78",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        240
      ],
      "parameters": {
        "width": 784,
        "height": 240,
        "content": "## How It Works\nThis workflow streamlines academic paper development through a multi-agent AI architecture that collects references, drafts individual sections autonomously, compiles the manuscript, a"
      }
    },
    {
      "id": "3faf6fb5-2989-4300-bcd5-5d967f4c0d94",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        608
      ],
      "parameters": {
        "width": 880,
        "height": 496,
        "content": "## Research Input & Web Search with Formatting\n**What** – Accepts paper topic and searches for sources via API and Google Scholar.\n**Why** – Grounds the paper in real, relevant academic references fro"
      }
    },
    {
      "id": "5477d6e9-80a6-4e05-bd3f-3483d4ff0389",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        544
      ],
      "parameters": {
        "width": 2016,
        "height": 224,
        "content": "## Paper Orchestration Agent\n**What** – Delegates writing tasks to six specialist section agents in parallel.\n**Why** – Maximises efficiency by generating all sections simultaneously."
      }
    },
    {
      "id": "2811b806-56b4-4643-be31-607289c69070",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        608
      ],
      "parameters": {
        "width": 480,
        "height": 624,
        "content": "## Research Gathering Agent\n**What** – Consolidates research outputs using Claude as the base model.\n**Why** – Provides a unified knowledge context before section writing begins."
      }
    },
    {
      "id": "aa00dd3c-25e3-4ce0-8638-db7f2ab23d7b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        800
      ],
      "parameters": {
        "width": 2016,
        "height": 784,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Section Writing Agents\n**What** – Each agent writes its assigned section—Introduction through Conclusion.\n**Why** – Specialist prompting per section ensures appropria"
      }
    },
    {
      "id": "ddc6610b-bdbb-4280-bb7c-b2a0fb254df6",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2576,
        512
      ],
      "parameters": {
        "width": 912,
        "height": 880,
        "content": "## Assemble, Bibliography & DOCX Export\n**What** – Merges sections, generates bibliography, and exports formatted DOCX.\n**Why** – Delivers a complete, submission-ready document without manual formatti"
      }
    }
  ],
  "connections": {
    "Search arXiv API": {
      "main": [
        [
          {
            "node": "Parse and Format References",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude Sonnet Model": {
      "ai_languageModel": [
        [
          {
            "node": "Research Gathering Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Generate Bibliography": {
      "main": [
        [
          {
            "node": "Combine Paper and Bibliography",
            "type": "main",
            "index": 0
          },
          {
            "node": "Combine Paper and Bibliography",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Results Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Results Writer Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Format as DOCX Content": {
      "main": [
        [
          {
            "node": "Generate DOCX File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Research Gathering Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Search arXiv API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Assemble Paper Sections": {
      "main": [
        [
          {
            "node": "Combine Paper and Bibliography",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude Model for Results": {
      "ai_languageModel": [
        [
          {
            "node": "Results Writer Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Conclusion Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Conclusion Writer Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Discussion Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Discussion Writer Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Paper Orchestrator Agent": {
      "main": [
        [
          {
            "node": "Assemble Paper Sections",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Gathering Agent": {
      "main": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Bibliography",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Methodology Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Methodology Writer Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Research Paper Input Form": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Results Writer Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Scholar Search Tool": {
      "ai_tool": [
        [
          {
            "node": "Research Gathering Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Introduction Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Introduction Writer Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Orchestrator Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Related Work Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Related Work Writer Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Claude Model for Conclusion": {
      "ai_languageModel": [
        [
          {
            "node": "Conclusion Writer Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Claude Model for Discussion": {
      "ai_languageModel": [
        [
          {
            "node": "Discussion Writer Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parse and Format References": {
      "main": [
        [
          {
            "node": "Research Gathering Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Claude Model for Methodology": {
      "ai_languageModel": [
        [
          {
            "node": "Methodology Writer Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Conclusion Writer Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Discussion Writer Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Claude Model for Orchestrator": {
      "ai_languageModel": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Claude Model for Related Work": {
      "ai_languageModel": [
        [
          {
            "node": "Related Work Writer Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Methodology Writer Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Combine Paper and Bibliography": {
      "main": [
        [
          {
            "node": "Format as DOCX Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Introduction Writer Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Related Work Writer Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Paper Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Claude Model for Writing Agents": {
      "ai_languageModel": [
        [
          {
            "node": "Introduction Writer Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}