Convertidor de contenido de Wikipedia en publicaciones de LinkedIn con imágenes usando Bright Data

Avanzado

Este es unSocial Media, Multimodal AIflujo de automatización del dominio deautomatización que contiene 19 nodos.Utiliza principalmente nodos como If, Code, Wait, LinkedIn, FormTrigger. Usar GPT-4 resumen e imágenes Ideogram para generar publicaciones de LinkedIn a partir de Wikipedia

Requisitos previos
  • Credenciales de API de LinkedIn
  • Pueden requerirse credenciales de autenticación para la API de destino
  • Clave de API de OpenAI
  • Clave de API de Anthropic
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": "jYtmNu9biqEaTS14",
  "meta": {
    "instanceId": "bc8ca75c203589705ae2e446cad7181d6f2a7cc1766f958ef9f34810e53b8cb2",
    "templateCredsSetupCompleted": true
  },
  "name": "Wikipedia to LinkedIn AI Content Poster with Image via Bright Data",
  "tags": [],
  "nodes": [
    {
      "id": "9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0",
      "name": "Esperar estado",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        80,
        48
      ],
      "parameters": {
        "url": "=https://api.brightdata.com/datasets/v3/progress/{{ $json.snapshot_id }}",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "format",
              "value": "json"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer BRIGHT_DATA_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "1d74b201-ff92-475e-badf-3adcdfc88149",
      "name": "Verificar estado final",
      "type": "n8n-nodes-base.if",
      "position": [
        272,
        48
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "35ed620d-b5d5-4e97-bcc5-52b283d85616",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "ready"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "78c09194-2899-4b0b-b00a-dd35f85b95c4",
      "name": "Extraer publicación de Wikipedia",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        512,
        32
      ],
      "parameters": {
        "url": "=https://api.brightdata.com/datasets/v3/snapshot/{{ $json.snapshot_id }}",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "format",
              "value": "json"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer BRIGHT_DATA_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
      "name": "Agente de IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        736,
        32
      ],
      "parameters": {
        "text": "=here is the title:-  {{ $json.cataloged_text[0].title }}\nhere is the article of my title :- {{ $json.cataloged_text[0].text }}",
        "options": {
          "systemMessage": "=Task:- \nSummarize the following article in under 2000 characters, keeping it professional, informative, and engaging enough for a LinkedIn audience.\n\nUse bullet points if helpful. Avoid repetition. Remove any unnecessary fluff.\n\nTone should be confident, insightful, and thought-leadership oriented — ideal for busy professionals who want quick understanding.\n\nHere's the content:\n---\n{{ $json.cataloged_text[0].text }}\n---\n"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.1
    },
    {
      "id": "776e4ef3-61f8-4a31-aff3-550ff32861c8",
      "name": "Modelo de chat OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        720,
        272
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "OPENAI_CREDENTIAL_ID",
          "name": "OpenAI Account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "79f161a8-325c-47f1-8f83-541db9b922dc",
      "name": "Analizador de salida estructurada",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        880,
        608
      ],
      "parameters": {
        "jsonSchemaExample": "{\n\t\"text\": \"California\"\n\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "ce3f23b3-aa8f-479c-b50b-8b7811c98ae5",
      "name": "Analizador de salida con autocorrección",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        816,
        368
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "a7c51767-3fb8-4931-9316-8ada84ced20c",
      "name": "Generar imagen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1120,
        32
      ],
      "parameters": {
        "url": "https://api.ideogram.ai/v1/ideogram-v3/generate",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "=prompt",
              "value": "={{ $json.output.text }}"
            },
            {
              "name": "rendering_speed",
              "value": "TURBO"
            },
            {
              "name": "resolution",
              "value": "1280x704"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Api-Key",
              "value": "IDEOGRAM_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2,
      "alwaysOutputData": true
    },
    {
      "id": "973e8cc1-c121-41d6-beb2-53ade53aaa8b",
      "name": "Crear publicación",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1648,
        32
      ],
      "parameters": {
        "text": "={{ $('AI Agent').item.json.output.text }}",
        "person": "LINKEDIN_PROFILE_ID",
        "additionalFields": {},
        "shareMediaCategory": "IMAGE"
      },
      "credentials": {
        "linkedInOAuth2Api": {
          "id": "LINKEDIN_CREDENTIAL_ID",
          "name": "LinkedIn Account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ee187ab3-c45f-4379-925b-b35a38ae6960",
      "name": "Solicitud HTTP 1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1328,
        32
      ],
      "parameters": {
        "url": "={{ $json.data[0].url }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "badfa608-4dce-4d7f-bee8-b91df407daa5",
      "name": "Modelo de chat Anthropic",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        816,
        768
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "claude-sonnet-4-20250514",
          "cachedResultName": "Claude 4 Sonnet"
        },
        "options": {}
      },
      "credentials": {
        "anthropicApi": {
          "id": "ANTHROPIC_CREDENTIAL_ID",
          "name": "Anthropic Account"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "9bc87c92-4ad5-4166-821a-908b8f21789a",
      "name": "URL LinkedIn",
      "type": "n8n-nodes-base.code",
      "onError": "continueRegularOutput",
      "position": [
        1872,
        32
      ],
      "parameters": {
        "mode": "runOnceForEachItem",
        "jsCode": "const item = $input.item;\nconst shareUrn = item.json.urn || '';\n\n// Check if it's a valid LinkedIn share URN\nif (shareUrn.startsWith('urn:li:share:')) {\n  item.json.linkedinUrl = `https://www.linkedin.com/feed/update/${shareUrn}/`;\n} else {\n  item.json.linkedinUrl = 'Invalid LinkedIn URN';\n}\n\nreturn item;\n"
      },
      "typeVersion": 2
    },
    {
      "id": "8d794457-0fda-4f5a-b104-dc1d49e3cbc9",
      "name": "Esperar",
      "type": "n8n-nodes-base.wait",
      "position": [
        480,
        208
      ],
      "webhookId": "04a84ebd-34a0-4095-8cda-c1acd041c582",
      "parameters": {
        "unit": "minutes",
        "amount": 1
      },
      "typeVersion": 1.1
    },
    {
      "id": "0e4118e7-40e8-412b-bcf8-f98e313475f7",
      "name": "📝 Al enviar formulario",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -368,
        48
      ],
      "webhookId": "5ca0f1b4-2957-47e5-9894-62f1d759504d",
      "parameters": {
        "options": {},
        "formTitle": "Wikipedia Search",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Article Name"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "18ba69a8-bdaf-4895-8aea-332cbca7cd5e",
      "name": "Nota adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        -112
      ],
      "parameters": {
        "color": 7,
        "width": 496,
        "height": 352,
        "content": "📝+🌐 Start & Submit Article\n\"User starts the flow by entering the article name in the form.\nThe system sends a scraping request with that article name to BrightData.\"\n\nCovers:\n\nOn form submission\n\nHTTP Request"
      },
      "typeVersion": 1
    },
    {
      "id": "616019f6-fd99-4688-89c6-52fb87a8d1b3",
      "name": "🌐 Solicitud HTTP",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -160,
        48
      ],
      "parameters": {
        "url": "https://api.brightdata.com/datasets/v3/trigger",
        "method": "POST",
        "options": {},
        "jsonBody": "=[\n  {\n    \"keyword\": \"{{ $json[\"Article Name\"] }}\",\n    \"pages_load\": 1\n  }\n] ",
        "sendBody": true,
        "sendQuery": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "queryParameters": {
          "parameters": [
            {
              "name": "dataset_id",
              "value": "gd_lr9978962kkjr3nx49"
            },
            {
              "name": "include_errors",
              "value": "true"
            },
            {
              "name": "type",
              "value": "discover_new"
            },
            {
              "name": "discover_by",
              "value": "keyword"
            },
            {
              "name": "limit_per_input",
              "value": "1"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer BRIGHT_DATA_API_KEY"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "36051a55-4361-4771-b9e8-0ec9a45d9b6b",
      "name": "Nota adhesiva 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -368
      ],
      "parameters": {
        "color": 2,
        "width": 624,
        "height": 800,
        "content": "🔷 Bright Data Extraction Section:\n🔵 HTTP Request (Trigger Dataset)\nStarts the Bright Data dataset crawl using the submitted keyword.\n\n🔵 Wait for Status\nChecks crawl progress using snapshot_id.\n\n🔵 Check Final Status (IF node)\nChecks if crawl status is 'ready'. If not, it waits.\n\n🔵 Wait (1 min)\nWaits before rechecking crawl status.\n\n🔵 Wikipedia Scrap Post\nFetches scraped data (title & text) using snapshot_id."
      },
      "typeVersion": 1
    },
    {
      "id": "6fc44f9d-c523-4e5c-9aac-56ee9d186ee8",
      "name": "Nota adhesiva 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -416
      ],
      "parameters": {
        "color": 3,
        "width": 768,
        "height": 912,
        "content": "🤖 AI Summarization Section:\n🤖 AI Agent\nSummarizes the scraped Wikipedia text into 2000 characters, suitable for a LinkedIn audience.\n\n🧠 OpenAI Chat Model\nGPT-4.1-mini model that powers the AI Agent.\n\n🧠 Anthropic Chat Model (Claude)\nAlternative language model linked to autofixing output.\n\n🔧 Auto-fixing Output Parser\nImproves/fixes AI output structure if needed.\n\n📐 Structured Output Parser\nEnsures final output follows JSON format.\n\n🖼️ Image Generation Section:\n🎨 Image Generate (Ideogram API)\nCreates a relevant image based on summarized text.\n\n📦 HTTP Request1\nDownloads the generated image from Ideogram.\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "63c942b0-4dac-4414-8278-9bf91d69816a",
      "name": "Nota adhesiva 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1488,
        -160
      ],
      "parameters": {
        "color": 4,
        "width": 608,
        "height": 416,
        "content": "📤 Publishing Section:\n🔗 Create a Post (LinkedIn)\nPosts summary + image to a specified LinkedIn profile.\n\n🔗 LinkedIn URL (Code node)\nGenerates public LinkedIn post URL using URN.\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "c1901b18-15a5-434b-8670-5a63f7058f34",
  "connections": {
    "8d794457-0fda-4f5a-b104-dc1d49e3cbc9": {
      "main": [
        [
          {
            "node": "9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2f36e8a4-4c76-4b32-8519-56e16e26f349": {
      "main": [
        [
          {
            "node": "a7c51767-3fb8-4931-9316-8ada84ced20c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "973e8cc1-c121-41d6-beb2-53ade53aaa8b": {
      "main": [
        [
          {
            "node": "9bc87c92-4ad5-4166-821a-908b8f21789a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ee187ab3-c45f-4379-925b-b35a38ae6960": {
      "main": [
        [
          {
            "node": "973e8cc1-c121-41d6-beb2-53ade53aaa8b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a7c51767-3fb8-4931-9316-8ada84ced20c": {
      "main": [
        [
          {
            "node": "ee187ab3-c45f-4379-925b-b35a38ae6960",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0": {
      "main": [
        [
          {
            "node": "1d74b201-ff92-475e-badf-3adcdfc88149",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "776e4ef3-61f8-4a31-aff3-550ff32861c8": {
      "ai_languageModel": [
        [
          {
            "node": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "616019f6-fd99-4688-89c6-52fb87a8d1b3": {
      "main": [
        [
          {
            "node": "9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1d74b201-ff92-475e-badf-3adcdfc88149": {
      "main": [
        [
          {
            "node": "78c09194-2899-4b0b-b00a-dd35f85b95c4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "8d794457-0fda-4f5a-b104-dc1d49e3cbc9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "badfa608-4dce-4d7f-bee8-b91df407daa5": {
      "ai_languageModel": [
        [
          {
            "node": "ce3f23b3-aa8f-479c-b50b-8b7811c98ae5",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "78c09194-2899-4b0b-b00a-dd35f85b95c4": {
      "main": [
        [
          {
            "node": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0e4118e7-40e8-412b-bcf8-f98e313475f7": {
      "main": [
        [
          {
            "node": "616019f6-fd99-4688-89c6-52fb87a8d1b3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "79f161a8-325c-47f1-8f83-541db9b922dc": {
      "ai_outputParser": [
        [
          {
            "node": "ce3f23b3-aa8f-479c-b50b-8b7811c98ae5",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "ce3f23b3-aa8f-479c-b50b-8b7811c98ae5": {
      "ai_outputParser": [
        [
          {
            "node": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
            "type": "ai_outputParser",
            "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 - Redes sociales, 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.

Información del flujo de trabajo
Nivel de dificultad
Avanzado
Número de nodos19
Categoría2
Tipos de nodos12
Descripción de la dificultad

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

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34