Marketing · n8n

Log TikTok Hashtag Performance to Google Sheets Every Day

An n8n workflow that tracks the hashtags you care about on TikTok, records daily view counts and top videos to Google Sheets, and builds a growth chart over time — so marketers can prove which hashtags actually move views instead of guessing.

difficulty Intermediatesetup 45 minresult A daily-updating sheet showing each tracked hashtag's view growth and top-performing videos
  1. 1

    Define your hashtag list

    A Schedule Trigger at hour 7 starts the run, feeding a Set node (or a lookup from a config sheet) that holds your tracked hashtags as an array. Keeping the list in one place makes it easy to add or remove tags without editing logic.

  2. 2

    Loop and scrape each hashtag

    An Item Lists node splits the array, then an HTTP Request runs an Apify TikTok hashtag actor per tag, returning the current view total and the top videos for that hashtag.

  3. 3

    Flag your own videos

    A Code node checks the top videos' authors against your username and sets a your_videos_in_top count. It also computes the day-over-day view delta using yesterday's value stored in workflow static data.

  4. 4

    Shape the daily row

    A Set node builds a clean row: date, hashtag, total views, daily delta, and how many of your videos rank in the top. Structured columns make the sheet chart-ready straight away.

  5. 5

    Append and chart

    A Google Sheets node appends each hashtag's row. Add a pivot or a line chart grouped by hashtag once, and you get a living performance dashboard that finally answers 'which hashtags are worth using?' with data.

Frequently asked questions

Which hashtags should I track?

A mix: your branded hashtag, 2–3 niche hashtags you post under, and 1–2 aspirational big ones you want to break into. Tracking a small focused set gives cleaner trend lines than dumping in twenty. You define the list once in a Set node or a config sheet.

Is the view count exact?

It's TikTok's own displayed hashtag view total, scraped via an Apify actor, so it matches what you see in-app. Treat the day-over-day delta as the signal — absolute totals include everyone's videos, but the daily change tells you whether a hashtag's momentum is rising or fading.

Can I see which of MY videos ranked under a hashtag?

Yes — the actor returns the current top videos for each hashtag. The workflow flags any whose author matches your username, so you can see when your content is breaking into a hashtag's top posts, which is a strong reach signal worth doubling down on.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.