Library / Social Media Publishing
Social Media Publishing
Track TikTok keyword trends with API Direct, Google Sheets and Slack
On a schedule, it publishes to social media using Apidirect, Google Sheets, Slack.
What it does
## TikTok keyword tracker with breakout alerts ## Who's it for Social media managers, trend researchers, and e-commerce brands tracking what's taking off on TikTok in their niche. ## How it works Every morning the workflow searches TikTok via API Direct (pay-as-you-go, from $0.002/request) for your keyword's most recent videos, skips everything it already logged on earlier runs, and appends each new video to a Google Sheet — author, title, plays, likes, shares, comments, and link. Over days the sheet becomes a trend dataset you can sort, chart, and mine for creators to work with. And when a video crosses your play-count threshold, it's pushed to Slack immediately — so you catch breakouts while they're breaking, not in next week's report. This template uses the API Direct verified community node — available on n8n Cloud and self-hosted n8n (search “API Direct” in the nodes panel). No official API access, developer accounts, or OAuth apps needed. ## How to set up 1. Create an API Direct account, copy your API key, and add it as a credential in the TikTok node (new accounts include free credit). 2. Open Edit your keyword settings — set your niche keyword and the viral threshold (plays). 3. Create a Google Sheet with the header row: date, author, title, url, plays, likes, shares, comments, and pick it in the Google Sheets node. 4. Connect Slack and pick the channel for breakout alerts. 5. Activate the workflow (the seen-video memory only persists on active workflows). ## Requirements - API Direct API key - Google account for Sheets - Slack workspace (for breakout alerts) ## How to customize - Switch the search to Instagram, YouTube, or Twitter/X by changing the resource on the search node. - Tune the viral threshold per niche — 100k plays is huge for B2B, small for dance. - Track engagement rate instead: alert when likes/plays is unusually high.
The steps
- Every morning
- Edit your keyword settings
- Search TikTok videos
- Keep only new videos
- Format spreadsheet row
- Append to trend log
- Is it going viral?
- Send a breakout alert
Similar automations
Email AutomationQualify Reddit leads with API Direct and OpenAI and send a daily Gmail digest8 stepsSocial Media PublishingSend Direct Messages to New Bluesky Followers Automatically21 stepsWeb Scraping & ResearchTrack Local Search Trends from Google Trends into Sheets10 stepsChatbots & Messaging BotsOpenAI Assistant in Slack for Direct Messages and Mentions10 steps