3 noticias de Hackernews a videos clonados con IA
Este es unContent Creation, Miscellaneous, Multimodal AIflujo de automatización del dominio deautomatización que contiene 30 nodos.Utiliza principalmente nodos como If, Set, Wait, Merge, HttpRequest. Generar y publicar automáticamente videos de avatares de IA para noticias tecnológicas en redes sociales con Heygen y Blotato
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Clave de API de OpenAI
Nodos utilizados (30)
{
"id": "VkHyB2EyishNRVIv",
"meta": {
"instanceId": "549c75b884f60826462aba44926da2b62a58c76fa3ad0b40e11aceb92998328c",
"templateCredsSetupCompleted": true
},
"name": "3 Hackernews to AI Clone Videos",
"tags": [],
"nodes": [
{
"id": "6858b2a1-a007-470a-93a2-d2ab603d8021",
"name": "Disparador Programado",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1552,
608
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "5971571e-447d-4f16-9c05-a319ce82a4c0",
"name": "Agente de IA",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-1344,
608
],
"parameters": {
"text": "# INSTRUCTIONS\n\nPerform the following tasks, in order:\n\n1. Fetch the top 10 stories from Hacker News from the past 24 hours related to AI or LLMs. \n\n2. Select the top story that is most likely to go viral on social media. \n\n3. Fetch the article and Hacker News comments.\n\n4. Create a 20-second monologue script for an AI avatar video, following these guidelines:\n - The script should be approximately 30 seconds when spoken aloud.\n - Include lots of details and statistics from the article.\n - Use 6th grade reading level.\n - Balanced viewpoint.\n\n5. Update the script's first sentence to use sensational viral hooks, tailored to the content, that grab the viewer's attention.\n\n6. Replace the last sentence with: \"Hit follow to stay ahead in AI!\"\n\n# OUTPUT FORMAT\n\nONLY output the exact video script. Do not output anything else. NEVER include intermediate thoughts, notes, or formatting.",
"options": {
"returnIntermediateSteps": true
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "f6724264-d4a8-4f6f-8297-39a76b1b6d7e",
"name": "Obtener Artículo de HN",
"type": "n8n-nodes-base.hackerNewsTool",
"position": [
-1104,
800
],
"parameters": {
"articleId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Article_ID', ``, 'string') }}",
"additionalFields": {
"includeComments": true
}
},
"typeVersion": 1
},
{
"id": "9c47a06b-1a89-45cc-a41e-df9ff24f94eb",
"name": "Obtener Portada de HN",
"type": "n8n-nodes-base.hackerNewsTool",
"position": [
-1264,
800
],
"parameters": {
"resource": "all",
"additionalFields": {
"tags": [
"front_page"
],
"keyword": "AI"
}
},
"typeVersion": 1
},
{
"id": "de058e34-5d90-4030-bf63-ca6ecdfc31aa",
"name": "Esperar",
"type": "n8n-nodes-base.wait",
"position": [
224,
608
],
"webhookId": "d9404622-0a06-4a65-959e-badd4fd87465",
"parameters": {
"unit": "minutes",
"amount": 8
},
"typeVersion": 1.1,
"alwaysOutputData": false
},
{
"id": "a4675711-4849-4535-8bb3-214a356744be",
"name": "Escribir Guion",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1408,
800
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "kiPdrnG34bMG8lqa",
"name": "OpenAI - Brand"
}
},
"typeVersion": 1.2
},
{
"id": "cf0bd094-d8eb-4a0b-a69c-5eee330a6102",
"name": "Configurar Heygen",
"type": "n8n-nodes-base.set",
"position": [
-512,
608
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "{\n \"heygen_api_key\": \"\",\n \"avatar_id\": \"\",\n \"voice_id\": \"\",\n \"has_background_video\": false,\n \"background_video_url\": \"https://database.blotato.io/storage/v1/object/public/public_media/4ddd33eb-e811-4ab5-93e1-2cd0b7e8fb3f/videogen2-render-e6b398a2-5859-4a77-88ef-2345bcefdc98.mp4\"\n}\n"
},
"typeVersion": 3.4
},
{
"id": "760a0575-a220-44f6-b9b1-7b44488560db",
"name": "Obtener Video de Avatar",
"type": "n8n-nodes-base.httpRequest",
"position": [
384,
608
],
"parameters": {
"url": "https://api.heygen.com/v1/video_status.get",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "video_id",
"value": "={{ $('Merge').item.json.data.video_id }}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "X-Api-Key",
"value": "={{ $('Setup Heygen').item.json.heygen_api_key }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "313dab41-1587-4a55-8ad0-1449dc68ed50",
"name": "Nota Adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1616,
192
],
"parameters": {
"color": 2,
"width": 940,
"height": 868,
"content": "# Research Tech News using Hackernews\n\n- This template uses the free Hackernews tool to fetch trending tech news\n- If your niche is outside of tech, I suggest replacing the Hackernews tool with SerpAPI tool, which allows your AI agent to use Google search to find recent industry news"
},
"typeVersion": 1
},
{
"id": "a1a5161f-4235-41fa-b8fe-d054b05a3bbd",
"name": "Nota Adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-576,
192
],
"parameters": {
"color": 3,
"width": 1120,
"height": 868,
"content": "# Create AI Clone Video Using HeyGen\n\n- This requires HeyGen API plan (paid); the free plan is insufficient: https://www.heygen.com/api-pricing\n- If you have a long script, you may need to increase the WAIT time.\n- You can use a custom Elevenlabs voice by integrating Elevenlabs within HeyGen web app.\n- Tutorial on how to create a high-quality avatar and voice clone: https://youtu.be/_jogmHuuKXk\n- If you want a background video playing behind your avatar: (1) ensure you have an avatar with background removed which requires a higher tier plan; (2) open SETUP HEYGEN node and set parameter 'has_background_video' to true; (3) open SETUP HEYGEN node and replace video URL in parameter 'background_video_url'"
},
"typeVersion": 1
},
{
"id": "d6dfad8a-ff48-4686-8857-60366a01f9e3",
"name": "Escribir Pie Largo",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-992,
480
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "GPT-4O"
},
"options": {},
"messages": {
"values": [
{
"content": "=# EXAMPLE\n\n<example>\nMany people have recently asked me about ask engine optimization, which is all about optimizing your website and existing content, so it can be pulled into ChatGPT and other generative AI tools. Consider that generative AI tools tend to be more conversational in nature and have a Q&A type format, so search engines will want to pull in snippets that concisely answer a user’s question.- what is ask engine optimization in the age of AI?- How does traditional SEO compare to ask engine optimization today?- top tips and tricks to get started with ask engine optimization?\n\n#ai #askengineoptimization #chatgpt #seo\n</example>\n\n# CONTEXT\n\nInfer the topic from the sources provided.\n\n# WRITING STYLE\n\nHere’s how you always write:\n\n<writing_style>\n\n- Your writing style is spartan and informative.\n- Use clear, simple language.\n- Employ short, impactful sentences.\n- Use active voice; avoid passive voice.\n- Focus on practical, actionable insights.\n- Incorporate data or statistics to support claims when possible.\n- Use \"\"\"\"\"\"\"\"you\"\"\"\"\"\"\"\" and \"\"\"\"\"\"\"\"your\"\"\"\"\"\"\"\" to directly address the reader.\n- Avoid metaphors and clichés.\n- Avoid generalizations.\n- Do not include common setup language in any sentence, including: in conclusion, in closing, etc.\n- Do not output warnings or notes—just the output requested.\n- Do not use hashtags.\n- Do not use semicolons.\n- Do not use emojis.\n- Do not use asterisks.\n- Do not use adjectives and adverbs.\n- Do NOT use these words:\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"can, may, just, that, very, really, literally, actually, certainly, probably, basically, could, maybe, delve, embark, enlightening, esteemed, shed light, craft, crafting, imagine, realm, game-changer, unlock, discover, skyrocket, abyss, you're not alone, in a world where, revolutionize, disruptive, utilize, utilizing, dive deep, tapestry, illuminate, unveil, pivotal, enrich, intricate, elucidate, hence, furthermore, realm, however, harness, exciting, groundbreaking, cutting-edge, remarkable, it. remains to be seen, glimpse into, navigating, landscape, stark, testament, in summary, in conclusion, moreover, boost, bustling, opened up, powerful, inquiries, ever-evolving\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n</writing_style>\n\n# PLANNING\n\nYour goal is to write a 50-word video caption based on the provided source.\n\n1. Analyze the provided sources thoroughly.\n2. Study the <example> post carefully. You will be asked to replicate their:\n - Overall structure.\n - Tone and voice.\n - Formatting (including line breaks and spacing).\n - Length (aim for a similarly detailed post).\n - Absence of emojis.\n - Max 5 relevant hashtags.\n - Emotional resonance.\n\n# OUTPUT\nFollow the GUIDELINES below to write the post. Use your analysis from step 1 and step 2. Use the provided sources as the foundation for your post, expanding on it significantly while maintaining the style and structure of the examples provided from step 2. You MUST use information from the provided sources. Make sure you adhere to your <writing_style>.\n\n<guidelines>\nThe description should be structured as follows:\n1. Start with 1 paragraph summarizing the source\n2. Newline, followed by 3 bullet points of questions that a viewer might ask on a search engine about the source\n3. Newline, followed by these hashtags: #ai #artificialintelligence #ainews #sabrinaramonov #aiavatar\n</guidelines>\n\nTake a deep breath and take it step-by-step!\n\n# INPUT\nUse the following information sources:\n<sources>\n{{ $json.output }}\n</sources>"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "kiPdrnG34bMG8lqa",
"name": "OpenAI - Brand"
}
},
"typeVersion": 1.8
},
{
"id": "f70ec7fd-1da9-4cad-af29-2ca2ed8cfd0b",
"name": "Escribir Pie Corto",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-992,
720
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "GPT-4O"
},
"options": {},
"messages": {
"values": [
{
"content": "=Write a 1 viral sentence, max 90 characters, summarizing the video content, use 6th grade language, balanced neutral perspective, no emojis:\n\n<content>\n{{ $json.message.content }}\n</content>"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "kiPdrnG34bMG8lqa",
"name": "OpenAI - Brand"
}
},
"typeVersion": 1.8
},
{
"id": "1b8eb507-6b94-438e-b389-92e312c504a3",
"name": "Nota Adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-544,
768
],
"parameters": {
"color": 6,
"width": 182,
"height": 116,
"content": "# Step 1\n\nFill out \"Setup Heygen\""
},
"typeVersion": 1
},
{
"id": "519f39b2-73ab-49a8-9966-d567e4f4268d",
"name": "Subir medio",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
688,
608
],
"parameters": {
"mediaUrl": "={{ $('Get Avatar Video').item.json.data.video_url }}",
"resource": "media"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "57f98633-2abb-476e-ac32-d922f375f8a6",
"name": "Tiktok [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
912,
128
],
"parameters": {
"options": {},
"platform": "tiktok",
"accountId": {
"__rl": true,
"mode": "list",
"value": "156",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/156",
"cachedResultName": "blotato_genz"
},
"postContentText": "={{ $('Write Long Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "bbd10966-f758-41d1-b6a8-95ab300360c9",
"name": "Linkedin [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1184,
128
],
"parameters": {
"options": {},
"platform": "linkedin",
"accountId": {
"__rl": true,
"mode": "list",
"value": "4590",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/4590",
"cachedResultName": "Sabrina Ramonov 🍄"
},
"postContentText": "={{ $('Write Long Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "3159669f-82ba-4e1c-8def-ca180efd5eef",
"name": "Facebook [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
912,
352
],
"parameters": {
"options": {},
"platform": "facebook",
"accountId": {
"__rl": true,
"mode": "list",
"value": "369",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/369",
"cachedResultName": "Sabrina Ramonov"
},
"facebookPageId": {
"__rl": true,
"mode": "list",
"value": "161711670360847",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/369/subaccounts/161711670360847",
"cachedResultName": "Blotato"
},
"postContentText": "={{ $('Write Long Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "29a339ec-1182-4ec0-aa51-0cb2346143ff",
"name": "Instagram [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1184,
352
],
"parameters": {
"options": {},
"accountId": {
"__rl": true,
"mode": "list",
"value": "28",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/28",
"cachedResultName": "sabrina_ramonov"
},
"postContentText": "={{ $('Write Long Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "1deb06da-133e-44c1-94bf-382acb3fc4fe",
"name": "Twitter [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
912,
608
],
"parameters": {
"options": {},
"platform": "twitter",
"accountId": {
"__rl": true,
"mode": "list",
"value": "38",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/38",
"cachedResultName": "Sabrina_Ramonov"
},
"postContentText": "={{ $('Write Short Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "5c5739cb-3d03-4c76-9e19-4dfbe84bd276",
"name": "Youtube [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1184,
608
],
"parameters": {
"options": {},
"platform": "youtube",
"accountId": {
"__rl": true,
"mode": "list",
"value": "111",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/111",
"cachedResultName": "Sabrina Ramonov 🍄"
},
"postContentText": "={{ $('Write Long Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}",
"postCreateYoutubeOptionTitle": "={{ $('Write Short Caption').item.json.message.content.slice(0, 100) }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "22aed9a9-8ee0-438c-b32f-1d86163d66a9",
"name": "Threads [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
912,
848
],
"parameters": {
"options": {},
"platform": "threads",
"accountId": {
"__rl": true,
"mode": "list",
"value": "2537",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/2537",
"cachedResultName": "sabrina_ramonov"
},
"postContentText": "={{ $('Write Short Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "9f763037-841d-47d3-bebe-5158d1170f39",
"name": "Bluesky [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1184,
848
],
"parameters": {
"options": {},
"platform": "bluesky",
"accountId": {
"__rl": true,
"mode": "list",
"value": "6036",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/6036",
"cachedResultName": "sabrinaramonov.bsky.social"
},
"postContentText": "={{ $('Write Short Caption').item.json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "4bf12cfd-29c8-481e-8c0f-ce71e70ef9eb",
"name": "Pinterest [BLOTATO]",
"type": "@blotato/n8n-nodes-blotato.blotato",
"disabled": true,
"position": [
912,
1088
],
"parameters": {
"options": {},
"platform": "pinterest",
"accountId": {
"__rl": true,
"mode": "list",
"value": "358",
"cachedResultUrl": "https://backend.blotato.com/v2/accounts/358",
"cachedResultName": "sabrina_ramonov"
},
"postContentText": "={{ $('Write Long Caption').item.json.message.content }}",
"pinterestBoardId": {
"__rl": true,
"mode": "id",
"value": ""
},
"postContentMediaUrls": "={{ $('Upload media').item.json.url }}"
},
"credentials": {
"blotatoApi": {
"id": "qLLOXODALF2oKezc",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "ec953579-65a1-4020-9ecc-1e16f1feca9b",
"name": "Nota Adhesiva6",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-64
],
"parameters": {
"color": 6,
"width": 304,
"height": 144,
"content": "# Step 2\n1. Open each node\n2. Select your social account\n3. 👉 **You don't need to do anything else!**"
},
"typeVersion": 1
},
{
"id": "e6e17c6d-3f83-4601-8806-b02731561f1b",
"name": "Nota Adhesiva5",
"type": "n8n-nodes-base.stickyNote",
"position": [
656,
-368
],
"parameters": {
"color": 4,
"width": 720,
"height": 1648,
"content": "# Post Everywhere Using Blotato\n\n## IMPORTANT\nDo not post the same video over and over again, otherwise it will be flagged as spam. Make sure to disclose AI generated content if you're using avatars.\n\n👉 **Blotato API Docs**: https://help.blotato.com/api\n✅ **Troubleshoot Errors**: https://my.blotato.com/api-dashboard\n📷 **Media Requirements**: https://help.blotato.com/api/media\n🛠️ **Contact help**: log into blotato > click support button in bottom right corner"
},
"typeVersion": 1
},
{
"id": "a84edd4b-ce9a-473f-a36e-adab3561a20e",
"name": "Crear Video de Avatar CON Video de Fondo",
"type": "n8n-nodes-base.httpRequest",
"position": [
-144,
496
],
"parameters": {
"url": "https://api.heygen.com/v2/video/generate",
"method": "POST",
"options": {},
"jsonBody": "={\n \"video_inputs\": [\n {\n \"character\": {\n \"type\": \"avatar\",\n \"avatar_id\": \"{{ $json.avatar_id }}\",\n \"avatar_style\": \"normal\",\n \"scale\": 1.0,\n \"offset\": {\n \"x\": 0.15,\n \"y\": 0.15\n },\n \"matting\": true\n },\n \"voice\": {\n \"type\": \"text\",\n \"input_text\": {{ $('AI Agent').item.json.output.toJsonString() }},\n \"voice_id\": \"{{ $json.voice_id }}\",\n \"speed\": 1.1,\n \"pitch\": 50,\n \"emotion\": \"Excited\"\n },\n \"background\": {\n \"type\": \"video\",\n \"url\": \"{{ $json.background_video_url }}\",\n \"play_style\": \"loop\",\n \"fit\": \"cover\"\n }\n }\n ],\n \"dimension\": {\n \"width\": 720,\n \"height\": 1280\n },\n \"aspect_ratio\": \"9:16\",\n \"caption\": false,\n \"title\": \"{{ $('Write Short Caption').item.json.message.content }}\"\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "X-Api-Key",
"value": "={{ $json.heygen_api_key }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "cc6606b3-941d-4e42-9432-41793ceb66be",
"name": "Crear Video de Avatar SIN Video de Fondo",
"type": "n8n-nodes-base.httpRequest",
"position": [
-144,
720
],
"parameters": {
"url": "https://api.heygen.com/v2/video/generate",
"method": "POST",
"options": {},
"jsonBody": "={\n \"video_inputs\": [\n {\n \"character\": {\n \"type\": \"avatar\",\n \"avatar_id\": \"{{ $json.avatar_id }}\",\n \"avatar_style\": \"normal\",\n \"scale\": 1.0,\n \"offset\": {\n \"x\": 0.15,\n \"y\": 0.15\n }\n },\n \"voice\": {\n \"type\": \"text\",\n \"input_text\": {{ $('AI Agent').item.json.output.toJsonString() }},\n \"voice_id\": \"{{ $json.voice_id }}\",\n \"speed\": 1.1,\n \"pitch\": 50,\n \"emotion\": \"Excited\"\n }\n }\n ],\n \"dimension\": {\n \"width\": 720,\n \"height\": 1280\n },\n \"aspect_ratio\": \"9:16\",\n \"caption\": false,\n \"title\": \"{{ $('Write Short Caption').item.json.message.content }}\"\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "X-Api-Key",
"value": "={{ $json.heygen_api_key }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "f54f59f4-053f-44cf-b633-b1cf978182bc",
"name": "Si",
"type": "n8n-nodes-base.if",
"position": [
-352,
608
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "73001c6b-fae2-48cd-b0a6-aa453b837902",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.has_background_video }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "ec92d999-99fc-421c-8391-fff8d7fc5c85",
"name": "Combinar",
"type": "n8n-nodes-base.merge",
"position": [
64,
608
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "6d79ec06-a38c-4af2-aff0-47bef19ccb0e",
"name": "Nota Adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2288,
-320
],
"parameters": {
"color": 6,
"width": 576,
"height": 1120,
"content": "# FULL TUTORIAL\n\n## Tutorial\n\nhttps://help.blotato.com/api/templates/3-hackernews-to-ai-clone-videos\n\n## Description\n\nThis fully automated AI Avatar Social Media system creates talking head AI clone videos, WITHOUT having to film or edit yourself. It combines n8n, AI agent, HeyGen, and Blotato to research, create, and distribute talking head AI clone videos to every social media platform every single day.\n\n## Overview\n\n**1. Trigger: Schedule**\n- Configured to run once daily at 10am\n\n**2. AI News Research**\n- Research viral news from tech-focused forum, Hackernews\n- Fetch the selected news item, plus discussion comments\n\n**3. AI Writer**\n- AI writes 30-second monologue script\n- AI writes short video caption\n\n**4. Create Avatar Video**\n- Call Heygen API (requires paid API plan), specifying your avatar ID and voice ID\n- Create avatar video, optionally passing in an image/video background if you have a green screen avatar (matte: true)\n\n**5. Get Video**\n- Wait awhile, then fetch completed avatar video\n- Upload video to Blotato\n\n**6. Publish to Social Media via Blotato**\n- Connect your Blotato account\n- Choose your social accounts\n- Either post immediately or schedule for later"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "763a53ef-1a2d-4869-9a50-e8f3ae12c236",
"connections": {
"f54f59f4-053f-44cf-b633-b1cf978182bc": {
"main": [
[
{
"node": "a84edd4b-ce9a-473f-a36e-adab3561a20e",
"type": "main",
"index": 0
}
],
[
{
"node": "cc6606b3-941d-4e42-9432-41793ceb66be",
"type": "main",
"index": 0
}
]
]
},
"de058e34-5d90-4030-bf63-ca6ecdfc31aa": {
"main": [
[
{
"node": "760a0575-a220-44f6-b9b1-7b44488560db",
"type": "main",
"index": 0
}
]
]
},
"ec92d999-99fc-421c-8391-fff8d7fc5c85": {
"main": [
[
{
"node": "de058e34-5d90-4030-bf63-ca6ecdfc31aa",
"type": "main",
"index": 0
}
]
]
},
"5971571e-447d-4f16-9c05-a319ce82a4c0": {
"main": [
[
{
"node": "d6dfad8a-ff48-4686-8857-60366a01f9e3",
"type": "main",
"index": 0
}
]
]
},
"cf0bd094-d8eb-4a0b-a69c-5eee330a6102": {
"main": [
[
{
"node": "f54f59f4-053f-44cf-b633-b1cf978182bc",
"type": "main",
"index": 0
}
]
]
},
"519f39b2-73ab-49a8-9966-d567e4f4268d": {
"main": [
[
{
"node": "57f98633-2abb-476e-ac32-d922f375f8a6",
"type": "main",
"index": 0
},
{
"node": "bbd10966-f758-41d1-b6a8-95ab300360c9",
"type": "main",
"index": 0
},
{
"node": "3159669f-82ba-4e1c-8def-ca180efd5eef",
"type": "main",
"index": 0
},
{
"node": "29a339ec-1182-4ec0-aa51-0cb2346143ff",
"type": "main",
"index": 0
},
{
"node": "1deb06da-133e-44c1-94bf-382acb3fc4fe",
"type": "main",
"index": 0
},
{
"node": "5c5739cb-3d03-4c76-9e19-4dfbe84bd276",
"type": "main",
"index": 0
},
{
"node": "22aed9a9-8ee0-438c-b32f-1d86163d66a9",
"type": "main",
"index": 0
},
{
"node": "9f763037-841d-47d3-bebe-5158d1170f39",
"type": "main",
"index": 0
},
{
"node": "4bf12cfd-29c8-481e-8c0f-ce71e70ef9eb",
"type": "main",
"index": 0
}
]
]
},
"a4675711-4849-4535-8bb3-214a356744be": {
"ai_languageModel": [
[
{
"node": "5971571e-447d-4f16-9c05-a319ce82a4c0",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"f6724264-d4a8-4f6f-8297-39a76b1b6d7e": {
"ai_tool": [
[
{
"node": "5971571e-447d-4f16-9c05-a319ce82a4c0",
"type": "ai_tool",
"index": 0
}
]
]
},
"760a0575-a220-44f6-b9b1-7b44488560db": {
"main": [
[
{
"node": "519f39b2-73ab-49a8-9966-d567e4f4268d",
"type": "main",
"index": 0
}
]
]
},
"6858b2a1-a007-470a-93a2-d2ab603d8021": {
"main": [
[
{
"node": "5971571e-447d-4f16-9c05-a319ce82a4c0",
"type": "main",
"index": 0
}
]
]
},
"d6dfad8a-ff48-4686-8857-60366a01f9e3": {
"main": [
[
{
"node": "f70ec7fd-1da9-4cad-af29-2ca2ed8cfd0b",
"type": "main",
"index": 0
}
]
]
},
"9c47a06b-1a89-45cc-a41e-df9ff24f94eb": {
"ai_tool": [
[
{
"node": "5971571e-447d-4f16-9c05-a319ce82a4c0",
"type": "ai_tool",
"index": 0
}
]
]
},
"f70ec7fd-1da9-4cad-af29-2ca2ed8cfd0b": {
"main": [
[
{
"node": "cf0bd094-d8eb-4a0b-a69c-5eee330a6102",
"type": "main",
"index": 0
}
]
]
},
"a84edd4b-ce9a-473f-a36e-adab3561a20e": {
"main": [
[
{
"node": "ec92d999-99fc-421c-8391-fff8d7fc5c85",
"type": "main",
"index": 0
}
]
]
},
"cc6606b3-941d-4e42-9432-41793ceb66be": {
"main": [
[
{
"node": "ec92d999-99fc-421c-8391-fff8d7fc5c85",
"type": "main",
"index": 1
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Avanzado - Creación de contenido, Varios, IA Multimodal
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Sabrina Ramonov 🍄
@sabrina-ramonov- Teach 10M people AI - Sold AI startup for $10M+ - 0 to 1.3M+ followers in 1 year - Solo Founder, Blotato.com - social media API - Learn AI for free: www.sabrina.dev
Compartir este flujo de trabajo