Analyze Competitor Keywords with RapidAPI and Google Sheets Reporting
Last edited 58 days ago
🔍 Analyze Competitor Keywords with RapidAPI and Google Sheets Reporting
📄 Description
This n8n workflow streamlines the process of analyzing SEO competitor keywords using the Competitor Keyword Analysis API on RapidAPI. It collects a website and country via form submission, calls the API to retrieve keyword metrics, reformats the response, and logs the results into Google Sheets — all automatically.
It is ideal for SEO analysts, marketing teams, and agencies who need a hands-free solution for competitive keyword insights.
🧩 Node-by-Node Explanation
-
📝 On form submission (
formTrigger)
Starts the workflow when a user submits theirwebsiteandcountrythrough a form. -
🌐 Competitor Keyword Analysis (
httpRequest)
Sends a POST request to the Competitor Keyword Analysis API on RapidAPI with form input to fetch keyword data. -
🔄 Reformat Code (
code)
Extracts thedomainOrganicSearchKeywordsarray from the API response for structured processing. -
📊 Google Sheets (
googleSheets)
Appends the cleaned keyword metrics into a Google Sheet for easy viewing and tracking.
🚀 Benefits of This Workflow
- ✅ Automates SEO research using the Competitor Keyword Analysis API.
- ✅ Eliminates manual data entry — results go straight into Google Sheets.
- ✅ Scalable and reusable for any number of websites or countries.
- ✅ Reformatting logic is built-in, so you get clean, analysis-ready data.
💼 Use Cases
-
Marketing Agencies
Use the Competitor Keyword Analysis API to gather insights for client websites and store the results automatically. -
In-house SEO Teams
Quickly compare keyword performance across competitors and monitor shifts over time with historical Google Sheets logs. -
Freelancers and Consultants
Provide fast, data-backed SEO reports using this automation with the Competitor Keyword Analysis API. -
Keyword Research Automation
Make this flow part of a larger system for identifying keyword gaps, content opportunities, or campaign ideas.
📁 Output Example (Google Sheets)
keyword
searchVolume
cpc
competition
position
previousPosition
keywordDifficulty
best laptops
9900
2.3
0.87
5
7
55
🔐 How to Get Your API Key for the Competitor Keyword Analysis API
- Go to 👉 Competitor Keyword Analysis API - RapidAPI
- Click "Subscribe to Test" (you may need to sign up or log in).
- Choose a pricing plan (there’s a free tier for testing).
- After subscribing, click on the "Endpoints" tab.
- Your API Key will be visible in the "x-rapidapi-key" header.
🔑 Copy and paste this key into the httpRequest node in your workflow.
✅ Summary
This workflow is a powerful no-code automation tool that leverages the Competitor Keyword Analysis API on RapidAPI to deliver real-time SEO insights directly to Google Sheets — saving time, boosting efficiency, and enabling smarter keyword strategy decisions.
Create your free n8n account and set up the workflow in just a few minutes using the link below:
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!





