πŸ“Š Template for TikTok, RapidAPI, and Google Sheets services

⚑ 400 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.

View All Scrapers

Description

πŸ“Š TikTok Account Monitoring Automation

This n8n workflow automates the daily process of fetching TikTok account analytics using the TikTok API and logging the results to Google Sheets.

It helps marketing teams, social media managers, and influencer agencies track video performance and audience growth across multiple TikTok usernames without manual effort.


πŸ” Workflow Summary

  1. ⏰ Trigger via Schedule

    • The workflow runs automatically every day (or any custom interval), ensuring data is consistently updated without manual input.
  2. πŸ“₯ Sheet 1 – Read TikTok Usernames

    • A Google Sheet stores the list of TikTok usernames you want to monitor.
    • βœ… Example Columns:
      • username
      • category
      • priority
      • notes
  3. πŸ” Loop Through Each Username

    • Each username is processed individually in a loop to make separate API calls and avoid data conflicts.
  4. πŸ“‘ Fetch Analytics via RapidAPI

  5. πŸ“€ Sheet 2 – Append Analytics Results

    • Fetched data is logged in another Google Sheet for performance tracking.
    • βœ… Example Columns:
      • username
      • total_videos
      • total_views
      • average_views
      • fetch_date
      • category
  6. πŸ“¦ Sheet 3 – Log API History or Errors

    • A third sheet stores logs of API fetch status, failures, or skipped usernames for debugging.
    • βœ… Example Columns:
      • username
      • status (e.g., success, failed, skipped)
      • message
      • timestamp

πŸ” RapidAPI Notes


πŸ“Œ Optional Extensions (Same API, More Insights)

This same TikTok API also supports other advanced endpoints that can be added to enrich your workflow:

Endpoint NameFunctionality
User Profile DataGet bio, profile image, followers, likes, etc.
User Account StatsExtract detailed user metrics (likes, comments, shares)
User Audience StatsKnow where their followers are from and gender split
Historical DataTrack historical performance trends (useful for growth charts)
HashTags ScraperFind trending or related hashtags used by the user
Related User InfoSuggest accounts similar to the one queried
Videos Views CountsAlready used to get view stats for multiple videos

Each of these can be added using HTTP Request nodes in n8n and plugged into the same sheet or separate ones.


βœ… Benefits


🧠 Use Cases


πŸ“Œ Final Note

This workflow is extendable. You can:

> API Used in this workflow:
> TikTok API

πŸ”— Nodes Used

Google Sheets, HTTP Request, Schedule Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup