Template for TikTok, RapidAPI, and Google Sheets Services
š 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
ā° Trigger via Schedule The workflow runs automatically every day (or any custom interval), ensuring data is consistently updated without manual input.
š„ Sheet 1 ā Read TikTok Usernames A Google Sheet stores the list of TikTok usernames you want to monitor. ā Example Columns: username category priority notes
š Loop Through Each Username Each username is processed individually in a loop to make separate API calls and avoid data conflicts.
š” Fetch Analytics via RapidAPI
The following TikTok API endpoint is used:
POST https://tiktok-api42.p.rapidapi.com/videos_view_count.php
You get per-user stats like:
Number of videos
Total views
Recent video views
This endpoint is highly stable and works without TikTok login or auth.
š¤ 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
š¦ 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
You must have an API key from TikTok API
All requests are made to https://tiktok-api42.p.rapidapi.com
The main endpoint in use is:
POST https://tiktok-api42.p.rapidapi.com/videos_view_count.php
Each request uses POST with params like username, region, number
The response is JSON and easy to parse in n8n workflows
š Optional Extensions (Same API, More Insights)
This same TikTok API also supports other advanced endpoints that can be added to enrich your workflow:
| Endpoint Name | Functionality | |---------------------------|------------------------------------------------------------------| | User Profile Data | Get bio, profile image, followers, likes, etc. | | User Account Stats | Extract detailed user metrics (likes, comments, shares) | | User Audience Stats | Know where their followers are from and gender split | | Historical Data | Track historical performance trends (useful for growth charts) | | HashTags Scraper | Find trending or related hashtags used by the user | | Related User Info | Suggest accounts similar to the one queried | | Videos Views Counts | Already 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
š Fully Automated: No manual copy-paste or login required š Centralized Analytics: Track all creators or clients in one dashboard š Performance Insights: Daily growth visibility with historical tracking š¤ Data Export Ready: Stored in Google Sheets for easy share/report/export š§ Scalable & Flexible: Add hashtags, followers, or audience demographics
š§ Use Cases
Influencer Agencies** tracking clients' TikTok growth daily Brands running UGC Campaigns** who want to monitor video traction Analysts** building dashboards from Sheet-to-DataStudio/Looker Marketers** analyzing viral trends or creators across niches
š Final Note
This workflow is extendable. You can: Merge multiple endpoints per user Schedule it weekly or monthly Send email summaries Push to Slack or Google Data Studio
> API Used in this workflow:
> TikTok API
Related Templates
Automated SEO Performance Collection from Google Search Console to NocoDB
Problem Monitoring SEO performance from Google Search Console (GSC) manually is repetitive and prone to human error. Fo...
Automated Work Attendance with Location Triggers
his workflow automates time tracking using location-based triggers. How it works Trigger: It starts when you enter or e...
Lookup IP Geolocation Details with IP-API.com via Webhook
This n8n template enables you to instantly retrieve detailed geolocation information for any given IP address by simply ...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments