AI Content Generation & Posting for LinkedIn (Wikipedia Source) - n8n Workflow

Automate professional LinkedIn content creation. This n8n workflow scrapes Wikipedia, summarizes articles using AI (GPT-4), generates images, and posts automatically. Find more n8n templates here.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Content marketers needing high-volume, quality professional content.
Social media managers looking for reliable n8n automation for thought leadership posts.
Users seeking advanced n8n templates combining web scraping (Bright Data), AI (GPT-4), and image generation (Ideogram).
Anyone interested in leveraging the power of an n8n node setup for scheduled publishing.

Overview

This powerful n8n workflow solves the tedious task of manually researching, summarizing, and designing engaging content for LinkedIn. By integrating web scraping services (Bright Data) to extract technical or informational articles from Wikipedia, the core of this n8n automation then hands the raw text to a sophisticated AI Agent powered by GPT-4. This agent generates a professional, concise summary optimized for C-suite audiences.

Furthermore, the n8n workflow incorporates Ideogram to create a visually striking featured image, ensuring the final LinkedIn post captures maximum attention. This end-to-end n8n solution is an excellent example of maximizing productivity using advanced n8n templates, ensuring consistent, high-quality social media output without continuous manual effort. Utilizing this n8n workflow template drastically speeds up content cycling.

How it Works

This comprehensive n8n workflow is initiated by the 📝 On form submission n8n trigger.


  1. Input & Scraping Trigger: The user provides the desired Wikipedia article name via the starting form. The subsequent 🌐 HTTP Request n8n node triggers a Bright Data dataset job, passing the article name as a keyword.

  2. Polling for Data: The n8n workflow enters a polling loop using the Wait for status n8n node and the Check Final Status (If) n8n node, checking if the scraping is ready. If not ready, the Wait n8n node pauses execution for one minute before re-checking.

  3. Data Retrieval: Once ready, the Wikipedia Scrap Post n8n node retrieves the full article text and title.

  4. AI Summarization: The AI Agent n8n node takes the raw article text. Using the configured system prompt and the OpenAI Chat Model n8n node (GPT-4.1-mini), it generates a succinct, professional summary tailored for LinkedIn.

  5. Image Generation: The output from the AI Agent is used as the prompt for the Image Generate n8n node, which calls the Ideogram API to create a custom image.

  6. Download and Post: The HTTP Request1 n8n node downloads the newly generated image. Finally, the Create a post n8n node publishes the AI summary and the image directly to the specified LinkedIn profile.

  7. Final URL: A simple LinkedIn URL n8n node processes the resulting LinkedIn URN to provide a clickable public URL for confirmation. This robust n8n workflow ensures a smooth journey from topic idea to published content.

Installation Guide


  1. Import: Copy the provided n8n workflow JSON and paste it into your n8n canvas to utilize this powerful n8n workflow template.

  2. Bright Data Setup: Configure the two HTTP Request nodes (🌐 HTTP Request and Wait for status) that interact with Bright Data. Replace BRIGHTDATAAPIKEY in the Authorization headers with your actual Bright Data API key.

  3. OpenAI Credentials: Ensure the OpenAI Chat Model n8n node is linked to a valid OpenAI API credential. The n8n workflow specifies the use of gpt-4.1-mini.

  4. Ideogram Setup: In the Image Generate n8n node, replace IDEOGRAMAPIKEY in the API-Key header parameter with your Ideogram key.

  5. LinkedIn Credentials: Connect the Create a post n8n node to a valid LinkedIn OAuth2 credential. You must also specify the person parameter with your LINKEDINPROFILE_ID (URN).

  6. Activation: Activate the n8n workflow. Run the form n8n trigger to initiate the automated process.

Node Details

📝 On form submission (n8n trigger): Initiates the n8n workflow when a user inputs the Wikipedia article name via a simple form interface.
🌐 HTTP Request (Bright Data Trigger n8n node): Sends the initial request to Bright Data's API to start the scraping job, passing the article name from the n8n trigger input.
Wait for status / Check Final Status (n8n node): Manages the asynchronous nature of web scraping by polling the Bright Data status API until the status registers as 'ready'.
Wikipedia Scrap Post (n8n node): Fetches the scraped data (title and article text) using the snapshot_id provided by Bright Data.
AI Agent (n8n node): The core intelligence of this n8n workflow. It uses GPT-4 via the OpenAI Chat Model n8n node to summarize the long article text into a 2000-character, thought-leadership post for LinkedIn.
Image Generate (n8n node): An HTTP Request n8n node configured to call the Ideogram API, using the AI summary output as the image generation prompt.
Create a post (LinkedIn n8n node): Publishes the final content—including the AI-generated text and the downloaded image file—to the connected LinkedIn profile. This is the final action n8n node.
LinkedIn URL (Code n8n node): A custom n8n code snippet that converts the resulting LinkedIn Share URN into a clean, human-readable URL for monitoring.

Related n8n Workflows

Free

Nodes: 12 Nodes
Updated: December 26 2025
View all
Created by

Featured*