Automate scheduled TikTok profile and video analytics retrieval using RapidAPI and log the metrics directly into Google Sheets using this powerful n8n workflow.
Download this n8n workflow template and start using it instantly.
This expert n8n workflow template solves the challenge of manually monitoring large sets of TikTok profile metrics. By leveraging a scheduled n8n trigger, it automatically reads a list of target usernames from a Google Sheet, uses RapidAPI via the HTTP Request n8n node to fetch real-time follower counts, likes, and total video views, and then consolidates all this crucial data into a designated Google Sheet log. This efficient n8n workflow structure ensures reliable, hands-off data collection for competitor analysis or client reporting. Utilizing this n8n template allows users to maintain a historical database of key TikTok statistics effortlessly.
The process begins with the Schedule Trigger, an essential n8n trigger node that initiates the entire n8n workflow template execution based on a defined time interval.
Google Sheets n8n node reads the list of TikTok usernames from a specified input spreadsheet.Loop Over Items n8n node splits the retrieved list, processing each username individually.Fetch Profile n8n node (an HTTP Request) calls the RapidAPI userprofile.php endpoint to retrieve metrics like total likes, video count, and follower/following counts.Profile Stats Google Sheets n8n node immediately appends this profile data, along with the current date, back to a results sheet.Fetch Videos n8n node calls the RapidAPI viewcount.php endpoint to get deeper video metrics, such as total views and total posts.Videos Stats Google Sheets n8n node appends this detailed video information to the sheet, completing the cycle for the current username before the Loop Over Items node proceeds to the next profile.To deploy this automated n8n workflow, follow these steps:
Fetch Profile and Fetch Videos HTTP Request n8n node configurations, replace the placeholder your key with your actual RapidAPI Key in the header parameters.Schedule Trigger interval and activate the n8n workflow. Schedule Trigger (n8n trigger): Initiates the entire n8n workflow on a recurring schedule, ensuring automated execution.
Google Sheets (Read): Reads the input data. Key configuration involves specifying the Document ID and Sheet Name containing the list of TikTok usernames to analyze.
Loop Over Items (n8n node): Essential utility node that processes the input sheet data row by row, ensuring independent API calls for each username.
Fetch Profile (HTTP Request n8n node): Sends a POST request to tiktok-api42.p.rapidapi.com/userprofile.php. Key Configuration: Uses an expression ={{ $json.username }} to dynamically input the username from the loop and requires the x-rapidapi-key header.
Profile Stats (Google Sheets n8n node): Appends collected profile data (likes, followers, videos) to the output spreadsheet. It uses expressions to map data points like {{ $json.userProfile.followerCount }} directly from the previous n8n node output.
Fetch Videos (HTTP Request n8n node): Sends a POST request to tiktok-api42.p.rapidapi.com/viewcount.php to fetch total video statistics. Key Configuration: Uses the RapidAPI host and key, similar to the Fetch Profile n8n node.
This advanced n8n workflow template automates weekly e-commerce reporting, using an HTTP request n8n node to fetch order data, logging detailed reports to Google Sheets, and notifying users via Gmail.

Use this powerful n8n workflow to automate image retrieval from Google Drive, including dynamic resizing and sorting, for bulk insertion into Google Docs. A highly efficient n8n template.

Learn how to use the Magic Inbox n8n node to securely share n8n workflows and complex automation templates between self-hosted n8n instances using a peer-to-peer system, triggered by a Telegram n8n trigger.

Use this powerful n8n workflow to automatically generate standardized Google Drive folder structures from a predefined template. Perfect for agencies needing consistent project organization, leveraging an n8n trigger and Google Apps Script.

Automate short-term Tesla stock analysis using this advanced n8n workflow. Integrates LangChain AI agents, Alpha Vantage data, and custom n8n node logic for structured JSON technical analysis.









































