{
  "name": "Create AI news videos with HeyGen avatars and auto-post to social media",
  "nodes": [
    {
      "id": "5b4a543d-fce2-447d-8363-4d27fbcb5e8b",
      "name": "Upload to Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        660
      ]
    },
    {
      "id": "c9635f38-486a-4e12-a2dd-61e9306bb3d3",
      "name": "[Instagram] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        -140
      ]
    },
    {
      "id": "7b238918-f7c0-404c-8059-f03e39b8d44b",
      "name": "[Facebook] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        200
      ]
    },
    {
      "id": "3ba2e6eb-697a-4585-9697-09fc8a66cdf8",
      "name": "[Linkedin] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        660
      ]
    },
    {
      "id": "b522909f-98b1-4c37-b6eb-656644574962",
      "name": "[Tiktok] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        1060
      ]
    },
    {
      "id": "d7e78166-3c88-4d4b-8c32-9c70af3bebe4",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1000,
        1460
      ]
    },
    {
      "id": "b65f2a46-e2f0-4a89-b1c5-51cbb96a194e",
      "name": "Upload to Blotato - Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1220,
        1460
      ]
    },
    {
      "id": "7a94af85-f109-497b-99c0-94de4efc8a54",
      "name": "[Pinterest] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1440,
        1460
      ]
    },
    {
      "id": "5d5903a6-e10d-41d9-8b96-08d3579824b7",
      "name": "[Youtube] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1360,
        -140
      ]
    },
    {
      "id": "a2d992b5-8865-42a4-b45d-12d19e779b2d",
      "name": "[Threads] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1360,
        200
      ]
    },
    {
      "id": "2f03a979-367e-4ecf-bc7c-95e6fc47175e",
      "name": "[Twitter] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1360,
        660
      ]
    },
    {
      "id": "6c6cda6d-5066-4789-9dc4-b7ae9356dcb6",
      "name": "[Bluesky] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1360,
        1060
      ]
    },
    {
      "id": "6858b2a1-a007-470a-93a2-d2ab603d8021",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1400,
        660
      ]
    },
    {
      "id": "5971571e-447d-4f16-9c05-a319ce82a4c0",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1200,
        660
      ]
    },
    {
      "id": "f6724264-d4a8-4f6f-8297-39a76b1b6d7e",
      "name": "Fetch HN Article",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        -960,
        860
      ]
    },
    {
      "id": "9c47a06b-1a89-45cc-a41e-df9ff24f94eb",
      "name": "Fetch HN Front Page",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        -1120,
        860
      ]
    },
    {
      "id": "de058e34-5d90-4030-bf63-ca6ecdfc31aa",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        0,
        660
      ]
    },
    {
      "id": "a4675711-4849-4535-8bb3-214a356744be",
      "name": "Write Script",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1260,
        860
      ]
    },
    {
      "id": "cf0bd094-d8eb-4a0b-a69c-5eee330a6102",
      "name": "Setup Heygen",
      "type": "n8n-nodes-base.set",
      "position": [
        -320,
        660
      ]
    },
    {
      "id": "760a0575-a220-44f6-b9b1-7b44488560db",
      "name": "Get Avatar Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        240,
        660
      ]
    },
    {
      "id": "313dab41-1587-4a55-8ad0-1449dc68ed50",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1440,
        -300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a1a5161f-4235-41fa-b8fe-d054b05a3bbd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        -300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "274e4f85-9caa-40af-8a7b-b793a5e01936",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -300
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ff057b1c-5dcb-4b2b-8663-93c28e3da51e",
      "name": "Prepare for Publish",
      "type": "n8n-nodes-base.set",
      "position": [
        600,
        660
      ]
    },
    {
      "id": "d6dfad8a-ff48-4686-8857-60366a01f9e3",
      "name": "Write Long Caption",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -840,
        540
      ]
    },
    {
      "id": "f70ec7fd-1da9-4cad-af29-2ca2ed8cfd0b",
      "name": "Write Short Caption",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -840,
        780
      ]
    },
    {
      "id": "a84edd4b-ce9a-473f-a36e-adab3561a20e",
      "name": "Create Avatar Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -160,
        660
      ]
    },
    {
      "id": "1b8eb507-6b94-438e-b389-92e312c504a3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        840
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e6eaaab4-adcb-424b-8102-abcd60c4fe0e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        840
      ],
      "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
          }
        ]
      ]
    }
  }
}