πŸ“Š Automated SEO keyword analysis with RapidAPI and Google Sheets

⚑ 749 views Β· πŸ“Š Market Research & Insights

Description

πŸš€ Automated Keyword Analysis with On-Page SEO Workflow

πŸ“Œ Description

Boost your SEO strategy by automating keyword research and on-page SEO analysis with n8n. This workflow uses user input (keyword + country), retrieves essential data using the powerful SEO On-Page API, and saves it directly into Google Sheets. Ideal for marketers, content strategists, and SEO agencies looking for efficiency.


πŸ” Node-by-Node Flow explanation

1. 🟒 On form submission

Triggers the workflow when a user submits a keyword and country via a simple form.

2. πŸ“¦ Global Storage

Captures and stores the submitted keyword and country for use across the workflow.

3. 🌍 Keyword Insights Request

Sends a POST request to the SEO On-Page API to fetch keyword suggestions (broad match keywords).

4. 🧾 Re-Format

Extracts the relevant broadMatchKeywords array from the keyword API response.

5. πŸ“Š Keyword Insights

Appends extracted keyword suggestions into the β€œKeyword Insights” tab in Google Sheets.

6. πŸ“‰ KeyWord Difficulty Request

Sends a second POST request to the SEO On-Page API to fetch keyword difficulty and SERP data.

7. πŸ“ˆ Re-Format 2

Extracts the keywordDifficultyIndex value from the API response.

8. πŸ“„ KeyWord Difficulty

Saves the keyword difficulty score into the β€œKeyWord Difficulty” sheet for reference.

9. πŸ” Re -Format 5

Extracts SERP result data from the difficulty API response.

10. πŸ—‚οΈ SERP Result

Appends detailed SERP data into the β€œSerp Analytics” sheet in Google Sheets.


🎯 Benefits


πŸ’‘ Use Cases


πŸ”— API Reference

This workflow is powered by the SEO On-Page API available on RapidAPI. It offers keyword research, difficulty metrics, and SERP analytics through simple endpoints, making it ideal for automation with n8n.


> ⚠️ Note: Make sure to replace "your key" with your actual RapidAPI key in both HTTP Request nodes for successful API calls.

Create your free n8n account and set up the workflow in just a few minutes using the link below:

πŸ‘‰ Start Automating with n8n

Save time, stay consistent, and grow your LinkedIn presence effortlessly!

πŸ”— Nodes Used

Google Sheets, HTTP Request, n8n Form Trigger

πŸ“₯ Import

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

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