AutomationFlowsAI & RAG › Generate Research-backed Blog Articles From News with Openai, Tavily and…

Generate Research-backed Blog Articles From News with Openai, Tavily and…

Original n8n title: Generate Research-backed Blog Articles From News with Openai, Tavily and Google Docs

ByPrideVel @n8nwizard on n8n.io

This workflow automatically generates full-length, research-backed blog articles from online news sources. It collects headlines from selected URLs, extracts topic ideas, creates an outline, writes well-structured sections with citations, compiles the article, and finally…

Event trigger★★★★☆ complexityAI-powered29 nodesAgentOpenAITool WorkflowOpenAI ChatGoogle Docs@Tavily/N8N Nodes Tavily
AI & RAG Trigger: Event Nodes: 29 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #12477 — we link there as the canonical source.

This workflow follows the Agent → Google Docs recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "35f037f8-d005-415f-a17b-6a15376f1e05",
      "name": "Table of Contents",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        320,
        240
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "1b005e7b-982c-46f7-ac0f-c940301c43e4",
      "name": "Create the Sections",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        672,
        240
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "4cf151bf-e768-4202-8153-7374817b47a5",
      "name": "Split Out1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1024,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "89224334-7f44-49a6-ae4d-d1d47e75d394",
      "name": "Generate the Content",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1248,
        112
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "ef306414-8217-41b4-a684-d4aee937aafe",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1600,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c0b21b41-1172-4efd-8ad4-fe6c0ee1a050",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1824,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0b2abad4-5300-4ec7-af5a-da6043b3a043",
      "name": "Content Editor",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2064,
        240
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "668a3621-3149-4bc6-af0d-322edba7597e",
      "name": "Title Maker",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2400,
        240
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "644af8d3-8a08-4e6d-ad2d-d9659902aa32",
      "name": "tavily tool",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        464,
        464
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f96037ff-f24d-4240-a13a-550d30c7315e",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        336,
        464
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "435414b5-a2cb-484e-a756-cbc7502b824a",
      "name": "Making Slug",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2752,
        240
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "ff68beec-3437-45ac-9071-0b62edd9af8a",
      "name": "Article Description",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        3104,
        240
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "4333feda-51c9-473a-aa38-d067e306a325",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1264,
        336
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "61df2d0e-ab95-4c86-b02f-3d3b81a73adb",
      "name": "tavily tool1",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        1392,
        336
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c8f15fb2-261d-42ec-b659-08c7ae202d3f",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2032,
        480
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ea272ea4-d406-49fd-b1fc-093048e33e04",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -912,
        48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a643cb9a-a583-4507-bcd9-83bd5f2f1403",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3376,
        48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "eec787bb-d1ae-47d1-bf13-721e39eac535",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "80b3e568-86cf-414c-acfe-326e6802169c",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -880,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "efc65d63-a643-4082-b3d4-8e1011a12136",
      "name": "Create a document1",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        3424,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "70f65e6c-356b-41f6-9058-9bc62ed2992f",
      "name": "Update a document",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        3648,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ab4cac63-b302-4108-acda-0fa9b17fd435",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -400,
        240
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "10cb831e-79d0-4cfb-907e-fbee8891bc9b",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -368,
        464
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "202b920e-4abc-40fe-9ac9-354e492ccdb1",
      "name": "Extract",
      "type": "@tavily/n8n-nodes-tavily.tavily",
      "position": [
        -688,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "32f70356-6591-4e67-94e7-826f666000b6",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        96,
        240
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "f4bc937b-760d-4a76-8a01-b2d437862fc6",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -128,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "05746570-808b-474b-b2bb-7d97e315150f",
      "name": "Code1",
      "type": "n8n-nodes-base.code",
      "position": [
        -544,
        240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c1f94847-a597-4361-8bcf-93d75cae8915",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2000,
        48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e23ff249-ad77-4d9c-aa9c-28ce427957b7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1888,
        32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code1": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "ai_languageModel": [
        [
          {
            "node": "Content Editor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Extract": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Content Editor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Generate the Content",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Making Slug": {
      "main": [
        [
          {
            "node": "Article Description",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Title Maker": {
      "main": [
        [
          {
            "node": "Making Slug",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "tavily tool": {
      "ai_tool": [
        [
          {
            "node": "Table of Contents",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "tavily tool1": {
      "ai_tool": [
        [
          {
            "node": "Generate the Content",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Content Editor": {
      "main": [
        [
          {
            "node": "Title Maker",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Table of Contents",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Table of Contents",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Table of Contents": {
      "main": [
        [
          {
            "node": "Create the Sections",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update a document": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a document1": {
      "main": [
        [
          {
            "node": "Update a document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Generate the Content",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Article Description": {
      "main": [
        [
          {
            "node": "Create a document1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create the Sections": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate the Content": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Extract",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow automatically generates full-length, research-backed blog articles from online news sources. It collects headlines from selected URLs, extracts topic ideas, creates an outline, writes well-structured sections with citations, compiles the article, and finally…

Source: https://n8n.io/workflows/12477/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

The best content automation template in the market is now even better—with “deep research” on time-sensitive topics\! Unlike most n8n content automation templates that are mainly for “demo purposes,”

OpenAI, HTTP Request, XML +11
AI & RAG

Categories: AI Agents, Freelance Automation, Proposal Generation

Execute Workflow Trigger, OpenAI, Google Drive +6
AI & RAG

Agent Nodes. Uses lmChatOpenAi, slack, stopAndError, errorTrigger. Event-driven trigger; 72 nodes.

OpenAI Chat, Slack, Stop And Error +12
AI & RAG

Multi Agent System Benefits. Uses gmailTool, lmChatOpenAi, agent, googleCalendarTool. Event-driven trigger; 46 nodes.

Gmail Tool, OpenAI Chat, Agent +12
AI & RAG

AI marketing Team Agent. Uses toolWorkflow, telegram, memoryBufferWindow, openAi. Event-driven trigger; 46 nodes.

Tool Workflow, Telegram, Memory Buffer Window +10