π Benchmark LinkedIn post engagement with Bright Data, OpenAI, Google Sheets and Slack
β‘ 17 views Β· π Market Research & Insights
π‘ Pro Tip β If youβre pulling LinkedIn data through HTTP requests or dealing with API restrictions, thereβs a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search β you just pass a URL and get structured data back.
Description
Quick overview
This workflow runs weekly to scrape recent LinkedIn company posts with Bright Data, benchmark your engagement rate against competitor pages by format, and use OpenAI to generate a short recommendation. It logs per-company metrics to Google Sheets and sends a summary digest to Slack.
How it works
- Runs every Monday morning (or manually) and loads your LinkedIn company page URL, competitor URLs, crawl limits, and the target Google Sheets URL.
- Triggers a Bright Data dataset crawl to discover the latest posts for all listed company pages in one request, then polls Bright Data until the snapshot is ready.
- Downloads the snapshot results and normalizes each post by the crawled company page (to handle repost attribution), deriving post format and engagement rate based on reactions and comments per follower.
- Aggregates original (non-repost) posts per company to calculate medians and cadence metrics, including median engagement rate overall and by post format.
- Compares your companyβs medians against the median of competitor pages overall and per format, then sends the benchmark to OpenAI to produce a concise recommendation grounded in peer examples.
- Appends one metrics row per company to Google Sheets and posts a formatted digest (including any pages that returned no posts) to a Slack channel.
Setup
- Add a Bright Data HTTP Header Auth credential with
Authorization: Bearer <YOUR_API_KEY>and ensure the referenced Bright Data LinkedIn dataset is available in your account. - Update the Settings values for
your_company_url,competitor_urls,max_pages,posts_per_page, andmin_post_charswith the LinkedIn company page URLs you want to benchmark. - Create a Google Sheet with columns
run_date,company,posts,followers,median_engagement_rate,best_format, andposts_per_week, then add Google Sheets credentials and paste the sheet URL intosheet_url. - Add an OpenAI credential for the Chat model used to write the recommendation.
- Add a Slack credential and set the destination channel (for example
#marketing) where the digest should be posted.
π Nodes Used
Google Sheets, HTTP Request, Slack, Schedule Trigger, Basic LLM Chain, OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File