Automate Company Story Generation with LinkedIn, Bright Data & Google Gemini

Discover how to automatically extract company data from LinkedIn using Bright Data’s API and generate compelling company stories with Google Gemini AI. Save hours on research and storytelling with this unique n8n automation workflow.
httpRequest
lmChatGoogleGemini
informationExtractor
+10
Workflow Identifier: 2257
NODES in Use: ManualTrigger, Google Gemini Chat Model, Default Data Loader, Recursive Character Text Splitter, If, Set Snapshot Id, HTTP Request, Set LinkedIn URL, LinkedIn Data Extractor, Concise Summary Generator, Webhook Notifier for Data Extractor, Webhook Notifier for Summary Generator, Wait
Automate company stories with n8n and LinkedIn

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow scrapes LinkedIn company data using Bright Data and turns it into neat company stories with Google Gemini AI.
It handles scraping, waiting for data ready, extracting key details, and making short summaries.
The output goes to webhooks for easy use in other apps.
This saves time, stops errors, and makes story results consistent every time.


Tools and Services Used

  • n8n: Automation platform to build and run the workflow.
  • Bright Data API: Triggers LinkedIn scraping and fetches data snapshots.
  • Google Gemini AI: Converts extracted LinkedIn data into human-like stories and summaries.
  • Webhook service: Receives final story and summary notifications for downstream use.

Who Should Use This Workflow

This is for people who need regular LinkedIn company stories fast.
Users with basic n8n experience who want to avoid manual scraping and story writing.


Inputs, Processing, and Outputs

Inputs

  • LinkedIn company page URL
  • Bright Data API key and dataset ID
  • Google Gemini API credentials
  • Webhook URL for notifications

Processing Steps

  • Trigger scraping with Bright Data using the company URL.
  • Store snapshot ID from Bright Data response.
  • Poll Bright Data progress endpoint until data is ready.
  • Download the JSON snapshot of scraped LinkedIn data.
  • Use LangChain node with AI to extract structured company info.
  • Generate a detailed company story using Google Gemini.
  • Generate a short summary from the detailed story.
  • Send the story and summary to configured webhook endpoints.

Outputs

  • Detailed company story text
  • Concise summary text
  • Webhook notifications delivering the above

Beginner Step-by-Step: How to Use in n8n Production

Step 1 – Import Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor.
  3. Select "Import from File" and upload the downloaded workflow JSON.

Step 2 – Configure Credentials

  1. Open the Perform LinkedIn Web Request node and enter your Bright Data API Key in the authentication header.
  2. Open Google Gemini Chat Model nodes and enter your Google PaLM API credentials.

Step 3 – Update Settings

  1. In Set LinkedIn URL, set the company LinkedIn URL to the target company.
  2. If using different webhook receivers, update URLs in the webhook notifier nodes.

Step 4 – Test Workflow

  1. Click "Execute Workflow" in the n8n editor to run it once manually.
  2. Check for errors in each node output and correct credentials or URLs if needed.

Step 5 – Activate Workflow

  1. Turn on the workflow toggle in the top-right corner to activate.
  2. Optionally, schedule automatic runs via cron or webhook triggers.

If using self hosting n8n, refer to self-host n8n for server setup advice.


Common Problems and Solutions

Problem: 401 or 403 Errors Calling Bright Data API

Cause: API Key is wrong or headers are misconfigured.

Fix: Double-check the Bright Data API Key in Perform LinkedIn Web Request node. Use correct header format.

Problem: Snapshot Status Not Changing to Ready

Cause: Snapshot ID is missing or API took longer than wait time.

Fix: Ensure Set Snapshot Id maps snapshot ID properly. Increase wait time in Wait for 30 seconds node.

Problem: AI Story Output Is Incomplete or Off-Topic

Cause: The system prompt or input data is wrong.

Fix: Edit prompt in LinkedIn Data Extractor node. Confirm the input JSON has full LinkedIn data.

Problem: No Webhook Notification Received

Cause: Incorrect webhook URL or API failure.

Fix: Check webhook URLs in notifier nodes. Confirm webhook endpoint is active and reachable.


Customization Ideas

  • Make LinkedIn URL dynamic by replacing hardcoded URL with a webhook trigger or environment variable.
  • Change wait duration in the Wait for 30 seconds to fit larger sites or API limits.
  • Improve story style by editing the systemPromptTemplate in the LinkedIn Data Extractor node to sound formal or casual.
  • Replace webhook notifier nodes with nodes for Slack or email to send stories directly to teams.
  • Test other Google Gemini models by changing model names in Google Gemini Chat Model nodes.

Summary

✓ saves hours by automating LinkedIn data collection and story creation
✓ reduces errors by automating data checks and waiting
✓ creates consistent, readable company stories and summaries
✓ delivers ready content via webhook notifications
✓ simple to test and activate inside n8n editor


Automate company stories with n8n and LinkedIn

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Check the Bright Data API Key and make sure it is entered correctly in the authentication header of the HTTP Request node.
Ensure the snapshot ID is mapped correctly after triggering the scrape. Increase the wait time before polling the status again.
Review and improve the system prompt in the LangChain extractor node. Verify the LinkedIn JSON input is complete and properly passed.
Configure the webhook notifier node URLs to point to services like webhook.site, Slack, or email integration endpoints.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.