Skip to main content

Automated SEO Keyword Tracking and Research via Semrush API in Google Sheets

Workflow preview

Workflow preview
100%
Automated SEO Keyword Tracking and Research via Semrush API in Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automated Keyword Research Workflow with Google sheet logging & Semrush API Description: Easily collect keywords and country input, run automated keyword research via the [ Semrush Keyword Resea...

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Evoort Solutions.

Original n8n.io source

1.1 Workflow description

Title
Automated SEO Keyword Tracking and Research via Semrush API in Google Sheets
Workflow name
Automated SEO Keyword Tracking and Research via Semrush API in Google Sheets

πŸ”Ž Automated Keyword Research Workflow with Google sheet logging & Semrush API

Description:
Easily collect keywords and country input, run automated keyword research via the Semrush Keyword Research API on RapidAPI, and store results in Google Sheets for seamless tracking and analysis.


βš™οΈ Node-by-Node Explanation

🟒 On form submission (formTrigger)

  • Collects keyword and country inputs from the user via a simple form to start the research process.
  • Triggers the workflow execution upon submission.

🌐 Keyword Research (httpRequest)

  • Sends a POST request with user inputs (keyword and country) to the Semrush Keyword Research.
  • Retrieves keyword suggestions, search volume, and related data for comprehensive keyword insights.

πŸ“„ Append Data to Google Sheet (googleSheets)

  • Automatically appends the keyword research results into a connected Google Sheets document.
  • Enables easy tracking, sharing, and further analysis of keyword data.

πŸ“ˆ Example Spreadsheet Structure

Keyword Country Search Volume CPC Competition Keyword Difficulty Related Keywords Date of Research
keyword1 US 10,000 $2.50 0.75 45 keyword2, keyword3 2025-09-09
example term UK 15,000 $1.80 0.60 38 term1, example keyword 2025-09-09

🌟 Benefits

  • πŸš€ Powered by Semrush Keyword Research API on RapidAPI: Reliable, up-to-date keyword insights accessible via a simple API integration.
  • πŸ”„ Fully Automated: From user input to data storage, the process is seamless and requires no manual handling.
  • πŸ“Š Centralized Data Storage: Storing results in Google Sheets ensures accessibility and easy collaboration.
  • πŸ“ˆ Scalable & Repeatable: Run keyword research on-demand for multiple keywords and countries effortlessly.

πŸš€ Use Cases

  • 🏒 SEO Agencies: Quickly gather keyword data for clients in different markets using the Semrush Keyword Research.
  • πŸ“± Digital Marketing Teams: Monitor and expand keyword strategies by collecting keyword ideas and volume regularly through the Semrush Keyword Research.
  • πŸ”Ž Content Creators: Identify trending and high-traffic keywords tailored by country to optimize content via the Semrush Keyword Research API.
  • πŸ“… Automated Reporting: Generate scheduled keyword research reports by integrating this workflow into larger marketing automation pipelines.

πŸ”‘ How to Get Your API Key for Semrush Keyword Research

  1. Visit the API Page:
    Go to the Semrush Keyword Research on RapidAPI.

  2. Sign Up/Login:
    Create an account or log in if you already have one.

  3. Subscribe to the API:
    Click "Subscribe to Test" and choose a plan (free or paid).

  4. Copy Your API Key:
    After subscribing, your API Key will be available in the "X-RapidAPI-Key" section under "Endpoints".

  5. Use the Key:
    Include the key in your API requests like this:

    -H "X-RapidAPI-Key: YOUR_API_KEY"
    

πŸ›  Customizing the Workflow

To modify the automated workflow and adapt it to your specific use case, follow these guidelines:

  1. Adjust the Data Retrieval Process:
    You can modify the data you want to receive from the Semrush API. For example, if you’re only interested in search volume and CPC, you can filter out the other results in the API request.

  2. Add More Countries:
    If you work with multiple regions, modify the workflow to accept multiple country inputs. You could either pass in a list of countries or have a dropdown on the form that lets users select their country of choice.

  3. Expand Keyword Types:
    The workflow can be expanded to collect data for different types of keywords, such as long-tail or LSI (Latent Semantic Indexing) keywords, depending on your SEO needs.

  4. Set Up Scheduled Keyword Reporting:
    To automate reporting, you can schedule keyword research reports to run at regular intervals, such as monthly, using Google Apps Script or another task scheduler. This way, you’ll always have fresh data on hand for analysis.

βœ… Tips for Smooth Workflow Integration

  1. Test Your API Integration:
    Run a test to check if data is properly flowing into your Google Sheet before automating the process.

  2. Set Up Notifications:
    Use Google Sheets' built-in notifications or an external automation tool (e.g., Zapier, Integromat) to notify you when new data is added or if there’s an issue with the workflow.

  3. Handle Errors Gracefully:
    Add error handling in your automated process to prevent issues like missing data or API request failures from disrupting your workflow.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Keyword Research

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Append Data to Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

3. Summary Table

Workflow Automated SEO Keyword Tracking and Research via Semrush API in Google Sheets
Complexity intermediate
Nodes 7
Categories Market Research
Author Evoort Solutions
Published 20 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7635/7635.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated SEO Keyword Tracking and Research via Semrush API in Google Sheets do?

Automated Keyword Research Workflow with Google sheet logging & Semrush API Description: Easily collect keywords and country input, run automated keyword research via the [ Semrush Keyword Resea...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.