π Find high-engagement TikTok hashtags and sounds with Bright Data, OpenAI, Sheets and Slack
β‘ 4 views Β· π Market Research & Insights
π‘ Pro Tip β Since TikTok doesnβt have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β drop it into your workflow and skip the parsing.
Description
Quick overview
This workflow runs weekly to scrape TikTok search results with Bright Data, calculates which hashtags and sounds outperform each topicβs median engagement, uses OpenAI GPT-5.6 to infer the content format from top captions, logs results to Google Sheets, and posts a ranked digest to Slack.
How it works
- Runs weekly on a schedule and loads the topic list and thresholds (posts per topic, minimum plays, lift, and cooldown) from a central configuration.
- Triggers a Bright Data TikTok discovery scrape for each topic, then polls the Bright Data progress endpoint until the snapshot is ready (or times out).
- Downloads the scraped posts and computes per-post engagement rate, then aggregates results by hashtag and by sound and keeps only groups that beat the topicβs median engagement by the configured lift and have enough posts.
- Reads previously logged tags from Google Sheets and filters out any tag/sound that was reported within the cooldown window.
- Uses OpenAI GPT-5.6 to extract a content format, angle, and topics from the captions of each tagβs best-performing posts, then ranks the final list and generates a short strategy brief.
- Appends one row per selected hashtag/sound to Google Sheets and posts a formatted ranked digest (with metrics and best-post links) to the configured Slack channel.
Setup
- Add a Bright Data API key as an HTTP Header Auth credential (Authorization: Bearer YOUR_KEY).
- Connect OpenAI (Chat) credentials for the GPT-5.6-terra model used to extract formats and write the brief.
- Connect Google Sheets credentials and create a spreadsheet with a βTagsβ sheet, then set the Google Sheets URL in the configuration.
- Connect Slack credentials and set the target channel name in the configuration.
π 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