{
  "name": "Create AI news avatar videos with Dumpling AI, GPT-4o and HeyGen",
  "nodes": [
    {
      "id": "8a457904-7d80-4bf8-a433-d25dbce33c45",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -840,
        -95
      ]
    },
    {
      "id": "90cf1daa-9652-4717-84af-f96a1a3d7dc6",
      "name": "Dumpling AI: Search AI News",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -620,
        -95
      ]
    },
    {
      "id": "321da41d-6a13-4a00-95c1-915fa6d8f5e6",
      "name": "Split: Individual News Items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -400,
        -95
      ]
    },
    {
      "id": "d7e5fcf2-7a24-4277-9459-9e828d3a98ef",
      "name": "Limit: Top 4 News Results",
      "type": "n8n-nodes-base.limit",
      "position": [
        -180,
        -95
      ]
    },
    {
      "id": "c1847dce-9564-44ae-b9a9-1ac48e42d2c8",
      "name": "Dumpling AI: Scrape Article Content",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        40,
        -95
      ]
    },
    {
      "id": "f6e8c80e-72b7-47ba-a3b6-0d43a0ee1615",
      "name": " Combine: Merge Scraped News Content",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        260,
        -95
      ]
    },
    {
      "id": "7c203f11-51ca-4aaa-a3c5-a571af36accd",
      "name": "GPT-4o Agent: Write Video Script",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        480,
        -95
      ]
    },
    {
      "id": "b5bc7652-ba15-4d8d-a3ab-08e65f7ea54f",
      "name": " GPT-4o Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        568,
        125
      ]
    },
    {
      "id": "c60ba871-f5a9-4ec2-b3d9-5aa4583c8f43",
      "name": " HeyGen: Generate Avatar Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        856,
        -95
      ]
    },
    {
      "id": "97b7db8d-2233-4bb5-b615-a93885ddfcfa",
      "name": "Wait: For HeyGen to Process",
      "type": "n8n-nodes-base.wait",
      "position": [
        1076,
        -95
      ]
    },
    {
      "id": "33b34d1e-4674-44fe-937e-ad907a6ff6ca",
      "name": "HeyGen: Check Video Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1296,
        -95
      ]
    },
    {
      "id": "27a6d57c-f518-43fd-93f0-2a237ccf0a99",
      "name": "IF: Video Completed?",
      "type": "n8n-nodes-base.if",
      "position": [
        1516,
        -170
      ]
    },
    {
      "id": "99219ffb-7d15-4393-877a-a9cb592c025b",
      "name": " Wait: Retry if Not Complete",
      "type": "n8n-nodes-base.wait",
      "position": [
        1736,
        5
      ]
    },
    {
      "id": "6761efd6-79c8-4a79-970e-a30d26a18336",
      "name": "Google Sheets: Log Video URL",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1736,
        -220
      ]
    },
    {
      "id": "294f5c10-e0fa-42c2-8a7a-f823ae4ed477",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -700
      ],
      "parameters": {
        "width": 800,
        "height": 660,
        "content": "### 🎥 Workflow Overview: Auto-Generate AI News Avatar Videos\n\nThis workflow runs every hour and creates an avatar-style video summarizing \nthe latest AI-related news.\n\n**Here’s what it does:**\n- Searc"
      }
    }
  ],
  "connections": {
    " GPT-4o Model": {
      "ai_languageModel": [
        [
          {
            "node": "GPT-4o Agent: Write Video Script",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Dumpling AI: Search AI News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Video Completed?": {
      "main": [
        [
          {
            "node": "Google Sheets: Log Video URL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": " Wait: Retry if Not Complete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit: Top 4 News Results": {
      "main": [
        [
          {
            "node": "Dumpling AI: Scrape Article Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HeyGen: Check Video Status": {
      "main": [
        [
          {
            "node": "IF: Video Completed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Dumpling AI: Search AI News": {
      "main": [
        [
          {
            "node": "Split: Individual News Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait: For HeyGen to Process": {
      "main": [
        [
          {
            "node": "HeyGen: Check Video Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Wait: Retry if Not Complete": {
      "main": [
        [
          {
            "node": "HeyGen: Check Video Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split: Individual News Items": {
      "main": [
        [
          {
            "node": "Limit: Top 4 News Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " HeyGen: Generate Avatar Video": {
      "main": [
        [
          {
            "node": "Wait: For HeyGen to Process",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT-4o Agent: Write Video Script": {
      "main": [
        [
          {
            "node": " HeyGen: Generate Avatar Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Dumpling AI: Scrape Article Content": {
      "main": [
        [
          {
            "node": " Combine: Merge Scraped News Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Combine: Merge Scraped News Content": {
      "main": [
        [
          {
            "node": "GPT-4o Agent: Write Video Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}