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.
Download this n8n workflow template and start using it instantly.
SEO Specialists and Strategists
Marketing Analysts requiring automated data aggregation
Users who need repeatable, detailed competitor research
Developers looking for advanced n8n templates utilizing complex API structures
This n8n workflow is engineered to streamline comprehensive SEO competitor analysis, moving beyond manual data exports. Instead of requiring interaction with the Semrush dashboard for various reports, this automation, triggered by a simple website submission, executes a complex API request to gather four critical datasets: Domain Overview, Organic Competitors, Organic Pages, and Detailed Organic Search Keywords.
The core value lies in its structured parallel processing. After fetching the data via an HTTP Request n8n node, the flow splits into four branches, each processing a specific part of the JSON response. The results are then automatically and cleanly logged across dedicated sheets in a single Google Sheet document. This advanced n8n workflow ensures accurate, consistent, and scalable data logging, providing a robust foundation for competitive tracking and reporting, far surpassing the capabilities of standard manual processes.
This powerful n8n workflow operates through a structured sequence of actions, ensuring every piece of competitor data is captured and logged correctly.
domainOverview or organicCompetitors, preparing them for structured database entry.To deploy this powerful n8n workflow, follow these steps:
x-rapidapi-key header parameter with your valid RapidAPI key for the Semrush integration service. Note: The specific URL https://competitor-analysis-semrush.p.rapidapi.com/competitor.php relies on a third-party RapidAPI service.domainOverview, organicCompetitors, organicPages, domainOrganicSearchKeywords).This n8n workflow leverages multiple nodes for structured data handling:
On form submission (Form Trigger n8n trigger):
Function: Serves as the starting n8n trigger, collecting the URL input (website) necessary for the API query.
Key Configuration: Configured to require the website field input.
Competitor Analysis (HTTP Request n8n node):
Function: Executes the core data retrieval logic by calling the Semrush RapidAPI endpoint.
Key Configuration: Uses a POST method, sets Content-Type to multipart-form-data, and dynamically uses ={{ $json.website }} from the trigger node in the body parameters.
Re format output, Reformat, Reformat 2, Reformat2 (Code n8n node):
Function: These four separate n8n node instances are essential for parsing the single massive API response, ensuring only the necessary array or object structure is passed forward for logging.
Key Configuration: Each node uses JavaScript to isolate a specific path, e.g., return $input.first().json.data.semrushAPI.domainOverview.
Domain overview, Organic Competitor, Organic Pages, organic keywords (Google Sheets n8n node):
Function: Handles the final step of the n8n workflow, securely logging the processed SEO data into the specified Google Sheet.
Key Configuration: Operation set to Append. Each node is mapped to automatically match input fields (e.g., organicKeywords, searchVolume) to distinct columns in a designated sheet (e.g., domainOverview, organic keywords). Uses Service Account authentication.
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.

Automate SEO blog content creation using an n8n workflow powered by GPT-4o-mini and Google Sheets. This n8n template includes human-in-the-loop approval via Gmail, ensuring quality control before final delivery to Google Docs.

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.

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.









































