Generate LinkedIn posts from Wikipedia with GPT-4 summaries and Ideogram images
Wikipedia to LinkedIn AI Content Poster with Image via Bright Data
📋 Overview
Workflow Description: Automatically scrapes Wikipedia articles, generates AI-powered LinkedIn summaries with custom images, and posts professional content to LinkedIn using Bright Data extraction and intelligent content optimization.
🚀 How It Works
The workflow follows these simple steps:
- Article Input: User submits a Wikipedia article name through a simple form interface
- Data Extraction: Bright Data scrapes the Wikipedia article content including title and full text
- AI Summarization: Advanced AI models (OpenAI GPT-4 or Claude) create professional LinkedIn-optimized summaries under 2000 characters
- Image Generation: Ideogram AI creates relevant visual content based on the article summary
- LinkedIn Publishing: Automatically posts the summary with generated image to your LinkedIn profile
- URL Generation: Provides a shareable LinkedIn post URL for easy access and sharing
⚡ Setup Requirements
Estimated Setup Time: 10-15 minutes
Prerequisites
- n8n instance (self-hosted or cloud)
- Bright Data account with Wikipedia dataset access
- OpenAI API account (for GPT-4 access)
- Anthropic API account (for Claude access - optional)
- Ideogram AI account (for image generation)
- LinkedIn account with API access
🔧 Configuration Steps
Step 1: Import Workflow
- Copy the provided JSON workflow file
- In n8n: Navigate to
Workflows → + Add workflow → Import from JSON - Paste the JSON content and click Import
- Save the workflow with a descriptive name
Step 2: Configure API Credentials
🌐 Bright Data Setup
- Go to
Credentials → + Add credential → Bright Data API - Enter your Bright Data API token
- Replace
BRIGHT_DATA_API_KEYin all HTTP request nodes - Test the connection to ensure access
🤖 OpenAI Setup
- Configure OpenAI credentials in n8n
- Ensure GPT-4 model access
- Link credentials to the "OpenAI Chat Model" node
- Test API connectivity
🎨 Ideogram AI Setup
- Obtain Ideogram AI API key
- Replace
IDEOGRAM_API_KEYin the "Image Generate" node - Configure image generation parameters
- Test image generation functionality
💼 LinkedIn Setup
- Set up LinkedIn OAuth2 credentials in n8n
- Replace
LINKEDIN_PROFILE_IDwith your profile ID - Configure posting permissions
- Test posting functionality
Step 3: Configure Workflow Parameters
Update Node Settings:
- Form Trigger: Customize the form title and field labels as needed
- AI Agent: Adjust the system message for different content styles
- Image Generate: Modify image resolution and rendering speed settings
- LinkedIn Post: Configure additional fields like hashtags or mentions
Step 4: Test the Workflow
Testing Recommendations:
- Start with a simple Wikipedia article (e.g., "Artificial Intelligence")
- Monitor each node execution for errors
- Verify the generated summary quality
- Check image generation and LinkedIn posting
- Confirm the final LinkedIn URL generation
🎯 Usage Instructions
Running the Workflow
- Access the Form: Use the generated webhook URL to access the submission form
- Enter Article Name: Type the exact Wikipedia article title you want to process
- Submit Request: Click submit to start the automated process
- Monitor Progress: Check the n8n execution log for real-time progress
- View Results: The workflow will return a LinkedIn post URL upon completion
Expected Output
📝 Content Summary
- Professional LinkedIn-optimized text
- Under 2000 characters
- Engaging and informative tone
- Bullet points for readability
🖼️ Generated Image
- High-quality AI-generated visual
- 1280x704 resolution
- Relevant to article content
- Professional appearance
🔗 LinkedIn Post
- Published to your LinkedIn profile
- Includes both text and image
- Shareable public URL
- Professional formatting
🛠️ Customization Options
Content Personalization
- AI Prompts: Modify the system message in the AI Agent node to change writing style
- Character Limits: Adjust summary length requirements
- Tone Settings: Change from professional to casual or technical
- Hashtag Integration: Add relevant hashtags to LinkedIn posts
Visual Customization
- Image Style: Modify Ideogram prompts for different visual styles
- Resolution: Change image dimensions based on LinkedIn requirements
- Rendering Speed: Balance between speed and quality
- Brand Elements: Include company logos or brand colors
🔍 Troubleshooting
Common Issues & Solutions
⚠️ Bright Data Connection Issues
- Verify API key is correctly configured
- Check dataset access permissions
- Ensure sufficient API credits
- Validate Wikipedia article exists
🤖 AI Processing Errors
- Check OpenAI API quotas and limits
- Verify model access permissions
- Review input text length and format
- Test with simpler article content
🖼️ Image Generation Failures
- Validate Ideogram API key
- Check image prompt content
- Verify API usage limits
- Test with shorter prompts
💼 LinkedIn Posting Issues
- Re-authenticate LinkedIn OAuth
- Check posting permissions
- Verify profile ID configuration
- Test with shorter content
⚡ Performance & Limitations
Expected Processing Times
- Wikipedia Scraping: 30-60 seconds
- AI Summarization: 15-30 seconds
- Image Generation: 45-90 seconds
- LinkedIn Posting: 10-15 seconds
- Total Workflow: 2-4 minutes per article
Usage Recommendations
Best Practices:
- Use well-known Wikipedia articles for better results
- Monitor API usage across all services
- Test content quality before bulk processing
- Respect LinkedIn posting frequency limits
- Keep backup of successful configurations
📊 Use Cases
📚 Educational Content
Create engaging educational posts from Wikipedia articles on science, history, or technology topics.
🏢 Thought Leadership
Transform complex topics into accessible LinkedIn content to establish industry expertise.
📰 Content Marketing
Generate regular, informative posts to maintain active LinkedIn presence with minimal effort.
🔬 Research Sharing
Quickly summarize and share research findings or scientific discoveries with your network.
🎉 Conclusion
This workflow provides a powerful, automated solution for creating professional LinkedIn content from Wikipedia articles. By combining web scraping, AI summarization, image generation, and social media posting, you can maintain an active and engaging LinkedIn presence with minimal manual effort.
The workflow is designed to be flexible and customizable, allowing you to adapt the content style, visual elements, and posting frequency to match your professional brand and audience preferences.
For any questions or support, please contact:
info@incrementors.com
or fill out this form: https://www.incrementors.com/contact-us/
n8n Workflow: Generate LinkedIn Posts from Wikipedia with AI Summaries and Ideogram Images
This n8n workflow automates the creation and publishing of engaging LinkedIn posts. It leverages AI to summarize Wikipedia articles and can potentially integrate with an image generation service (like Ideogram, as suggested by the directory name, though not explicitly in the JSON) to create rich, informative content. The workflow is triggered manually via an n8n form submission, allowing for controlled content generation.
What it does
This workflow simplifies the process of creating LinkedIn posts by:
- Triggering Manually: It starts when an n8n form is submitted, allowing you to initiate the content generation on demand.
- Fetching Data: It makes an HTTP request, likely to an external API or service, to retrieve information.
- Conditional Logic: It uses an "If" node to introduce conditional branching, allowing different actions based on the data retrieved or processed.
- AI-Powered Summarization: It utilizes an AI Agent (likely powered by LangChain) and an OpenAI Chat Model (or Anthropic Chat Model) to process and summarize content, presumably from the data fetched in the HTTP request.
- Structured Output: It employs a Structured Output Parser, potentially with an Auto-fixing Output Parser, to ensure the AI-generated content adheres to a specific format, making it ready for LinkedIn.
- Posting to LinkedIn: It publishes the generated content to a LinkedIn account.
- Introducing Delays: It includes a "Wait" node, which can be used to space out posts or introduce pauses in the workflow, for example, to avoid API rate limits or to simulate human-like posting intervals.
- Code Execution: It incorporates a "Code" node for custom JavaScript logic, which can be used for data manipulation, formatting, or more complex conditional operations not covered by standard nodes.
- Notes: Includes a sticky note for documentation within the workflow.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n Instance: A running instance of n8n.
- LinkedIn Account: Credentials configured in n8n for your LinkedIn account to allow posting.
- OpenAI API Key (or Anthropic API Key): Credentials for either OpenAI or Anthropic to power the AI Chat Model and Agent.
- External API/Service: Access to the API or service targeted by the "HTTP Request" node (e.g., Wikipedia API, a custom data source).
- LangChain Nodes: Ensure the
@n8n/n8n-nodes-langchainpackage is installed in your n8n instance, as it usesAI Agent,OpenAI Chat Model,Anthropic Chat Model,Auto-fixing Output Parser, andStructured Output Parsernodes.
Setup/Usage
- Import the Workflow: Download the JSON provided and import it into your n8n instance.
- Configure Credentials:
- Set up your LinkedIn credentials within n8n.
- Set up your OpenAI or Anthropic credentials within n8n.
- Configure HTTP Request: Adjust the "HTTP Request" node (Node ID: 19) to point to your desired data source (e.g., Wikipedia API endpoint) and configure any necessary parameters or authentication.
- Configure AI Agent and Output Parsers: Review the "AI Agent" (Node ID: 1119), "OpenAI Chat Model" (Node ID: 1153) or "Anthropic Chat Model" (Node ID: 1145), and "Structured Output Parser" (Node ID: 1179) nodes. You may need to customize the prompts for the AI Agent and the schema for the Structured Output Parser to fit your specific content generation needs.
- Customize LinkedIn Post: Modify the "LinkedIn" node (Node ID: 367) to define how the AI-generated content should be structured for your LinkedIn posts (e.g., post text, image URLs if integrated with an image service, etc.).
- Adjust Conditional Logic: If needed, modify the conditions in the "If" node (Node ID: 20) to control the workflow's branching behavior.
- Configure Form Trigger: The "n8n Form Trigger" (Node ID: 1225) will provide a URL once activated. You can use this URL to manually trigger the workflow by submitting data to it.
- Activate the Workflow: Once configured, activate the workflow in n8n. You can then trigger it via the form URL.
Related Templates
Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax
Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions
Auto-reply & create Linear tickets from Gmail with GPT-5, gotoHuman & human review
This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from approved examples. How it works The workflow triggers on every new email from your linked mailbox. Self-learning Email Classifier: an AI model categorizes the email into defined categories (e.g., Bug Report, Feature Request, Sales Opportunity, etc.). It fetches previously approved classification examples from gotoHuman to refine decisions. Self-learning Email Writer: the AI drafts a reply to the email. It learns over time by using previously approved replies from gotoHuman, with per-classification context to tailor tone and style (e.g., different style for sales vs. bug reports). Human Review in gotoHuman: review the classification and the drafted reply. Drafts can be edited or retried. Approved values are used to train the self-learning agents. Send approved Reply: the approved response is sent as a reply to the email thread. Create ticket: if the classification is Bug or Feature Request, a ticket is created by another AI agent in Linear. Human Review in gotoHuman: How to set up Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing) Set up credentials for gotoHuman, OpenAI, your email provider (e.g. Gmail), and Linear. In gotoHuman, select and create the pre-built review template "Support email agent" or import the ID: 6fzuCJlFYJtlu9mGYcVT. Select this template in the gotoHuman node. In the "gotoHuman: Fetch approved examples" http nodes you need to add your formId. It is the ID of the review template that you just created/imported in gotoHuman. Requirements gotoHuman (human supervision, memory for self-learning) OpenAI (classification, drafting) Gmail or your preferred email provider (for email trigger+replies) Linear (ticketing) How to customize Expand or refine the categories used by the classifier. Update the prompt to reflect your own taxonomy. Filter fetched training data from gotoHuman by reviewer so the writer adapts to their personalized tone and preferences. Add more context to the AI email writer (calendar events, FAQs, product docs) to improve reply quality.
Ai website scraper & company intelligence
AI Website Scraper & Company Intelligence Description This workflow automates the process of transforming any website URL into a structured, intelligent company profile. It's triggered by a form, allowing a user to submit a website and choose between a "basic" or "deep" scrape. The workflow extracts key information (mission, services, contacts, SEO keywords), stores it in a structured Supabase database, and archives a full JSON backup to Google Drive. It also features a secondary AI agent that automatically finds and saves competitors for each company, building a rich, interconnected database of company intelligence. --- Quick Implementation Steps Import the Workflow: Import the provided JSON file into your n8n instance. Install Custom Community Node: You must install the community node from: https://www.npmjs.com/package/n8n-nodes-crawl-and-scrape FIRECRAWL N8N Documentation https://docs.firecrawl.dev/developer-guides/workflow-automation/n8n Install Additional Nodes: n8n-nodes-crawl-and-scrape and n8n-nodes-mcp fire crawl mcp . Set up Credentials: Create credentials in n8n for FIRE CRAWL API,Supabase, Mistral AI, and Google Drive. Configure API Key (CRITICAL): Open the Web Search tool node. Go to Parameters → Headers and replace the hardcoded Tavily AI API key with your own. Configure Supabase Nodes: Assign your Supabase credential to all Supabase nodes. Ensure table names (e.g., companies, competitors) match your schema. Configure Google Drive Nodes: Assign your Google Drive credential to the Google Drive2 and save to Google Drive1 nodes. Select the correct Folder ID. Activate Workflow: Turn on the workflow and open the Webhook URL in the “On form submission” node to access the form. --- What It Does Form Trigger Captures user input: “Website URL” and “Scraping Type” (basic or deep). Scraping Router A Switch node routes the flow: Deep Scraping → AI-based MCP Firecrawler agent. Basic Scraping → Crawlee node. Deep Scraping (Firecrawl AI Agent) Uses Firecrawl and Tavily Web Search. Extracts a detailed JSON profile: mission, services, contacts, SEO keywords, etc. Basic Scraping (Crawlee) Uses Crawl and Scrape node to collect raw text. A Mistral-based AI extractor structures the data into JSON. Data Storage Stores structured data in Supabase tables (companies, company_basicprofiles). Archives a full JSON backup to Google Drive. Automated Competitor Analysis Runs after a deep scrape. Uses Tavily web search to find competitors (e.g., from Crunchbase). Saves competitor data to Supabase, linked by company_id. --- Who's It For Sales & Marketing Teams: Enrich leads with deep company info. Market Researchers: Build structured, searchable company databases. B2B Data Providers: Automate company intelligence collection. Developers: Use as a base for RAG or enrichment pipelines. --- Requirements n8n instance (self-hosted or cloud) Supabase Account: With tables like companies, competitors, social_links, etc. Mistral AI API Key Google Drive Credentials Tavily AI API Key (Optional) Custom Nodes: n8n-nodes-crawl-and-scrape --- How It Works Flow Summary Form Trigger: Captures “Website URL” and “Scraping Type”. Switch Node: deep → MCP Firecrawler (AI Agent). basic → Crawl and Scrape node. Scraping & Extraction: Deep path: Firecrawler → JSON structure. Basic path: Crawlee → Mistral extractor → JSON. Storage: Save JSON to Supabase. Archive in Google Drive. Competitor Analysis (Deep Only): Finds competitors via Tavily. Saves to Supabase competitors table. End: Finishes with a No Operation node. --- How To Set Up Import workflow JSON. Install community nodes (especially n8n-nodes-crawl-and-scrape from npm). Configure credentials (Supabase, Mistral AI, Google Drive). Add your Tavily API key. Connect Supabase and Drive nodes properly. Fix disconnected “basic” path if needed. Activate workflow. Test via the webhook form URL. --- How To Customize Change LLMs: Swap Mistral for OpenAI or Claude. Edit Scraper Prompts: Modify system prompts in AI agent nodes. Change Extraction Schema: Update JSON Schema in extractor nodes. Fix Relational Tables: Add Items node before Supabase inserts for arrays (social links, keywords). Enhance Automation: Add email/slack notifications, or replace form trigger with a Google Sheets trigger. --- Add-ons Automated Trigger: Run on new sheet rows. Notifications: Email or Slack alerts after completion. RAG Integration: Use the Supabase database as a chatbot knowledge source. --- Use Case Examples Sales Lead Enrichment: Instantly get company + competitor data from a URL. Market Research: Collect and compare companies in a niche. B2B Database Creation: Build a proprietary company dataset. --- WORKFLOW IMAGE --- Troubleshooting Guide | Issue | Possible Cause | Solution | |-------|----------------|-----------| | Form Trigger 404 | Workflow not active | Activate the workflow | | Web Search Tool fails | Missing Tavily API key | Replace the placeholder key | | FIRECRAWLER / find competitor fails | Missing MCP node | Install n8n-nodes-mcp | | Basic scrape does nothing | Switch node path disconnected | Reconnect “basic” output | | Supabase node error | Wrong table/column names | Match schema exactly | --- Need Help or More Workflows? Want to customize this workflow for your business or integrate it with your existing tools? Our team at Digital Biz Tech can tailor it precisely to your use case from automation logic to AI-powered enhancements. Contact: shilpa.raju@digitalbiz.tech For more such offerings, visit us: https://www.digitalbiz.tech ---