Use this powerful n8n workflow to automate weekly SEO performance monitoring, calculate Week-over-Week changes in GSC data, and generate Slack alerts for critical keyword movers. Leverage n8n templates for SEO success.
Download this n8n workflow template and start using it instantly.
Managing large websites means tracking thousands of keywords, making manual weekly performance checks tedious and prone to missing critical changes. This sophisticated n8n workflow solves this by automating the entire Week-over-Week (WoW) analysis using Google Search Console (GSC) data.
The core value of this n8n automation is its ability to not only pull the data but also normalize, compare, and segment it (e.g., Brand, Nonbrand, Specific Content Categories). It calculates the absolute delta and percentage change for clicks, impressions, and position. By focusing on customizable thresholds (e.g., >200 click change and >30% change), the n8n trigger ensures you only receive alerts for genuinely significant shifts via Slack, while a detailed HTML report is compiled and sent via Gmail, providing maximum visibility with minimal noise. This complex n8n node arrangement transforms raw data into actionable insights.
This powerful n8n workflow executes weekly, typically on a Monday, using a scheduled n8n trigger.
Schedule Trigger (set to run every Monday). The Define Weeks n8n node then calculates the exact date ranges for 'last week' (7 days prior) and 'prior week' (14 days prior).If n8n node to fetch GSC data for both weeks separately via HTTP Request nodes (acting as the GSC connector).Code n8n nodes (label, Flatten) enrich the GSC responses, ensuring each data point (query/page) is tagged with its corresponding week and standardized metrics.Merge n8n node combines the data streams. The Merge Weeks Code n8n node then executes the crucial Week-over-Week calculation, computing the clicks, impressions, CTR, and position deltas.Tag Brand / Recipes / Nonbrand Code n8n node applies custom logic to categorize each query/page combination into defined segments. Crucially, users must update this n8n node with their own brand terms and URL structures.Switch n8n node routes items based on their assigned segment (Brand, Recipes, Nonbrand), enabling parallel analysis tailored to each traffic type.Top Movers Filter Code n8n node checks if the movement exceeds the defined critical threshold (default: ยฑ200 clicks AND ยฑ30%). If breached, a Slack n8n node sends an immediate alert.Top 25 Filter Code n8n node generates an HTML table highlighting the Top 25 highest click gainers and losers for that specific segment.Merge4 n8n node brings all four segment reports back together. A final Code n8n node formats these into a single, comprehensive HTML email body, which is delivered via the Gmail n8n node.To deploy this automated n8n workflow, follow these steps:
priorWeek and lastWeek HTTP Request nodes. This must have access to your Google Search Console property and API.Top WoW Movers Alert n8n nodes to ensure alerts are sent to your desired channel.Top WoW Movers Email n8n node, or replace it with your preferred email service.Tag Brand / Recipes / Nonbrand Code n8n node and update the example segmentation logic (e.g., "BRAND TERM 1", "BRAND TERM 2" and page paths like /recipes) to match your organization's keyword segments.Top Movers Filter Code n8n nodes to adjust the alert criteria (default: Math.abs(delta) >= 200 && Math.abs(pct) >= 30).Schedule Trigger is configured correctly (default: Monday 15:00 UTC) and activate the n8n workflow. Schedule Trigger:
Function: Serves as the primary n8n trigger, initiating the weekly audit cycle.
Key Configuration: Set to run using a cron expression (0 15 1), meaning 3:00 PM every Monday.
Define Weeks (Code):
Function: A custom n8n node that calculates precise start and end dates for the prior and last 7-day windows, feeding these variables into the GSC requests.
priorWeek & lastWeek (HTTP Request):
Function: Connects to the Google Search Console API (using Google OAuth2 credentials) to pull key performance data (clicks, impressions, position) segmented by 'page' and 'query' dimensions.
Merge Weeks (Code):
Function: The analytical heart of this n8n workflow. This node indexes prior week data and iterates through last week's data to calculate the WoW delta and percentage changes for all core metrics.
Tag Brand / Recipes / Nonbrand (Code):
Function: Customizes data classification based on user-defined logic (query keywords, page path matching) and sorts all items by deltaClicks (descending).
Switch:
Function: Routes the full dataset into four independent flows based on the 'segment' tag (Brand, Brand+Recipes, Recipes, Nonbrand).
Top Movers Filter (Code):
Function: Filters data specifically for high-impact changes (delta clicks >= 200 AND % change >= 30%) for immediate alerting.
Top WoW Movers Alert (Slack):
Function: Receives the flagged high-impact movers and delivers a formatted, urgent alert message via a Slack n8n node.
Top 25 Filter (Code):
Function: Processes the segmented data to identify and format the top 25 up and top 25 down movers into clean HTML table snippets, ready for the final email report. This demonstrates advanced use of a Code n8n node for visualization preparation.
Top WoW Movers Email (Gmail):
* Function: Combines the HTML output from all segments into a single, comprehensive email and sends it to the SEO team, finalizing the execution of this complex n8n workflow.
Automatically monitor changes across your n8n instance. This n8n workflow tracks added or removed n8n nodes and connections, logging detailed history to Google Sheets for auditing and compliance.

Use this robust n8n workflow to automatically monitor and extract new topics from the n8n Community based on specific keywords, saving all relevant data directly into a Google Sheet.

Use this comprehensive n8n workflow to track iOS IPA file sizes daily, log historical trends in Google Sheets, and send immediate Gmail alerts when significant size bloat is detected. Perfect n8n templates for developers.

Use this robust n8n workflow to automatically fetch cryptocurrency prices via CoinGecko and update your Airtable portfolio ledger hourly. A crucial n8n template for finance tracking.

Use this n8n workflow to instantly process TradingView email signals, extract stock symbols using a custom n8n node, log data to Google Sheets, and send immediate Telegram alerts.









































