Search Console Reports in n8n: Weekly SEO Email Setup

Key takeaways
- n8n has no built-in Search Console node in its core documentation, so the HTTP Request node with a Google OAuth2 credential is the dependable route.
- The Search Analytics query returns clicks, impressions, CTR and average position for dimensions such as query, page, country, device and date.
- Each request returns up to 25,000 rows, with a default of 1,000, and Google does not guarantee every row will be returned.
- Search Console dates use Pacific Time, and the newest days can be incomplete unless you request only final data.
- A week-over-week comparison of top movers is more useful to a busy team than a raw table of every query.
Automated Search Console reports save you from logging in every Monday to copy numbers into a slide. With n8n, a scheduled workflow can pull clicks, impressions, CTR and average position from the Search Console API, compare this week with last week, and email your team a short summary of what moved. The build takes about an hour and then runs on its own.
This playbook uses the official Search Analytics API through n8n's HTTP Request node, because n8n's core documentation does not include a dedicated Search Console node. That route is stable, uses Google's own data and works on both n8n Cloud and self-hosted instances.
What the weekly Search Console reports include
A good weekly report answers three questions: are we up or down, which queries moved, and which pages moved. Everything else is detail.
| Section | Data | Why it matters |
|---|---|---|
| Headline totals | Clicks, impressions, CTR, average position vs last week | Shows direction at a glance |
| Top query gains and losses | Queries with the biggest click change | Points to content that is rising or slipping |
| Top page gains and losses | Pages with the biggest click change | Tells you which URLs need attention |
| Opportunities | Queries with high impressions and low CTR | Quick wins from better titles and meta descriptions |
Keep the email to one screen. Link to the full data in a sheet for anyone who wants to dig deeper. If your team reads Slack more than email, post the same summary to a channel instead; the workflow only changes in its last node.
What the Search Console API gives you
The Search Analytics query endpoint returns rows of performance data grouped by the dimensions you choose. Knowing its limits up front saves hours of confusion later.
- Dimensions: query, page, country, device, date, hour and search appearance, among others. Rows group in the order you list them.
- Metrics per row: clicks, impressions, ctr (from 0 to 1.0) and position.
- Row limit: 1 to 25,000 per request, with a default of 1,000. Use startRow to page through more.
- Data state: final returns only finalised data, all includes fresh data, and hourly_all adds partial hourly data.
- Dates: startDate and endDate are required, in YYYY-MM-DD format, in Pacific Time.
One caveat from Google's documentation: the API returns top rows within internal limits and does not guarantee every row. Long-tail totals may not add up exactly to the dashboard. That is normal.
Step 1: Create a Google OAuth2 credential
The workflow needs permission to read your Search Console data. In n8n, create a Google OAuth2 API credential using a client ID and secret from a Google Cloud project with the Search Console API enabled.
Use the read-only scope: https://www.googleapis.com/auth/webmasters.readonly. A reporting workflow never needs write access, and least privilege is a good habit. Sign in with a Google account that has access to the property you want to report on.
Step 2: Schedule the workflow weekly
Add a Schedule Trigger and set it to run weekly, for example Monday at 7 am. The trigger also accepts a custom cron expression if you prefer.
Check the timezone. The Schedule Trigger uses the workflow timezone if set, otherwise the instance timezone, and self-hosted instances default to America/New York. Set the workflow timezone in its settings so the report lands when your team starts work.
Step 3: Calculate the two date ranges
Add a Code node that builds two seven-day windows: this week and the week before. Recent days can be incomplete, so end the current window a few days before today.
const day = 24 * 60 * 60 * 1000;
const fmt = d => d.toISOString().slice(0, 10);
const end = new Date(Date.now() - 3 * day);
const start = new Date(end.getTime() - 6 * day);
const prevEnd = new Date(start.getTime() - day);
const prevStart = new Date(prevEnd.getTime() - 6 * day);
return [
{ json: { label: 'current', startDate: fmt(start), endDate: fmt(end) } },
{ json: { label: 'previous', startDate: fmt(prevStart), endDate: fmt(prevEnd) } }
];
Returning two items means every following node runs twice, once per window. That keeps the workflow short.
Step 4: Query the Search Console API
Add an HTTP Request node. Set the method to POST and the URL to the Search Analytics endpoint for your property, with the site URL encoded:
https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Fexample.com%2F/searchAnalytics/query
For a domain property, use sc-domain:example.com in place of the URL, encoded the same way. Choose your Google OAuth2 credential under authentication, turn on Send Body and use this JSON:
{
"startDate": "{{ $json.startDate }}",
"endDate": "{{ $json.endDate }}",
"dimensions": ["query"],
"rowLimit": 1000,
"dataState": "final"
}
Duplicate the node and change the dimension to page for the page report. A third copy with no dimensions returns site-wide totals for the headline numbers.
Step 5: Compare the weeks and find movers
Add a Code node that merges the current and previous results by query (or page), then calculates the change in clicks for each one.
Sort by click change and keep the top five gains and top five losses. For opportunities, filter queries with high impressions, a CTR under about 2 percent and an average position between 4 and 15. Those are often pages that rank but have weak titles. These thresholds are starting points; adjust them to your site.
Format CTR as a percentage and round position to one decimal place. Raw values like 0.0213 and 7.4583 are hard to read at 7 am.
Step 6: Send the report and log history
Build a short HTML email or Slack message with the headline totals, the movers and the opportunities, then send it with your email or Slack node.
Also write the weekly totals to Google Sheets with an Append Row operation. The API only covers the history window Search Console keeps, so your own log becomes the long-term record. After a year you can compare the same week across years.
Want the finished version? Import our GSC weekly report template using our guide to importing n8n templates from JSON, then pair it with the GA4 traffic drop alert for a fuller picture.
What a good weekly email looks like
Format matters as much as data. A clear structure means people read it in under a minute instead of filing it away.
- One-line headline. For example: "Clicks up 8% week over week, led by the pricing page."
- Four totals with arrows. Clicks, impressions, CTR and position, each with last week's value beside it.
- Five gains and five losses. Query or page, clicks this week, clicks last week and the change.
- Three opportunities. High-impression queries with weak CTR, each with the page that ranks for it.
- A link to the full data sheet.
Remember that average position improves when the number goes down. Label it clearly, or use an arrow that points up for better rankings, because people misread it all the time.
Turn it into a monthly client report
Agencies can reuse the same workflow for clients with three small changes. First, change the date windows to the last full calendar month and the month before. Second, loop over a sheet of client properties and run the queries once per site. Third, send each client their own email, or write the results into a shared sheet that feeds a dashboard.
The Google account behind your credential needs access to every client property. Ask clients to add it as a user with the lowest access level that still shows performance data, which keeps their settings safe. Store the client name, site URL and recipient email in the same sheet, so adding a new client is one new row rather than a new workflow.
Troubleshooting Search Console API errors
Most errors come from permissions, site URL format or dates.
| Error or symptom | Likely cause | Fix |
|---|---|---|
| 403 permission error | Account lacks access to the property | Add the user in Search Console settings |
| 404 or site not found | Site URL not encoded or wrong property type | Encode the URL; use sc-domain: for domain properties |
| Empty rows | Dates in the future or too recent | End the range a few days back |
| Numbers differ from the dashboard | Timezone, data state or row limits | Match dates in Pacific Time and use final data |
Add an alert for sudden drops
A weekly report tells you what happened last week. Sometimes you need to know sooner. Add a small second workflow that runs daily, pulls site-wide clicks for recent final days and compares them with the same weekday a week earlier.
If clicks fall by more than a threshold you choose, such as 30 percent, send a short Slack or email alert. Keep the threshold loose at first; search traffic naturally moves between weekdays and weekends, and an alert that fires every Monday soon gets ignored. When an alert does fire, check for obvious causes first: a site outage, a deployment that changed titles or robots rules, or a lost redirect. Our broken link checker template helps with the last one.
Make the report useful, not just automatic
An automated report that nobody acts on is just more email. Add one line at the top with the single most important change, and assign someone to look at the biggest loser each week.
The honest limit of Search Console data is that it shows what happened, not why. A drop could be a ranking change, a seasonal dip or a tracking issue on your side. Use the report to decide where to look, then check the page itself.
Our recommendation: start with the query and page movers only, run it for a month, and add sections only when the team asks for them. For more SEO workflows, see our keyword rank tracker template and our guide on how to automate blog work with n8n and AI.
How this was made: researched and written by Mohammad Sayyaf with AI-assisted drafting; API details checked against the linked Google and n8n documentation as of December 2026. Thresholds in step 5 are suggested starting points, not Google guidance.
Frequently asked questions
Does n8n have a Google Search Console node?
n8n's core documentation does not list a dedicated Search Console node as of December 2026. Community nodes exist for self-hosted users, but the most dependable approach is the built-in HTTP Request node with a Google OAuth2 credential and the read-only Search Console scope. It calls the official API directly and keeps working when community packages change.
How far back can I pull Search Console data with n8n?
The API returns the same limited performance history you see in the Search Console interface, not your site's full lifetime. For longer trends, write each weekly result to Google Sheets or a database. After a year you will have your own history that never expires, which makes year-over-year comparisons and seasonality checks possible.
Why do my n8n numbers differ from the Search Console dashboard?
Small differences usually come from date ranges, time zones or data state. Search Console dates use Pacific Time, recent days can be incomplete, and the API returns top rows rather than every row. Match the exact dates, request final data, and compare totals rather than long-tail queries to confirm the workflow is correct.
Can I get Search Console reports for several websites?
Yes. Store your site URLs in a list or sheet, loop over them in n8n and run the same query for each property. The Google account behind your credential must have access to every property. Send one combined email with a short section per site, so the report stays readable instead of arriving as ten separate messages.
How often should an SEO report run?
Weekly is the sweet spot for most small sites. Daily reports are noisy because search data swings between weekdays and weekends, and recent days may still be incomplete. Monthly reports are useful for clients and leadership. Many teams run a weekly team summary and a separate monthly report built from the stored weekly data.
Sources
Put this guide into practice
This Growth playbooks article on ZeeGrowth is meant to ship with a real workflow, not sit as theory. Open the free template library for a JSON file that matches the process you just read about, or use a browser tool (cron builder, expression helper, UTM builder, webhook tester) while you configure nodes in n8n.
Import the JSON, connect credentials, run one test item, then activate. If you get stuck on auth or hosting, the integrations hub and self-hosting guide cover the usual blockers. Prefer someone else to install it? Template setup help and managed hosting are available, while the templates and tools on this site stay free under the MIT license.
Want us to set it up for you?
We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.
Get setup help