Plantilla-Jsoncut-rss-a-publicación
Este es unautomatización que contiene 24 nodos.Utiliza principalmente nodos como If, Wait, Merge, Aggregate, HttpRequest. Usa GPT-5 y JsonCut para crear publicaciones para redes sociales generadas por IA a partir de fuentes RSS
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Clave de API de OpenAI
Nodos utilizados (24)
Categoría
{
"id": "6sUDUla47A6KusB5",
"meta": {
"instanceId": "9d644af8fe730dfb972042f018ed45ff1dc2e7905a9737d59584dbe5b8c7f571",
"templateCredsSetupCompleted": true
},
"name": "Template-Jsoncut-rss-to-post",
"tags": [
{
"id": "4f5HsQRwHRxYIUuf",
"name": "jsoncut",
"createdAt": "2025-10-12T07:39:06.742Z",
"updatedAt": "2025-10-12T07:39:06.742Z"
}
],
"nodes": [
{
"id": "9d5b9817-93c7-42c4-8da9-81c5c1c02f73",
"name": "Esperar",
"type": "n8n-nodes-base.wait",
"position": [
112,
80
],
"webhookId": "5c413144-f196-40c6-b5f9-0e2be8384ca4",
"parameters": {
"unit": "seconds",
"amount": 3
},
"typeVersion": 1
},
{
"id": "a9b88701-da61-43bf-b0d7-53b2663e72af",
"name": "Si Éxito",
"type": "n8n-nodes-base.if",
"position": [
528,
80
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json.data.status }}",
"value2": "COMPLETED"
}
]
}
},
"typeVersion": 1
},
{
"id": "30ac196e-564a-48c4-9f44-271eac827bac",
"name": "Si Error",
"type": "n8n-nodes-base.if",
"position": [
544,
336
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json.data.status }}",
"value2": "FAILED"
},
{
"value1": "={{ $json.data.status }}",
"value2": "CANCELLED"
}
]
}
},
"typeVersion": 1
},
{
"id": "90295a9f-6e2c-4c99-b009-7efddc24d4b7",
"name": "Descargar Imagen",
"type": "n8n-nodes-base.httpRequest",
"position": [
704,
64
],
"parameters": {
"url": "=https://api.jsoncut.com/api/v1/files/{{ $json.data.outputFileId }}/download",
"options": {
"response": {
"response": {
"responseFormat": "file"
}
}
},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Accept",
"value": "application/octet-stream"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "SX6i9sHw3AcKihne",
"name": "JsonCut API Key"
}
},
"typeVersion": 4.1
},
{
"id": "829c9892-ae21-45ed-9ff0-d64db3642d12",
"name": "Detener por Error",
"type": "n8n-nodes-base.stopAndError",
"position": [
736,
352
],
"parameters": {
"errorMessage": "Failed to generate image"
},
"typeVersion": 1
},
{
"id": "4bffc896-ff22-4a16-bcab-87e8d05ee037",
"name": "Agregar",
"type": "n8n-nodes-base.aggregate",
"position": [
1328,
-240
],
"parameters": {
"options": {},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "data.storageUrl"
},
{}
]
}
},
"typeVersion": 1
},
{
"id": "586499e1-a938-4583-b660-39203040abb5",
"name": "Nota Adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
848,
-528
],
"parameters": {
"width": 272,
"height": 416,
"content": "### Upload Files to JsonCut API"
},
"typeVersion": 1
},
{
"id": "21bf3d04-e743-4d63-9c68-0dc843c7cf94",
"name": "Nota Adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
0
],
"parameters": {
"color": 4,
"width": 1104,
"height": 576,
"content": "### Create Job with Jsoncut API and wait for the result\nAlternatively, the JsonCut Community node can also be used (https://github.com/jsoncut/n8n-nodes-jsoncut)."
},
"typeVersion": 1
},
{
"id": "02264c63-4392-4aeb-b51e-b4a3669f3cbd",
"name": "Crear Trabajo JsonCut",
"type": "n8n-nodes-base.httpRequest",
"position": [
-112,
80
],
"parameters": {
"url": "https://api.jsoncut.com/api/v1/jobs",
"method": "POST",
"options": {},
"jsonBody": "={\n \"type\": \"image\",\n \"config\": {\n \"width\": 1024,\n \"height\": 1024,\n \"layers\": [\n {\n \"type\": \"image\",\n \"path\": \"{{ $json.storageUrl[0] }}\",\n \"position\": \"center\",\n \"width\": 1024,\n \"height\": 1024,\n \"fit\": \"cover\",\n \"blur\": 3\n },\n { \"type\": \"rectangle\",\n \"width\": 300,\n \"fill\": \"#6be3a2\",\n \"height\": 3,\n \"position\": {\n \"originX\": \"right\",\n \"originY\": \"center\",\n \"x\": 0.4,\n \"y\": 0.5\n }\n },\n { \"type\": \"rectangle\",\n \"width\": 300,\n \"fill\": \"#6be3a2\",\n \"height\": 3,\n \"position\": {\n \"originX\": \"left\",\n \"originY\": \"center\",\n \"x\": 0.6,\n \"y\": 0.5\n }\n },\n {\n \"type\": \"image\",\n \"path\": \"{{ $json.storageUrl[1] }}\",\n \"position\": \"center\",\n \"width\": 100,\n \"height\": 100,\n \"fit\": \"contain\"\n },\n {\n \"type\": \"text\",\n \"text\": \"{{ $('Generate content and Image Prompt').item.json.message.content.headline }}\",\n \"googleFont\": \"Roboto:800\",\n \"width\": 800,\n \"position\": {\n \"x\": 0.5,\n \"y\": 0.6,\n \"originX\": \"center\",\n \"originY\": \"top\"\n },\n \"wrap\": true,\n \"fontSize\": 75,\n \"color\": \"#6be3a2\",\n \"align\": \"center\"\n },\n {\n \"type\": \"text\",\n \"text\": \"source: bbc\",\n \"position\": {\n \"x\": 0.95,\n \"y\": 0.95,\n \"originX\": \"right\",\n \"originY\": \"bottom\"\n },\n \"fontSize\": 16,\n \"color\": \"#FFFFFF\",\n \"align\": \"right\",\n \"fontFamily\": \"Arial\"\n }\n ],\n \"format\": \"png\"\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "SX6i9sHw3AcKihne",
"name": "JsonCut API Key"
}
},
"typeVersion": 4.1
},
{
"id": "d3db3b31-7eb6-4fd1-a1a3-e4ff65e1cadd",
"name": "Verificar Estado Trabajo JsonCut",
"type": "n8n-nodes-base.httpRequest",
"position": [
336,
80
],
"parameters": {
"url": "=https://api.jsoncut.com/api/v1/jobs/{{ $json.data.jobId }}",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "SX6i9sHw3AcKihne",
"name": "JsonCut API Key"
}
},
"typeVersion": 4.1
},
{
"id": "15ebe906-b661-487d-8556-7c3a4c347ea0",
"name": "Activador RSS Feed",
"type": "n8n-nodes-base.rssFeedReadTrigger",
"position": [
-368,
-448
],
"parameters": {
"feedUrl": "https://feeds.bbci.co.uk/news/world/rss.xml",
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1
},
{
"id": "a32af513-0c7e-4916-a33e-9fd8dbcaa25f",
"name": "Generar Contenido y Prompt de Imagen",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-96,
-448
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-5-mini",
"cachedResultName": "GPT-5-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "=You are a professional news writer and social media strategist.\n\nYou will receive:\n- headline: {{ $json.title }}\n- content: {{ $json.content }}\n\nYour task:\nCreate content for an Instagram image post based on this news article.\n\nOutput a JSON object with the following fields:\n\n1. \"headline\" → Rewrite or shorten the given headline so it is optimized for Instagram. \n - Maximum 100 characters or 12 words. \n - It should be attention-grabbing, emotionally engaging, and suitable for social media.\n\n2. \"image_prompt\" → Write a short descriptive prompt for an AI image generator that would produce a background image for the post. \n - The image should visually represent the article’s topic. \n - Describe the mood, setting, style, and main elements clearly. \n - Do NOT include any text or words in the image.\n\nOutput only a valid JSON object like this:\n{\n \"headline\": \"...\",\n \"image_prompt\": \"...\"\n}\n"
}
]
},
"jsonOutput": true
},
"credentials": {
"openAiApi": {
"id": "nthYYcpDIou7MYYb",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "7e7cf07c-c99e-4a96-9ca6-24feeb3a2c6a",
"name": "Generar Imagen de Fondo",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
240,
-448
],
"parameters": {
"prompt": "={{ $json.message.content.image_prompt }}",
"options": {
"size": "1024x1024",
"returnImageUrls": true
},
"resource": "image"
},
"credentials": {
"openAiApi": {
"id": "nthYYcpDIou7MYYb",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "f12a391a-7c8d-4541-8afe-db3701cc6ecd",
"name": "Subir Logo",
"type": "n8n-nodes-base.httpRequest",
"position": [
928,
-272
],
"parameters": {
"url": "https://api.jsoncut.com/api/v1/files/upload",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "file",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "SX6i9sHw3AcKihne",
"name": "JsonCut API Key"
}
},
"typeVersion": 4.1
},
{
"id": "6a7eea70-9474-4971-a54b-02cfdca2252a",
"name": "Descargar Logo",
"type": "n8n-nodes-base.httpRequest",
"position": [
608,
-272
],
"parameters": {
"url": "https://img.icons8.com/?size=100&id=tn7B1mGNMgGC&format=png&color=000000",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "255aceb2-d4d8-4896-ae0c-4023d7f7e184",
"name": "Nota Adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
-528
],
"parameters": {
"color": 5,
"width": 272,
"height": 416,
"content": "### Download ressources"
},
"typeVersion": 1
},
{
"id": "6739c191-19e8-4a53-b9fd-b88811f76703",
"name": "Nota Adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-176,
-512
],
"parameters": {
"color": 3,
"width": 624,
"height": 320,
"content": "### Generate Text and Background with AI"
},
"typeVersion": 1
},
{
"id": "e9c51119-ac5e-4d09-89b5-b6ae4ea7ef52",
"name": "Descargar Fondo",
"type": "n8n-nodes-base.httpRequest",
"position": [
608,
-448
],
"parameters": {
"url": "={{ $json.url }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "0f3cdcce-fb3a-400d-a724-cce8184eb31d",
"name": "Combinar",
"type": "n8n-nodes-base.merge",
"position": [
1184,
-288
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "a2d63bfc-04a0-4898-91ba-995a8b4b3ce7",
"name": "Subir Fondo",
"type": "n8n-nodes-base.httpRequest",
"position": [
928,
-448
],
"parameters": {
"url": "https://api.jsoncut.com/api/v1/files/upload",
"method": "POST",
"options": {
"redirect": {
"redirect": {}
}
},
"sendBody": true,
"contentType": "multipart-form-data",
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "file",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "SX6i9sHw3AcKihne",
"name": "JsonCut API Key"
}
},
"typeVersion": 4.2
},
{
"id": "92276ce9-9fa9-430c-b4d1-8bef02df282b",
"name": "Subir Medio",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1088,
96
],
"parameters": {
"resource": "media",
"useBinaryData": true
},
"credentials": {
"blotatoApi": {
"id": "cLHZMOihniwVaQOz",
"name": "Blotato account"
}
},
"typeVersion": 2,
"alwaysOutputData": false
},
{
"id": "87f5a46c-4b67-4c56-9400-502d70831730",
"name": "Crear Texto Instagram",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1232,
96
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-5-mini",
"cachedResultName": "GPT-5-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "=You are a professional social media copywriter creating engaging Instagram post texts for a **news account**.\n\nYou will be given: \n- **Headline:** `{{ $('RSS Feed Trigger').item.json.title }}` \n- **Short Description:** `{{ $('RSS Feed Trigger').item.json.content }}` \n\nYour task: \nWrite a compelling Instagram post text that: \n- Uses the provided information to create an engaging and natural caption. \n- **Does not** copy the headline or description word-for-word — rephrase and expand them instead. \n- Provides a bit more **context or background** about the news to make it interesting. \n- Starts with a **hook or attention-grabber**, followed by a **short explanation**, and ends with a **call to action or reflection** (e.g., “What do you think?”, “Share your thoughts below!”). \n- Has a tone that fits **Instagram**: professional yet conversational and relatable. \n- **Avoids repeating** the headline literally, since it already appears on the image. \n- The output must be in **valid JSON format** with **one field** only.\n\n---\n\n**Output Format**\n```json\n{\n \"post_text\": \"Your generated Instagram caption here.\"\n}\n```\n\n**Example Output**\n```\n{\n \"post_text\": \"Big news in tech! 🚀 A leading company has just unveiled an AI solution designed to help small businesses automate their daily work. This could completely change how many teams operate. What’s your take on this innovation? 💭👇\"\n}\n```"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "nthYYcpDIou7MYYb",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "5e34a19a-c8d1-4eda-9a1f-a8abbdcca53d",
"name": "Crear Publicación Instagram",
"type": "@blotato/n8n-nodes-blotato.blotato",
"position": [
1568,
96
],
"parameters": {
"options": {},
"accountId": {
"__rl": true,
"mode": "id",
"value": "1234"
},
"postContentText": "={{ $json.message.content }}",
"postContentMediaUrls": "={{ $('Upload media').item.json.data[0].url }}"
},
"credentials": {
"blotatoApi": {
"id": "cLHZMOihniwVaQOz",
"name": "Blotato account"
}
},
"typeVersion": 2
},
{
"id": "479b1471-66aa-42c5-a65d-a14b05b8ada2",
"name": "Nota Adhesiva4",
"type": "n8n-nodes-base.stickyNote",
"position": [
992,
0
],
"parameters": {
"width": 784,
"height": 256,
"content": "### Post on Instagram\nAdditional social media channels can be added here."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "712ad656-2512-4b71-a773-f479187d4db5",
"connections": {
"9d5b9817-93c7-42c4-8da9-81c5c1c02f73": {
"main": [
[
{
"node": "d3db3b31-7eb6-4fd1-a1a3-e4ff65e1cadd",
"type": "main",
"index": 0
}
]
]
},
"0f3cdcce-fb3a-400d-a724-cce8184eb31d": {
"main": [
[
{
"node": "4bffc896-ff22-4a16-bcab-87e8d05ee037",
"type": "main",
"index": 0
}
]
]
},
"30ac196e-564a-48c4-9f44-271eac827bac": {
"main": [
[
{
"node": "829c9892-ae21-45ed-9ff0-d64db3642d12",
"type": "main",
"index": 0
}
],
[
{
"node": "9d5b9817-93c7-42c4-8da9-81c5c1c02f73",
"type": "main",
"index": 0
}
]
]
},
"4bffc896-ff22-4a16-bcab-87e8d05ee037": {
"main": [
[
{
"node": "02264c63-4392-4aeb-b51e-b4a3669f3cbd",
"type": "main",
"index": 0
}
]
]
},
"a9b88701-da61-43bf-b0d7-53b2663e72af": {
"main": [
[
{
"node": "90295a9f-6e2c-4c99-b009-7efddc24d4b7",
"type": "main",
"index": 0
}
],
[
{
"node": "30ac196e-564a-48c4-9f44-271eac827bac",
"type": "main",
"index": 0
}
]
]
},
"f12a391a-7c8d-4541-8afe-db3701cc6ecd": {
"main": [
[
{
"node": "0f3cdcce-fb3a-400d-a724-cce8184eb31d",
"type": "main",
"index": 1
}
]
]
},
"92276ce9-9fa9-430c-b4d1-8bef02df282b": {
"main": [
[
{
"node": "87f5a46c-4b67-4c56-9400-502d70831730",
"type": "main",
"index": 0
}
]
]
},
"6a7eea70-9474-4971-a54b-02cfdca2252a": {
"main": [
[
{
"node": "f12a391a-7c8d-4541-8afe-db3701cc6ecd",
"type": "main",
"index": 0
}
]
]
},
"90295a9f-6e2c-4c99-b009-7efddc24d4b7": {
"main": [
[
{
"node": "92276ce9-9fa9-430c-b4d1-8bef02df282b",
"type": "main",
"index": 0
}
]
]
},
"15ebe906-b661-487d-8556-7c3a4c347ea0": {
"main": [
[
{
"node": "a32af513-0c7e-4916-a33e-9fd8dbcaa25f",
"type": "main",
"index": 0
}
]
]
},
"a2d63bfc-04a0-4898-91ba-995a8b4b3ce7": {
"main": [
[
{
"node": "0f3cdcce-fb3a-400d-a724-cce8184eb31d",
"type": "main",
"index": 0
}
]
]
},
"02264c63-4392-4aeb-b51e-b4a3669f3cbd": {
"main": [
[
{
"node": "9d5b9817-93c7-42c4-8da9-81c5c1c02f73",
"type": "main",
"index": 0
}
]
]
},
"e9c51119-ac5e-4d09-89b5-b6ae4ea7ef52": {
"main": [
[
{
"node": "a2d63bfc-04a0-4898-91ba-995a8b4b3ce7",
"type": "main",
"index": 0
}
]
]
},
"87f5a46c-4b67-4c56-9400-502d70831730": {
"main": [
[
{
"node": "5e34a19a-c8d1-4eda-9a1f-a8abbdcca53d",
"type": "main",
"index": 0
}
]
]
},
"d3db3b31-7eb6-4fd1-a1a3-e4ff65e1cadd": {
"main": [
[
{
"node": "a9b88701-da61-43bf-b0d7-53b2663e72af",
"type": "main",
"index": 0
}
]
]
},
"7e7cf07c-c99e-4a96-9ca6-24feeb3a2c6a": {
"main": [
[
{
"node": "e9c51119-ac5e-4d09-89b5-b6ae4ea7ef52",
"type": "main",
"index": 0
},
{
"node": "6a7eea70-9474-4971-a54b-02cfdca2252a",
"type": "main",
"index": 0
}
]
]
},
"a32af513-0c7e-4916-a33e-9fd8dbcaa25f": {
"main": [
[
{
"node": "7e7cf07c-c99e-4a96-9ca6-24feeb3a2c6a",
"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
¿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
8Automator
@kesim0Compartir este flujo de trabajo