Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save shraey96/9e91f53b9b45146f682f931bf7345a19 to your computer and use it in GitHub Desktop.

Select an option

Save shraey96/9e91f53b9b45146f682f931bf7345a19 to your computer and use it in GitHub Desktop.
AI-Powered News to Video Generator with Heygen & GPT4o - 🎬 Automated News-to-Video Workflow (n8n + Heygen + GPT-4o) πŸ“„ Overview: This n8n workflow turns news
{
"id": "lOnfQBQ1O7BLR1S5",
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
"templateCredsSetupCompleted": true
},
"name": "AI-Powered News to Video Generator with Heygen & GPT4o",
"tags": [],
"nodes": [
{
"id": "7012dfef-7b35-4cbc-b970-923ddae3cd79",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-1900,
580
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "ef12f30b-83f9-4295-9fa9-b89cd46c80dd",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2040,
-40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "04735893-dcdf-49f7-90af-011208fa3790",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1100,
-40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bbb05e02-6f71-4844-a042-5fbe6412872b",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1060,
980
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "01f46028-7341-468e-8788-95da905dab77",
"name": "RSS Read",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
-1760,
260
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "9721845d-eb1c-4299-8a37-cac6ff80eca5",
"name": "When clicking β€˜Test workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1940,
260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "18e3bab3-0e9e-4cab-8fe7-8f67ba1b39ef",
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
-560,
580
],
"webhookId": "d9404622-0a06-4a65-959e-badd4fd87465",
"parameters": {},
"typeVersion": 1.1,
"alwaysOutputData": false
},
{
"id": "772f5854-1dd6-42e7-bf9d-b2948a6394e0",
"name": "Get Avatar Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
-300,
580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "d4bd5011-9986-4d8f-b10a-b919e367611e",
"name": "Create Avatar Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
-800,
580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "e728589c-784c-4c9c-a7b1-37da4ddda043",
"name": "Setup Heygen",
"type": "n8n-nodes-base.set",
"position": [
-1040,
580
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "cab70adc-73bf-4e5b-8a2c-afef28983dbf",
"name": "Download video",
"type": "n8n-nodes-base.httpRequest",
"position": [
-20,
580
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "cdc50948-e5fa-4ad6-b0f6-ad79afa37e98",
"name": "Limit",
"type": "n8n-nodes-base.limit",
"position": [
-1260,
260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5433be24-3061-4d94-9de3-3d75aa1be40a",
"name": "Google Drive",
"type": "n8n-nodes-base.googleDrive",
"disabled": true,
"position": [
280,
580
],
"parameters": {},
"typeVersion": 3
},
{
"id": "9b503ab4-4834-43d5-9b2d-7823715c50ee",
"name": "parse caption",
"type": "n8n-nodes-base.code",
"position": [
-1540,
580
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b3a2a7ef-c055-4d49-b79c-9eea7ce89bab",
"name": "Limit1",
"type": "n8n-nodes-base.limit",
"position": [
-1600,
260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "03814c51-6323-4c90-b8bd-4fa5feaf187b",
"name": "log news to sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
-1420,
260
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "efad1b71-33fc-4070-b2c4-d5976cb9dd76",
"name": "Log video url and title to sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
-140,
780
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "63ee3aff-4b8b-4a26-b8e0-d8d844572d6f",
"name": "write script",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1880,
800
],
"parameters": {},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "0d647d48-28ad-408b-99b6-056d6903dca9",
"connections": {
"Wait": {
"main": [
[
{
"node": "Get Avatar Video",
"type": "main",
"index": 0
}
]
]
},
"Limit": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Limit1": {
"main": [
[
{
"node": "log news to sheets",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "parse caption",
"type": "main",
"index": 0
}
]
]
},
"RSS Read": {
"main": [
[
{
"node": "Limit1",
"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
}
]
]
},
"parse caption": {
"main": [
[
{
"node": "Setup Heygen",
"type": "main",
"index": 0
}
]
]
},
"Download video": {
"main": [
[
{
"node": "Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Get Avatar Video": {
"main": [
[
{
"node": "Download video",
"type": "main",
"index": 0
},
{
"node": "Log video url and title to sheets",
"type": "main",
"index": 0
}
]
]
},
"log news to sheets": {
"main": [
[
{
"node": "Limit",
"type": "main",
"index": 0
}
]
]
},
"Create Avatar Video": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"When clicking β€˜Test workflow’": {
"main": [
[
{
"node": "RSS Read",
"type": "main",
"index": 0
}
]
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment