Automated Google Play Store App Rank Tracker - n8n Workflow

Use this robust n8n workflow to track your app's Google Play Store search rankings using specific keywords via SerpApi. Data is stored in Baserow, and Slack notifications are sent for updates.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

App Store Optimization (ASO) Specialists needing automated rank checks.
Product Managers monitoring keyword performance.
Data Analysts requiring structured, periodic app ranking data.
Users looking for advanced n8n templates integrating custom logic and specialized APIs.

Overview

Tracking app rankings manually across multiple keywords is time-consuming and prone to error. This powerful n8n workflow solves this by establishing a fully automated system for Application Store Optimization (ASO) monitoring.

The automation uses a Baserow database to define the keywords to track and store historical ranks. It leverages the SerpApi n8n node to perform real-time, geographical searches on the Google Play Store. The core value of this n8n template lies in its custom scripting, which precisely identifies the targeted app's rank among the search results. Finally, it updates Baserow with the new ranking data and sends a summary notification via Slack. This comprehensive n8n solution ensures you never miss a significant ranking change, providing key insights into your ASO strategy.

How it Works

This n8n workflow operates on a weekly cycle, initiated by the Schedule Trigger n8n trigger.


  1. Trigger and Data Retrieval: The workflow starts weekly. The first action is the Fetch Keywords from Baserow n8n node, which retrieves a list of keywords and their existing ranks from the Baserow database.

  2. Query Preparation: The Prepare Search Queries code n8n node runs custom JavaScript to define the fixed app package ID and dynamically construct the dedicated SerpApi search URL for each keyword retrieved.

  3. Context Preservation & Search: The Keep Context n8n node saves critical Baserow row IDs and current rank values. It then passes control to the Search PlayStore via SerpAPI n8n node (an HTTP Request) to execute the search query and fetch the raw ranking data.

  4. Merge Results: The Merge Data n8n node combines the original row context (from Baserow) with the new search results (from SerpApi).

  5. Rank Extraction: The Get App Rank code n8n node processes the combined data. It iterates through the organic_results structure and uses the predefined app ID to determine the exact rank (position) of the app for that keyword. It also preserves the current rank as the 'Previous Rank'.

  6. Data Update and Alert: The Update Rank in Baserow n8n node writes the newly calculated currentRank back to the respective row in Baserow using the stored row ID. After the update, the Slack n8n node sends a confirmation alert to a designated Slack channel, including a direct link to the updated Baserow grid. This efficient n8n workflow ensures real-time rank tracking.

Installation Guide

To deploy this advanced n8n workflow, follow these setup steps:


  1. Import: Copy the provided n8n workflow JSON and paste it into your n8n instance.

  2. Credentials: You must set up credentials for the following services:

Baserow: Configure the Baserow Api credential linked to the Fetch Keywords from Baserow and Update Rank in Baserow n8n node instances. Ensure the credentials have write access to the specified table/database IDs.
SerpApi: Although the SerpApi endpoint is called via an HTTP Request n8n node, ensure your API key is correctly inserted into the Prepare Search Queries code node where const apiKey = "{api_key}"; is defined, and verify the package ID (packageId) is correct in both code nodes.
* Slack: Set up the Slack Api credential and configure the Slack n8n node with the correct channel ID or webhook URL for notifications.

  1. Code Configuration: Review and customize the appId and packageId variables within the two Code n8n node instances to match your specific application's package name.

Node Details

Schedule Trigger (n8n trigger): Initiates the entire automation, configured here to run on a weekly interval.
Fetch Keywords from Baserow (Baserow n8n node): Reads all rows from a specific Baserow table (Table ID 568021) containing the keywords and existing rank data.
Prepare Search Queries (Code n8n node): Customizes the data for the API call. It injects the static app package ID and dynamically generates the complete SerpApi query URL using the keyword from Baserow data.
Search PlayStore via SerpAPI (HTTP Request n8n node): Performs the specialized search request to SerpApi, querying Google Play for the specified keyword and returning the search results list.
Merge Data (Merge n8n node): Essential flow control. It combines the original Baserow context (row ID, previous rank) with the newly fetched SerpApi results, ensuring the rank extraction process has all necessary data.
Get App Rank (Code n8n node): Contains the core logic. This n8n node iterates through the search results to find the precise numerical position of the target application. If the app is not found, the rank is set to 0. It sets up the new and previous rank values for the database update.
Update Rank in Baserow (Baserow n8n node): Updates the row specified by the unique ID with the newly calculated rank and saves the old rank as the 'Previous Rank'.
Slack (Slack n8n node): Sends a completion notification and a direct link to the updated data grid, finalizing the n8n workflow.

Related n8n Workflows

Free

Nodes: 8 Nodes
Updated: December 26 2025
View all
Created by

Product & Growth at Testline AI | Automating the Boring Stuff with AI Agents | Ex-RecordBook (YC W22)

Featured*