{
  "name": "Auto-generate AI news commentary with Dumpling AI and GPT-4o",
  "nodes": [
    {
      "id": "35ce9dd5-cc21-4cf9-a7ac-6cc9718fa86a",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -420,
        -160
      ]
    },
    {
      "id": "c572b2c3-9e72-4d7d-89f9-364aa5c00f79",
      "name": "Run on Schedule (Daily)",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1080,
        -60
      ]
    },
    {
      "id": "412b5965-1278-4748-8d77-4c85d9eb9cff",
      "name": "Fetch Topics with Empty Commentary",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -860,
        -60
      ]
    },
    {
      "id": "c04e7811-4e30-4e68-8342-55d79669072e",
      "name": "Loop Through Each Topic",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -640,
        -60
      ]
    },
    {
      "id": "435798d5-59b3-4379-831a-9b8801a99f38",
      "name": "Wait Before News Search",
      "type": "n8n-nodes-base.wait",
      "position": [
        -420,
        40
      ]
    },
    {
      "id": "f0098d01-fa3b-40e8-aeeb-e9dd31606ddb",
      "name": "Search News with Dumpling AI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -200,
        40
      ]
    },
    {
      "id": "43862942-4e19-4856-a3b0-2546d8a7a462",
      "name": "Split Returned News Articles",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        20,
        40
      ]
    },
    {
      "id": "9b45eb16-66b1-45bc-b4a3-5ad46696b295",
      "name": "Scrape Article Content with Dumpling AI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        240,
        40
      ]
    },
    {
      "id": "ffa392af-04d1-4c6a-a05e-f63f765d7eca",
      "name": "Aggregate Scraped Article Content",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        460,
        40
      ]
    },
    {
      "id": "5204f7c9-e5f8-4594-9428-4b46e92ba81d",
      "name": "Clean Article Content",
      "type": "n8n-nodes-base.code",
      "position": [
        680,
        40
      ]
    },
    {
      "id": "04fe4476-023b-49a5-8e72-0d251d78ae1a",
      "name": "Generate LinkedIn Commentary (GPT-4o)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        900,
        40
      ]
    },
    {
      "id": "ecc25fb7-52c0-4b89-94eb-06088b92e095",
      "name": "Append Commentary Back to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1260,
        40
      ]
    },
    {
      "id": "62e5001b-0aa9-40eb-bf65-6ca6ff1e3b32",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1100,
        -260
      ],
      "parameters": {
        "width": 1100,
        "height": 340,
        "content": "### 📥 Fetch Topics and Search News via Dumpling AI\n\nThis section starts with a scheduled trigger. It pulls entries from a Google Sheet where the “generated commentary” is empty, meaning the topic hasn"
      }
    },
    {
      "id": "3c3904a5-90d3-486a-8f69-bb6b33b5d234",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -280
      ],
      "parameters": {
        "width": 1120,
        "height": 360,
        "content": "### ✍️ Scrape Articles, Clean Text, Generate Commentary, and Append\n\nEach article is split out and scraped using Dumpling AI’s `/scrape` endpoint to get full content. The aggregated content is cleaned"
      }
    }
  ],
  "connections": {
    "Clean Article Content": {
      "main": [
        [
          {
            "node": "Generate LinkedIn Commentary (GPT-4o)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Through Each Topic": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before News Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run on Schedule (Daily)": {
      "main": [
        [
          {
            "node": "Fetch Topics with Empty Commentary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before News Search": {
      "main": [
        [
          {
            "node": "Search News with Dumpling AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search News with Dumpling AI": {
      "main": [
        [
          {
            "node": "Split Returned News Articles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Returned News Articles": {
      "main": [
        [
          {
            "node": "Scrape Article Content with Dumpling AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append Commentary Back to Sheet": {
      "main": [
        [
          {
            "node": "Loop Through Each Topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Scraped Article Content": {
      "main": [
        [
          {
            "node": "Clean Article Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Topics with Empty Commentary": {
      "main": [
        [
          {
            "node": "Loop Through Each Topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate LinkedIn Commentary (GPT-4o)": {
      "main": [
        [
          {
            "node": "Append Commentary Back to Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Article Content with Dumpling AI": {
      "main": [
        [
          {
            "node": "Aggregate Scraped Article Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}