Automate SEO competitor research using an n8n workflow. Capture domain input, query RapidAPI, and log detailed organic keywords and competitor data directly to Google Sheets.
Download this n8n workflow template and start using it instantly.
SEO Specialists who need automated data logging for competitive analysis.
Marketing Analysts looking for reliable n8n templates to monitor organic search performance.
Businesses requiring a structured logging solution for high-volume API data extraction.
n8n users interested in conditional logic and API integration using the http request n8n node.
This powerful automation solution simplifies the tedious process of gathering competitor SEO data. The user initiates the process via a simple web form, providing the target domain. The n8n workflow then securely communicates with a specialized competitor analysis API via RapidAPI. A crucial feature of this n8n workflow is its robust error handling: it uses conditional logic to verify that all necessary data points (like organic competitors and keywords) are actually returned by the API. If the data is complete, it is logged immediately to a designated Google Sheet. If data is missing, the n8n workflow intelligently logs an error entry, ensuring your data sheet remains a complete record of all attempts, including successes and failures. This specific n8n template helps maintain data integrity and workflow pacing by including a wait n8n node in the failure path.
The process is initiated by the On form submission n8n trigger:
formTrigger n8n node.Global Storage n8n node captures the domain input and saves it for subsequent API calls.Competitor Analysis Request n8n node sends a POST request to the RapidAPI endpoint, querying for broad SEO metrics related to the provided domain.If n8n node evaluates the API response. It specifically checks if the JSON output fields for organic competitors, organic pages, and search keywords are populated.Google Sheets n8n node, where the detailed competitor metrics are appended to the spreadsheet.Wait n8n node, introducing a 5-second delay. Following the delay, the second Google Sheets1 n8n node runs, logging the original domain and inserting "Not data found." into all metric columns, ensuring comprehensive logging coverage in your n8n workflow.To install and run this n8n template, follow these steps:
Competitor Analysis Request n8n node. Update the header parameters with your actual RapidAPI Host and RapidAPI Key.Google Sheets nodes. You must set up a Service Account credential for Google Sheets API access.Google Sheets n8n nodes, replace the placeholder Document ID with the ID of your target spreadsheet where the competitor analysis data will be logged.On form submission n8n trigger is enabled. Share the webhook URL/form link with relevant users. On form submission (Form Trigger): Functions as the starting n8n trigger, collecting the essential Website domain input from a user-friendly form interface.
Global Storage (Set n8n node): Stores the user-provided Website domain value securely for dynamic use across subsequent n8n nodes, specifically mapping it as website.
Competitor Analysis Request (HTTP Request n8n node): Executes a POST request to a RapidAPI endpoint for competitor data. Key Configuration includes setting the URL (competitor.php) and injecting required x-rapidapi-key and website payload parameters.
If (n8n node): Implements crucial conditional logic. It checks four conditions to ensure the API response contains valid, non-empty arrays for organicCompetitors, organicPages, and domainOrganicSearchKeywords before proceeding to data logging.
Google Sheets (Append Operation): (Connected to True output). Logs successful, structured SEO data (Organic Pages, Competitors, Keywords) pulled directly from the API response body into the designated spreadsheet. This is a critical step in the n8n template.
Wait (n8n node): Used in the failure path (False output) to introduce a 5-second delay. This controls the flow and helps prevent hitting rate limits immediately upon successive failures.
Use this powerful n8n workflow to automate comprehensive competitor analysis using Semrush API data and log all organic search metrics directly to Google Sheets for reporting. Find more n8n templates for SEO here.

Automate static site publishing with this powerful n8n workflow. Generates SEO blog content using GPT-4o-mini, commits finished Markdown posts to GitHub for Jekyll, and handles input data cleanup.

Use this powerful n8n workflow to instantly generate SEO-optimized blog posts, complete with slugs, titles, and meta descriptions, using GPT-4o and dynamic research from a Perplexity n8n node. Download these n8n templates today.

Use this comprehensive n8n workflow to automatically scrape website sitemaps, extract page content, and generate bulk SEO titles, meta descriptions, and FAQs using OpenAI, storing results in Google Sheets.

Use this powerful n8n workflow to automate SEO research. Input keywords via an n8n trigger form, fetch difficulty scores and SERP results via RapidAPI, and save data to Google Sheets for reporting.









































