π 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
- β Fully Automated SEO Research β No manual data entry or API calls required.
- π Real-time Data Collection β Powered by SEO On-Page API on RapidAPI, ensuring fresh and reliable results.
- π Organized Insights β Data is cleanly categorized into separate Google Sheets tabs.
- β±οΈ Time Saver β Instantly analyze keywords without switching between tools.
π‘ Use Cases
- π SEO Agencies β Generate keyword reports for clients automatically.
- π Content Writers β Discover keyword difficulty and SERP competition before drafting.
- π§βπ» Digital Marketers β Monitor keyword trends and search visibility in real-time.
- π Bloggers & Influencers β Choose better keywords to rank faster on search engines.
π 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