Usar IA para convertir publicaciones de Reddit en videos cortos
Este es unAI, Marketingflujo de automatización del dominio deautomatización que contiene 43 nodos.Utiliza principalmente nodos como If, Set, Code, Wait, Merge, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Usar IA para convertir publicaciones de Reddit en videos cortos
- •Punto final de HTTP Webhook (n8n generará automáticamente)
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Clave de API de OpenAI
Nodos utilizados (43)
Categoría
{
"meta": {
"instanceId": "2718e70d3927cc6f222cd0fca1f41929053688eb8b4504451ee7746fdfef7be1"
},
"nodes": [
{
"id": "c82ef841-c864-4980-9319-6e2e0a7985ce",
"name": "Dividir clips",
"type": "n8n-nodes-base.itemLists",
"position": [
-2720,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7e329005-5824-4818-878a-ec5ab97031dc",
"name": "Consulta Pexels",
"type": "n8n-nodes-base.httpRequest",
"maxTries": 5,
"position": [
-2020,
880
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "618a6bf4-31ec-4f4b-ad02-1fd0bd9b5565",
"name": "OpenAI (ChatGPT)",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-3080,
1100
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 1.8,
"waitBetweenTries": 5000
},
{
"id": "f364947c-6b24-4bd3-ad9d-009f2990d04a",
"name": "Obtener URLs de video",
"type": "n8n-nodes-base.httpRequest",
"position": [
-940,
880
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "4e1467f2-2798-4bd3-a339-9063bab63e42",
"name": "Extraer 3 videos por elemento",
"type": "n8n-nodes-base.code",
"position": [
-1760,
880
],
"parameters": {},
"typeVersion": 2
},
{
"id": "6129fe06-3b3b-42dd-8247-509f155eb974",
"name": "Combinar 3 en 1",
"type": "n8n-nodes-base.code",
"position": [
-620,
880
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b81b9351-19d8-429e-af0f-34dbd093aeb9",
"name": "Obtener token de reddit",
"type": "n8n-nodes-base.httpRequest",
"position": [
-4380,
880
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "ece8f40e-318e-4d76-b237-1b26545c8e9c",
"name": "Obtener hilo de reddit",
"type": "n8n-nodes-base.httpRequest",
"position": [
-3800,
980
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "ee6cd394-6714-4ae5-88c7-36950915a0b4",
"name": "Crear línea de tiempo con video",
"type": "n8n-nodes-base.code",
"position": [
100,
1100
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f488889c-c7c1-4f11-9101-124a46943534",
"name": "Nota adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2060,
780
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "68e0f4de-c7cd-4c95-b864-216e8451ee16",
"name": "Combinar medios, audio y subtítulos",
"type": "n8n-nodes-base.merge",
"position": [
-100,
1100
],
"parameters": {},
"typeVersion": 3
},
{
"id": "7daba492-81a4-4f21-a521-34b482d52272",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-4800,
1160
],
"webhookId": "20b7de62-79f3-4d89-9589-c824fd456195",
"parameters": {},
"typeVersion": 2
},
{
"id": "b16d8e2f-d0c1-4822-83cd-569dbfd60d01",
"name": "Separar configuraciones TTS",
"type": "n8n-nodes-base.splitOut",
"position": [
-4380,
1440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6b018650-f54b-4bcb-b927-971221e280e5",
"name": "Código",
"type": "n8n-nodes-base.code",
"position": [
-2240,
1420
],
"parameters": {},
"typeVersion": 2
},
{
"id": "e4818147-e130-43ea-800d-a2ac42c40324",
"name": "Separar redditLink",
"type": "n8n-nodes-base.splitOut",
"position": [
-4380,
1080
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9d1aa00d-31fd-4137-b788-64d48427e8e0",
"name": "Convertir URL a URL api de reddit",
"type": "n8n-nodes-base.code",
"position": [
-4180,
1080
],
"parameters": {},
"typeVersion": 2
},
{
"id": "9d0d572c-c3db-40f3-996e-c248e2b98bc5",
"name": "Combinar token y URL",
"type": "n8n-nodes-base.merge",
"position": [
-3980,
980
],
"parameters": {},
"typeVersion": 3
},
{
"id": "b9498f9c-d3ea-4136-84e4-051ee823204a",
"name": "Separar videoLength",
"type": "n8n-nodes-base.splitOut",
"position": [
-4380,
1260
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e47fb3b0-e092-426a-9cb0-fad609097515",
"name": "Combinar longitud y json de reddit",
"type": "n8n-nodes-base.merge",
"position": [
-3520,
1100
],
"parameters": {},
"typeVersion": 3
},
{
"id": "4d417707-6153-451b-8cb4-e55b219272dd",
"name": "Responder a Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
800,
1220
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "05621977-50bc-4008-a58c-551b119326a2",
"name": "Nota adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2060,
1080
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "24b67449-d896-4a66-ab9b-18cbda213f61",
"name": "Extraer campo de texto",
"type": "n8n-nodes-base.code",
"position": [
-1340,
1100
],
"parameters": {},
"typeVersion": 2
},
{
"id": "6d9334d4-547d-4bc5-99fe-fb56ebe6845f",
"name": "Combinar clips y configuraciones TTS",
"type": "n8n-nodes-base.merge",
"position": [
-2420,
1420
],
"parameters": {},
"typeVersion": 3
},
{
"id": "4c58be43-96d0-4d5c-b3df-f0d774a35c64",
"name": "Si Estado=Listo entonces continuar",
"type": "n8n-nodes-base.if",
"position": [
-800,
1320
],
"parameters": {},
"executeOnce": false,
"typeVersion": 2.2
},
{
"id": "615d4153-2cea-467e-9867-af6448d298ca",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2060,
1240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f8efb701-d8ae-4c71-a3af-c95f83743739",
"name": "Generar TTS",
"type": "@n8n/n8n-nodes-langchain.openAi",
"maxTries": 5,
"position": [
-2040,
1420
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 1.8,
"waitBetweenTries": 5000
},
{
"id": "70dde8c7-53d9-4e01-a470-a8778c5224cf",
"name": "Renombrar claves",
"type": "n8n-nodes-base.renameKeys",
"position": [
-620,
1300
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2dd7c499-6cae-414d-9d2c-3eb36b396ebb",
"name": "Esperar entradas",
"type": "n8n-nodes-base.merge",
"position": [
-1300,
1320
],
"parameters": {},
"typeVersion": 3
},
{
"id": "3face551-4170-4370-b476-ee88cafaba43",
"name": "Combinar enlaces de subida y audio TTS",
"type": "n8n-nodes-base.merge",
"position": [
-1660,
1400
],
"parameters": {},
"typeVersion": 3
},
{
"id": "a0d13f64-c61d-409b-958e-c6d60028b467",
"name": "Obtener URLs de audio",
"type": "n8n-nodes-base.httpRequest",
"position": [
-960,
1320
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "70b15057-d0a7-4a1a-9921-916c231c27cd",
"name": "Obtener enlaces de subida",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1860,
1300
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "2b2e26cc-bed5-4ead-9327-8b1674031541",
"name": "Subir TTS a Shotstack",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1460,
1400
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "b2631555-e873-4ea1-a951-5001f7bbad09",
"name": "Subir videos a ShotStack",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1500,
880
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "6b429842-ca6d-4d3e-a068-8bfe976cb5e8",
"name": "Esperar 10s",
"type": "n8n-nodes-base.wait",
"position": [
-1200,
880
],
"webhookId": "99f6aa0e-1a5e-4e24-932d-aeb3c1f376d9",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "4155cf71-654c-427b-90ec-6c044b5c37cb",
"name": "Esperar 15s",
"type": "n8n-nodes-base.wait",
"position": [
-1120,
1320
],
"webhookId": "1b88ec57-52b1-4844-ac33-19b79c333c24",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "92fe5007-125b-4283-bcd8-0b29e518bf72",
"name": "Al hacer clic en 'Probar flujo de trabajo'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-4800,
1380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "93a5d875-8fe8-4933-a72c-42b1b7432ad1",
"name": "Limitar longitud de comentarios",
"type": "n8n-nodes-base.code",
"position": [
-3280,
1100
],
"parameters": {},
"typeVersion": 2
},
{
"id": "1d0aac60-8b34-4c8f-b1ca-fec9c0ce4ed3",
"name": "Combinar línea de tiempo y solicitud HTTP",
"type": "n8n-nodes-base.merge",
"position": [
540,
1220
],
"parameters": {},
"typeVersion": 3
},
{
"id": "4fec0793-bcfb-4a44-a4f6-7a01ed55a654",
"name": "Renderizar el video",
"type": "n8n-nodes-base.httpRequest",
"position": [
300,
1000
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "9100ba52-a06b-4979-9d24-419b0c2f8a82",
"name": "Esperar",
"type": "n8n-nodes-base.wait",
"position": [
560,
920
],
"webhookId": "47e08c23-7695-4a6a-be3b-f98fcd4334a0",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "175c2522-b666-48b2-bb68-2ab3fd866923",
"name": "Obtener enlace de video",
"type": "n8n-nodes-base.httpRequest",
"position": [
780,
920
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "ddeca417-8dbe-4beb-b22d-a18674793329",
"name": "Si renderizado",
"type": "n8n-nodes-base.if",
"position": [
980,
920
],
"parameters": {},
"executeOnce": false,
"typeVersion": 2.2
},
{
"id": "0280d3cf-b162-4a0b-a599-de041c245154",
"name": "Obtener la URL",
"type": "n8n-nodes-base.set",
"position": [
1260,
900
],
"parameters": {},
"executeOnce": true,
"typeVersion": 3.4
}
],
"pinData": {
"When clicking ‘Test workflow’": [
{
"body": {
"voice": "nova",
"ttsSpeed": 1,
"redditLink": "https://www.reddit.com/r/Entrepreneur/comments/1ixokgx/is_it_normal_to_feel_behind_at_29_years_old_when",
"videoLength": 60
}
}
]
},
"connections": {
"6b018650-f54b-4bcb-b927-971221e280e5": {
"main": [
[
{
"node": "f8efb701-d8ae-4c71-a3af-c95f83743739",
"type": "main",
"index": 0
}
]
]
},
"9100ba52-a06b-4979-9d24-419b0c2f8a82": {
"main": [
[
{
"node": "175c2522-b666-48b2-bb68-2ab3fd866923",
"type": "main",
"index": 0
}
]
]
},
"7daba492-81a4-4f21-a521-34b482d52272": {
"main": [
[
{
"node": "b16d8e2f-d0c1-4822-83cd-569dbfd60d01",
"type": "main",
"index": 0
},
{
"node": "b81b9351-19d8-429e-af0f-34dbd093aeb9",
"type": "main",
"index": 0
},
{
"node": "b9498f9c-d3ea-4136-84e4-051ee823204a",
"type": "main",
"index": 0
},
{
"node": "e4818147-e130-43ea-800d-a2ac42c40324",
"type": "main",
"index": 0
}
]
]
},
"6b429842-ca6d-4d3e-a068-8bfe976cb5e8": {
"main": [
[
{
"node": "f364947c-6b24-4bd3-ad9d-009f2990d04a",
"type": "main",
"index": 0
}
]
]
},
"4155cf71-654c-427b-90ec-6c044b5c37cb": {
"main": [
[
{
"node": "a0d13f64-c61d-409b-958e-c6d60028b467",
"type": "main",
"index": 0
}
]
]
},
"ddeca417-8dbe-4beb-b22d-a18674793329": {
"main": [
[
{
"node": "0280d3cf-b162-4a0b-a599-de041c245154",
"type": "main",
"index": 0
}
],
[
{
"node": "9100ba52-a06b-4979-9d24-419b0c2f8a82",
"type": "main",
"index": 0
}
]
]
},
"70dde8c7-53d9-4e01-a470-a8778c5224cf": {
"main": [
[
{
"node": "68e0f4de-c7cd-4c95-b864-216e8451ee16",
"type": "main",
"index": 2
}
]
]
},
"c82ef841-c864-4980-9319-6e2e0a7985ce": {
"main": [
[
{
"node": "24b67449-d896-4a66-ab9b-18cbda213f61",
"type": "main",
"index": 0
},
{
"node": "6d9334d4-547d-4bc5-99fe-fb56ebe6845f",
"type": "main",
"index": 0
},
{
"node": "7e329005-5824-4818-878a-ec5ab97031dc",
"type": "main",
"index": 0
}
]
]
},
"f8efb701-d8ae-4c71-a3af-c95f83743739": {
"main": [
[
{
"node": "3face551-4170-4370-b476-ee88cafaba43",
"type": "main",
"index": 1
},
{
"node": "70b15057-d0a7-4a1a-9921-916c231c27cd",
"type": "main",
"index": 0
}
]
]
},
"7e329005-5824-4818-878a-ec5ab97031dc": {
"main": [
[
{
"node": "4e1467f2-2798-4bd3-a339-9063bab63e42",
"type": "main",
"index": 0
}
]
]
},
"a0d13f64-c61d-409b-958e-c6d60028b467": {
"main": [
[
{
"node": "4c58be43-96d0-4d5c-b3df-f0d774a35c64",
"type": "main",
"index": 0
}
]
]
},
"175c2522-b666-48b2-bb68-2ab3fd866923": {
"main": [
[
{
"node": "ddeca417-8dbe-4beb-b22d-a18674793329",
"type": "main",
"index": 0
}
]
]
},
"f364947c-6b24-4bd3-ad9d-009f2990d04a": {
"main": [
[
{
"node": "6129fe06-3b3b-42dd-8247-509f155eb974",
"type": "main",
"index": 0
}
]
]
},
"2dd7c499-6cae-414d-9d2c-3eb36b396ebb": {
"main": [
[
{
"node": "4155cf71-654c-427b-90ec-6c044b5c37cb",
"type": "main",
"index": 0
}
]
]
},
"6129fe06-3b3b-42dd-8247-509f155eb974": {
"main": [
[
{
"node": "68e0f4de-c7cd-4c95-b864-216e8451ee16",
"type": "main",
"index": 0
}
]
]
},
"70b15057-d0a7-4a1a-9921-916c231c27cd": {
"main": [
[
{
"node": "3face551-4170-4370-b476-ee88cafaba43",
"type": "main",
"index": 0
},
{
"node": "2dd7c499-6cae-414d-9d2c-3eb36b396ebb",
"type": "main",
"index": 0
}
]
]
},
"618a6bf4-31ec-4f4b-ad02-1fd0bd9b5565": {
"main": [
[
{
"node": "c82ef841-c864-4980-9319-6e2e0a7985ce",
"type": "main",
"index": 0
}
]
]
},
"4fec0793-bcfb-4a44-a4f6-7a01ed55a654": {
"main": [
[
{
"node": "1d0aac60-8b34-4c8f-b1ca-fec9c0ce4ed3",
"type": "main",
"index": 0
},
{
"node": "9100ba52-a06b-4979-9d24-419b0c2f8a82",
"type": "main",
"index": 0
}
]
]
},
"b81b9351-19d8-429e-af0f-34dbd093aeb9": {
"main": [
[
{
"node": "9d0d572c-c3db-40f3-996e-c248e2b98bc5",
"type": "main",
"index": 0
}
]
]
},
"ece8f40e-318e-4d76-b237-1b26545c8e9c": {
"main": [
[
{
"node": "e47fb3b0-e092-426a-9cb0-fad609097515",
"type": "main",
"index": 0
}
]
]
},
"24b67449-d896-4a66-ab9b-18cbda213f61": {
"main": [
[
{
"node": "68e0f4de-c7cd-4c95-b864-216e8451ee16",
"type": "main",
"index": 1
}
]
]
},
"e4818147-e130-43ea-800d-a2ac42c40324": {
"main": [
[
{
"node": "9d1aa00d-31fd-4137-b788-64d48427e8e0",
"type": "main",
"index": 0
}
]
]
},
"93a5d875-8fe8-4933-a72c-42b1b7432ad1": {
"main": [
[
{
"node": "618a6bf4-31ec-4f4b-ad02-1fd0bd9b5565",
"type": "main",
"index": 0
}
]
]
},
"b9498f9c-d3ea-4136-84e4-051ee823204a": {
"main": [
[
{
"node": "e47fb3b0-e092-426a-9cb0-fad609097515",
"type": "main",
"index": 1
}
]
]
},
"9d0d572c-c3db-40f3-996e-c248e2b98bc5": {
"main": [
[
{
"node": "ece8f40e-318e-4d76-b237-1b26545c8e9c",
"type": "main",
"index": 0
}
]
]
},
"b16d8e2f-d0c1-4822-83cd-569dbfd60d01": {
"main": [
[
{
"node": "6d9334d4-547d-4bc5-99fe-fb56ebe6845f",
"type": "main",
"index": 1
}
]
]
},
"2b2e26cc-bed5-4ead-9327-8b1674031541": {
"main": [
[
{
"node": "2dd7c499-6cae-414d-9d2c-3eb36b396ebb",
"type": "main",
"index": 1
}
]
]
},
"4e1467f2-2798-4bd3-a339-9063bab63e42": {
"main": [
[
{
"node": "b2631555-e873-4ea1-a951-5001f7bbad09",
"type": "main",
"index": 0
}
]
]
},
"b2631555-e873-4ea1-a951-5001f7bbad09": {
"main": [
[
{
"node": "6b429842-ca6d-4d3e-a068-8bfe976cb5e8",
"type": "main",
"index": 0
}
]
]
},
"ee6cd394-6714-4ae5-88c7-36950915a0b4": {
"main": [
[
{
"node": "4fec0793-bcfb-4a44-a4f6-7a01ed55a654",
"type": "main",
"index": 0
},
{
"node": "1d0aac60-8b34-4c8f-b1ca-fec9c0ce4ed3",
"type": "main",
"index": 1
}
]
]
},
"1d0aac60-8b34-4c8f-b1ca-fec9c0ce4ed3": {
"main": [
[
{
"node": "4d417707-6153-451b-8cb4-e55b219272dd",
"type": "main",
"index": 0
}
]
]
},
"6d9334d4-547d-4bc5-99fe-fb56ebe6845f": {
"main": [
[
{
"node": "6b018650-f54b-4bcb-b927-971221e280e5",
"type": "main",
"index": 0
}
]
]
},
"e47fb3b0-e092-426a-9cb0-fad609097515": {
"main": [
[
{
"node": "93a5d875-8fe8-4933-a72c-42b1b7432ad1",
"type": "main",
"index": 0
}
]
]
},
"9d1aa00d-31fd-4137-b788-64d48427e8e0": {
"main": [
[
{
"node": "9d0d572c-c3db-40f3-996e-c248e2b98bc5",
"type": "main",
"index": 1
}
]
]
},
"4c58be43-96d0-4d5c-b3df-f0d774a35c64": {
"main": [
[
{
"node": "70dde8c7-53d9-4e01-a470-a8778c5224cf",
"type": "main",
"index": 0
}
],
[
{
"node": "4155cf71-654c-427b-90ec-6c044b5c37cb",
"type": "main",
"index": 0
}
]
]
},
"68e0f4de-c7cd-4c95-b864-216e8451ee16": {
"main": [
[
{
"node": "ee6cd394-6714-4ae5-88c7-36950915a0b4",
"type": "main",
"index": 0
}
]
]
},
"3face551-4170-4370-b476-ee88cafaba43": {
"main": [
[
{
"node": "2b2e26cc-bed5-4ead-9327-8b1674031541",
"type": "main",
"index": 0
}
]
]
},
"92fe5007-125b-4283-bcd8-0b29e518bf72": {
"main": [
[
{
"node": "b81b9351-19d8-429e-af0f-34dbd093aeb9",
"type": "main",
"index": 0
},
{
"node": "e4818147-e130-43ea-800d-a2ac42c40324",
"type": "main",
"index": 0
},
{
"node": "b9498f9c-d3ea-4136-84e4-051ee823204a",
"type": "main",
"index": 0
},
{
"node": "b16d8e2f-d0c1-4822-83cd-569dbfd60d01",
"type": "main",
"index": 0
}
]
]
}
}
}¿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 - Inteligencia Artificial, Marketing
¿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
Compartir este flujo de trabajo