Automatizador de publicación de títulos para redes sociales con Bright_data

Avanzado

Este es unAIflujo de automatización del dominio deautomatización que contiene 16 nodos.Utiliza principalmente nodos como Set, Html, Twitter, LinkedIn, HttpRequest, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Automatización de títulos para redes sociales con Bright Data y n8n

Requisitos previos
  • Credenciales de API de Twitter
  • Credenciales de API de LinkedIn
  • Pueden requerirse credenciales de autenticación para la API de destino
  • Clave de API de OpenAI
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "id": "u2mAzsvf9Aj0k3Ux",
  "meta": {
    "instanceId": "60046904b104f0f72b2629a9d88fe9f676be4035769f1f08dad1dd38a76b9480"
  },
  "name": "Automated_Social_Media_Headline_Poster_via_Bright_data",
  "tags": [],
  "nodes": [
    {
      "id": "22814b65-765e-48c3-98c2-00982b74e70e",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3000,
        900
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8sEyPDkC5p4w4Jha",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb",
      "name": "LinkedIn post writer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2980,
        680
      ],
      "parameters": {
        "text": "={{ $json.Title }}",
        "options": {
          "systemMessage": "Extract the headline and write a post for LinkedIn based on the headline"
        },
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "aac3869f-9f8e-49b0-bdc9-9eae0921474c",
      "name": "Ejecutar workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        1960,
        680
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a5187a0d-25b8-45d4-8578-4ad51397ab41",
      "name": "Establecer URL de Noticia Destino",
      "type": "n8n-nodes-base.set",
      "position": [
        2180,
        680
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "2c5f11b0-9f25-4b30-b0a0-1080fd33e7d4",
              "name": "SIte",
              "type": "string",
              "value": "Vogue"
            },
            {
              "id": "65be4ab3-6cef-4f70-9cb9-e9753fbf7543",
              "name": "URL",
              "type": "string",
              "value": "https://www.vogue.com/fashion"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "79362a39-b73d-4f40-bdee-780d78abfae6",
      "name": "Publicar en LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        3360,
        680
      ],
      "parameters": {
        "text": "={{ $json.output }}",
        "additionalFields": {}
      },
      "typeVersion": 1
    },
    {
      "id": "fbf2c950-fd2c-4aa3-9e24-45d171f1056b",
      "name": "Publicar en X (Twitter)",
      "type": "n8n-nodes-base.twitter",
      "position": [
        3980,
        680
      ],
      "parameters": {
        "text": "={{ $json.output }}",
        "additionalFields": {}
      },
      "typeVersion": 2
    },
    {
      "id": "7f4e4da6-3611-496b-a4bc-93daa1d9039f",
      "name": "X (Twitter) post writer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3620,
        680
      ],
      "parameters": {
        "text": "={{ $('Extract Title').item.json.Title }}",
        "options": {
          "systemMessage": "Extract the headline and write a post for Twitter based on the headline"
        },
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "7b730fa3-5c0a-422f-8de5-f713b2f945ab",
      "name": "Nota Adhesiva9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 4,
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n   - YouTube: https://www.youtube.com/@YaronBeen/videos\n   - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n=======================================\n"
      },
      "typeVersion": 1
    },
    {
      "id": "defc9ec0-917a-4020-940b-9cb926a3a582",
      "name": "Nota Adhesiva4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        340
      ],
      "parameters": {
        "color": 4,
        "width": 1289,
        "height": 3418,
        "content": "# ⚡ Automated Vogue Headline → Social Media Poster\n\n### 🧠 Purpose:\n\nAutomatically scrape trending headlines from Vogue, convert them into engaging posts using AI, and publish them to **LinkedIn** and **Twitter (X)** — *no manual effort needed*.\n\n---\n\n## 🔶 **Section 1: Set the Target Source**\n\n📌 *Nodes:*\n\n* `Run workflow`\n* `Set Target News URL`\n\n### 🛠 What’s Happening:\n\n* ✅ `Run workflow`: Triggers the automation either manually or on a schedule (e.g., daily).\n* 🖊 `Set Target News URL`: Sets the **source URL** (e.g., `https://www.vogue.com/fashion`) from where the headlines will be scraped.\n\n### 💡 Why It Matters:\n\nThis lets you choose your news source dynamically. You could even expand this later for other websites like *TechCrunch, Forbes, etc.*\n\n> ![🧭](https://em-content.zobj.net/thumbs/120/apple/354/compass_1f9ed.png) Think of this section as the **GPS** – it tells the system where to go fetch the news from.\n\n---\n\n## 🔷 **Section 2: Scrape & Extract Headlines**\n\n📌 *Nodes:*\n\n* `Scrape Vogue via Bright Data`\n* `Extract Title`\n\n### 🛠 What’s Happening:\n\n* 🌐 `Scrape Vogue via Bright Data`: Uses **Bright Data Web Unlocker** to bypass bot protection and get the full HTML of the Vogue page using a POST request.\n* 🧾 `Extract Title`: Extracts the headline(s) from the HTML using a CSS selector like `.article-feed-card__hed-text`.\n\n### 💡 Why It Matters:\n\nSome websites block scraping — **Bright Data** ensures you can reliably extract content. The extractor node ensures you get clean, usable text.\n\n> ![🕸️](https://em-content.zobj.net/thumbs/120/apple/354/spider-web_1f578-fe0f.png) This is your **web crawler** and **filter**, doing the dirty work of fetching and cleaning up info.\n\n---\n\n## 🟣 **Section 3: Use AI to Write Engaging Posts**\n\n📌 *Nodes:*\n\n* `LinkedIn post writer`\n* `X (Twitter) post writer`\n\n### 🛠 What’s Happening:\n\n* 🤖 `LinkedIn post writer`: Passes the headline to an OpenAI Chat Model to turn it into a professional, catchy LinkedIn post.\n* 🐦 `X (Twitter) post writer`: Similarly formats a shorter, witty version for X/Twitter.\n\nBoth use prompts like:\n\n> “Write a trendy post about the following Vogue headline for \\[LinkedIn/Twitter]. Add hashtags. Keep tone professional/casual.”\n\n### 💡 Why It Matters:\n\nAI tailors each post **per platform** — no copy-pasting. Your brand voice is preserved while staying context-aware.\n\n> ![✍️](https://em-content.zobj.net/thumbs/120/apple/354/writing-hand_270d-fe0f.png) This is your **copywriting intern** — except it works 24/7 and never gets tired.\n\n---\n\n## 🔴 **Section 4: Auto-Publish to Social Media**\n\n📌 *Nodes:*\n\n* `Publish to LinkedIn`\n* `Publish to X (Twitter)`\n\n### 🛠 What’s Happening:\n\n* 💼 `Publish to LinkedIn`: Posts the AI-generated content directly to your **LinkedIn page or profile**.\n* 📣 `Publish to X (Twitter)`: Tweets the optimized content via your **Twitter developer account**.\n\n> Note: These nodes are showing ⚠️ errors — make sure authentication and permissions (tokens) are set up correctly.\n\n### 💡 Why It Matters:\n\nThis eliminates **manual social media posting** — great for content marketers, personal branding, or agencies.\n\n> ![🚀](https://em-content.zobj.net/thumbs/120/apple/354/rocket_1f680.png) This section is your **launchpad**, sending your posts to the world.\n\n---\n\n# 🧩 Summary Table\n\n| Section | Function                     | What It Does                                     | Key Tools                      |\n| ------- | ---------------------------- | ------------------------------------------------ | ------------------------------ |\n| 1       | Set Target URL               | Tells the system what site to scrape             | `Manual Trigger`, `Set Node`   |\n| 2       | Scrape & Extract             | Uses Bright Data to get HTML + Extract headlines | `HTTP Request`, `HTML Extract` |\n| 3       | AI Content Generation        | Converts headline into social media post         | `OpenAI`, `Chat Model`         |\n| 4       | Auto-Publish to Social Media | Posts to LinkedIn and Twitter                    | `LinkedIn`, `X/Twitter`        |\n\n---\n\n# ✨ Bonus Suggestions\n\n✅ Add a **scheduler** to run this daily\n✅ Log posted headlines in **Google Sheets or Notion**\n✅ Add a filter to **skip duplicate headlines**\n\n---\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "490c2efe-0d1e-408c-806c-5e3a48f61264",
      "name": "Extraer datos de Vogue via Bright Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2480,
        680
      ],
      "parameters": {
        "url": "https://api.brightdata.com/request",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "zone",
              "value": "n8n_unblocker"
            },
            {
              "name": "url",
              "value": "={{ $json.URL }}"
            },
            {
              "name": "country",
              "value": "us"
            },
            {
              "name": "format",
              "value": "raw"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "a7a4f66f-b5a8-4563-a306-57b72c1ac0a1",
      "name": "Extraer Título",
      "type": "n8n-nodes-base.html",
      "position": [
        2720,
        680
      ],
      "parameters": {
        "options": {},
        "operation": "extractHtmlContent",
        "extractionValues": {
          "values": [
            {
              "key": "Title",
              "cssSelector": "#\\35 f10df145161a26b33fec09b > div > div > div > div.SummaryItemWrapper-iwvBff.juTBkb.summary-item.summary-item--no-icon.summary-item--text-align-center.summary-item--layout-placement-text-below.summary-item--layout-position-image-left.summary-item--layout-proportions-50-50.summary-item--side-by-side-align-center.summary-item--side-by-side-image-right-mobile-false.summary-item--standard.SummaryCollageFiveItem-kWJUcr.fqnbhT.search_result_item-68507588d2b17faf259ac70e.undefined_summary_item-68507588d2b17faf259ac70e > div.SummaryItemContent-eiDYMl.fSburJ.summary-item__content > a > h3"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "f4d2614f-ddf7-48ea-83cc-7f7675ca35be",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1940,
        -40
      ],
      "parameters": {
        "color": 5,
        "width": 380,
        "height": 920,
        "content": "## 🔶 **Section 1: Set the Target Source**\n\n📌 *Nodes:*\n\n* `Run workflow`\n* `Set Target News URL`\n\n### 🛠 What’s Happening:\n\n* ✅ `Run workflow`: Triggers the automation either manually or on a schedule (e.g., daily).\n* 🖊 `Set Target News URL`: Sets the **source URL** (e.g., `https://www.vogue.com/fashion`) from where the headlines will be scraped.\n\n### 💡 Why It Matters:\n\nThis lets you choose your news source dynamically. You could even expand this later for other websites like *TechCrunch, Forbes, etc.*\n\n> ![🧭](https://em-content.zobj.net/thumbs/120/apple/354/compass_1f9ed.png) Think of this section as the **GPS** – it tells the system where to go fetch the news from.\n\n---\n"
      },
      "typeVersion": 1
    },
    {
      "id": "4926a696-817c-417e-86d7-ebb4eacb5c3a",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2420,
        -80
      ],
      "parameters": {
        "color": 7,
        "width": 440,
        "height": 960,
        "content": "## 🔷 **Section 2: Scrape & Extract Headlines**\n\n📌 *Nodes:*\n\n* `Scrape Vogue via Bright Data`\n* `Extract Title`\n\n### 🛠 What’s Happening:\n\n* 🌐 `Scrape Vogue via Bright Data`: Uses **Bright Data Web Unlocker** to bypass bot protection and get the full HTML of the Vogue page using a POST request.\n* 🧾 `Extract Title`: Extracts the headline(s) from the HTML using a CSS selector like `.article-feed-card__hed-text`.\n\n### 💡 Why It Matters:\n\nSome websites block scraping — **Bright Data** ensures you can reliably extract content. The extractor node ensures you get clean, usable text.\n\n> ![🕸️](https://em-content.zobj.net/thumbs/120/apple/354/spider-web_1f578-fe0f.png) This is your **web crawler** and **filter**, doing the dirty work of fetching and cleaning up info.\n\n---\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "aaab5f22-013e-4697-80c5-3fac64a76e6f",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2940,
        -80
      ],
      "parameters": {
        "color": 6,
        "width": 540,
        "height": 1100,
        "content": "## 🟣 **Section 3: Use AI to Write Engaging Posts**\n\n📌 *Nodes:*\n\n* `LinkedIn post writer`\n* `X (Twitter) post writer`\n\n### 🛠 What’s Happening:\n\n* 🤖 `LinkedIn post writer`: Passes the headline to an OpenAI Chat Model to turn it into a professional, catchy LinkedIn post.\n* 🐦 `X (Twitter) post writer`: Similarly formats a shorter, witty version for X/Twitter.\n\nBoth use prompts like:\n\n> “Write a trendy post about the following Vogue headline for \\[LinkedIn/Twitter]. Add hashtags. Keep tone professional/casual.”\n\n### 💡 Why It Matters:\n\nAI tailors each post **per platform** — no copy-pasting. Your brand voice is preserved while staying context-aware.\n\n> ![✍️](https://em-content.zobj.net/thumbs/120/apple/354/writing-hand_270d-fe0f.png) This is your **copywriting intern** — except it works 24/7 and never gets tired.\n\n---\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "fb12e0fa-64e2-4ea3-a01b-8b1204efae2a",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3580,
        -60
      ],
      "parameters": {
        "color": 3,
        "width": 540,
        "height": 940,
        "content": "## 🔴 **Section 4: Auto-Publish to Social Media**\n\n📌 *Nodes:*\n\n* `Publish to LinkedIn`\n* `Publish to X (Twitter)`\n\n### 🛠 What’s Happening:\n\n* 💼 `Publish to LinkedIn`: Posts the AI-generated content directly to your **LinkedIn page or profile**.\n* 📣 `Publish to X (Twitter)`: Tweets the optimized content via your **Twitter developer account**.\n\n> Note: These nodes are showing ⚠️ errors — make sure authentication and permissions (tokens) are set up correctly.\n\n### 💡 Why It Matters:\n\nThis eliminates **manual social media posting** — great for content marketers, personal branding, or agencies.\n\n> ![🚀](https://em-content.zobj.net/thumbs/120/apple/354/rocket_1f680.png) This section is your **launchpad**, sending your posts to the world.\n\n---\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "2ea582b1-c9ac-4a6c-8c39-ec97cd14b6f4",
      "name": "Nota Adhesiva5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4240,
        -60
      ],
      "parameters": {
        "color": 7,
        "width": 380,
        "height": 240,
        "content": "## I’ll receive a tiny commission if you join Bright Data through this link—thanks for fueling more free content!\n\n### https://get.brightdata.com/1tndi4600b25"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "cb513f17-9010-4f78-bc85-756813814380",
  "connections": {
    "aac3869f-9f8e-49b0-bdc9-9eae0921474c": {
      "main": [
        [
          {
            "node": "a5187a0d-25b8-45d4-8578-4ad51397ab41",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a7a4f66f-b5a8-4563-a306-57b72c1ac0a1": {
      "main": [
        [
          {
            "node": "0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "22814b65-765e-48c3-98c2-00982b74e70e": {
      "ai_languageModel": [
        [
          {
            "node": "0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "7f4e4da6-3611-496b-a4bc-93daa1d9039f",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "79362a39-b73d-4f40-bdee-780d78abfae6": {
      "main": [
        [
          {
            "node": "7f4e4da6-3611-496b-a4bc-93daa1d9039f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a5187a0d-25b8-45d4-8578-4ad51397ab41": {
      "main": [
        [
          {
            "node": "490c2efe-0d1e-408c-806c-5e3a48f61264",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb": {
      "main": [
        [
          {
            "node": "79362a39-b73d-4f40-bdee-780d78abfae6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7f4e4da6-3611-496b-a4bc-93daa1d9039f": {
      "main": [
        [
          {
            "node": "fbf2c950-fd2c-4aa3-9e24-45d171f1056b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "490c2efe-0d1e-408c-806c-5e3a48f61264": {
      "main": [
        [
          {
            "node": "a7a4f66f-b5a8-4563-a306-57b72c1ac0a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿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

¿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.

Información del flujo de trabajo
Nivel de dificultad
Avanzado
Número de nodos16
Categoría1
Tipos de nodos9
Descripción de la dificultad

Adecuado para usuarios avanzados, flujos de trabajo complejos con 16+ nodos

Autor
Yaron Been

Yaron Been

@yaron-nofluff

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34