{
  "name": "Automate AI news videos with GPT-4o, Heygen Avatars, and Blotato",
  "nodes": [
    {
      "id": "23281526-655f-4bfb-8dbe-e19b349ee89c",
      "name": "Upload to Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2200,
        960
      ]
    },
    {
      "id": "4b8c1598-02be-4026-9038-b366b7bfd129",
      "name": "[Instagram] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2440,
        160
      ]
    },
    {
      "id": "87b182a3-a8b5-4c13-a508-8ff80e11089f",
      "name": "[Facebook] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2440,
        500
      ]
    },
    {
      "id": "a2704dc5-de38-44d8-a8c9-0fabb2af1b6d",
      "name": "[Linkedin] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2440,
        960
      ]
    },
    {
      "id": "ed4d8244-fe87-4256-8965-013203e059ec",
      "name": "[Tiktok] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2440,
        1360
      ]
    },
    {
      "id": "8c8ffaec-050c-4cb8-b0a7-4f3f11e33a9a",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2440,
        1760
      ]
    },
    {
      "id": "be535ba8-8176-415c-82d1-371450203be8",
      "name": "Upload to Blotato - Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2660,
        1760
      ]
    },
    {
      "id": "8a4e71a5-3bd5-44b5-8bdb-4fa5b4096507",
      "name": "[Pinterest] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2880,
        1760
      ]
    },
    {
      "id": "c0b31c07-9ec1-4723-aeb8-9857fee9fbe6",
      "name": "[Youtube] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        160
      ]
    },
    {
      "id": "c5360352-3ce1-4c69-9b66-4dcb346ee678",
      "name": "[Threads] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        500
      ]
    },
    {
      "id": "701cc5c6-b16d-446c-bb4f-349f339d792d",
      "name": "[Twitter] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        960
      ]
    },
    {
      "id": "076840b5-4498-4952-842c-afde164d12d7",
      "name": "[Bluesky] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2800,
        1360
      ]
    },
    {
      "id": "7594ea1c-769a-448c-98ad-3bb3f25df8c9",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        40,
        960
      ]
    },
    {
      "id": "ed6dd5ec-581c-43b4-9f7b-e82469680a67",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        960
      ]
    },
    {
      "id": "1665fb71-1a0e-484a-a858-dd372ffb2c56",
      "name": "Fetch HN Article",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        480,
        1160
      ]
    },
    {
      "id": "c816905d-5ac8-4eab-8830-010e33905e82",
      "name": "Fetch HN Front Page",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        320,
        1160
      ]
    },
    {
      "id": "7f454bfe-645e-4aab-a1c3-9d3c69145d50",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1440,
        960
      ]
    },
    {
      "id": "4cfa6007-e74e-4b21-b035-25ab40fcd56b",
      "name": "Write Script",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        180,
        1160
      ]
    },
    {
      "id": "6494b2cb-2741-40a8-9f4b-e943ad2c549a",
      "name": "Setup Heygen",
      "type": "n8n-nodes-base.set",
      "position": [
        1120,
        960
      ]
    },
    {
      "id": "3b48092a-ba88-431f-96d2-be8fb15a179c",
      "name": "Get Avatar Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1680,
        960
      ]
    },
    {
      "id": "82dab93f-8ce9-4d29-a7fe-15cc659209c5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        720
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "279a0598-75fc-4a4d-a96a-f4f6c9ded880",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1060,
        660
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "80e59105-6df7-493f-b573-022d2034cdb3",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1980,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0756a42d-971b-4370-a21a-858bf151612c",
      "name": "Prepare for Publish",
      "type": "n8n-nodes-base.set",
      "position": [
        2040,
        960
      ]
    },
    {
      "id": "e522bfaa-999c-4a19-8043-43fd9ce03349",
      "name": "Write Long Caption",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        600,
        980
      ]
    },
    {
      "id": "4b967f84-9c70-4102-8a83-80ce91a76cb0",
      "name": "Write Short Caption",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        600,
        1080
      ]
    },
    {
      "id": "c01fb5cc-103f-4ddb-9f3f-cc0a603fcfd6",
      "name": "Create Avatar Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1280,
        960
      ]
    },
    {
      "id": "36f57427-341c-4dc6-a825-79001a631d09",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        1140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "56f595ab-c4ff-497a-9a02-2d5b9402cd12",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2020,
        1140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get Avatar Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Upload to Blotato - Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Write Long Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Setup Heygen": {
      "main": [
        [
          {
            "node": "Create Avatar Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Script": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch HN Article": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Avatar Video": {
      "main": [
        [
          {
            "node": "Prepare for Publish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Blotato": {
      "main": [
        [
          {
            "node": "[Instagram] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Facebook] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Linkedin] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Tiktok] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Youtube] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Threads] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Twitter] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Bluesky] Publish via Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Long Caption": {
      "main": [
        [
          {
            "node": "Write Short Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Avatar Video": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch HN Front Page": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Prepare for Publish": {
      "main": [
        [
          {
            "node": "Upload to Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Short Caption": {
      "main": [
        [
          {
            "node": "Setup Heygen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Blotato - Image": {
      "main": [
        [
          {
            "node": "[Pinterest] Publish via Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}