Find high-engagement TikTok hashtags and sounds with Bright Data, OpenAI, Sheets and Slack

Go to Workflow
0 views
Built by Daniel Shashko Daniel Shashko
Created on August 14, 2026

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 (7)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Slack
n8n-nodes-base.slack