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

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

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


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 Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free