Automate Google Search Console Reporting with n8n

Save hours each week by automating Google Search Console data export directly into Google Sheets with n8n. This workflow fetches keyword, page, and date-based search metrics, transforming raw API data into actionable insights for SEO professionals and marketers.
httpRequest
googleSheets
splitOut
+3
Workflow Identifier: 2290
NODES in Use: splitOut, set, httpRequest, scheduleTrigger, googleSheets, stickyNote

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow fetches Google Search Console data and adds it to Google Sheets automatically.
It gets keyword queries, page reports, and daily performance data for the last 30 days.
The data is cleaned and put into three different tabs in Google Sheets.
This saves time by stopping manual downloads and copy-pasting.
The workflow runs on a set schedule and works without user input once set up.


Who should use this workflow

People who manage SEO and want to avoid long manual work collecting Search Console data.
It helps SEO specialists, marketing teams, or agencies with multiple websites.
It is for users who want data automatically sent to Google Sheets for easier reporting.


Tools and services used

  • n8n: Runs the automation workflow.
  • Google Search Console API: Provides SEO performance data.
  • Google OAuth2 credentials: To authorize access securely.
  • Google Sheets API: To add or update data in spreadsheets.

Inputs, processing steps, and outputs

Inputs

  • The website domain name registered in Search Console.
  • The number of days to pull data for, often 30.
  • Google OAuth2 credentials with access to Search Console and Sheets.

Processing steps

  • The workflow triggers on a schedule (such as daily or weekly).
  • It sends three POST requests to Search Console API to get data by query, page, and date.
  • Responses have nested arrays; those are split into single entries.
  • Fields from responses are renamed for clarity like “Keyword”, “Clicks”, “CTR.”
  • Data is sent to Google Sheets nodes to update or append rows in separate tabs.

Outputs

  • Google Sheets with up-to-date tabs named Queries, Pages, and Dates.
  • Each tab has clean, structured data ready to use for SEO reports.

Beginner step-by-step: How to run this workflow in n8n

1. Import the workflow

  1. Download the workflow file using the Download button on this page.
  2. In the n8n editor, click on “Import from File.”
  3. Select the downloaded workflow file to add it to your n8n instance.

2. Configure credentials

  1. Add Google OAuth2 credentials for Search Console and Google Sheets with proper scopes.
  2. Edit the Set your domain node. Put your website domain as it appears in Search Console.
  3. If needed, change the number of days to fetch data (default is 30).
  4. In Google Sheets nodes, set your spreadsheet ID and sheet names like “Query”, “PAGES”, and “Dates”.
  5. Make sure your Google Sheets is shared with your OAuth service account email.

3. Test and activate

  1. Run the workflow manually one time to check if data retrieves and sends correctly.
  2. Look at execution logs for errors and fix if any appear.
  3. Once tests are successful, switch on the Schedule Trigger to run the workflow automatically.
  4. Monitor logs regularly for any run failures.

If using self-host n8n, more setup may be needed – see self-host n8n for advice.


Common problems to watch for

  • Getting “403 Forbidden” means OAuth scopes or credentials are wrong.
  • Empty data after splitting rows means API response has no rows or split node setup is incorrect.
  • No data in Sheets usually means no sharing permission or wrong spreadsheet/tab names.
  • Misspelled domain causes Search Console API to fail.

Ways to customize this workflow

  • Change the number of days in the Set your domain node to get more or less data.
  • Add more dimensions like “device” or “country” in the search request bodies to get detailed reports.
  • Change Google Sheets tabs and add columns to capture additional data.
  • Adjust the schedule trigger to run hourly, weekly, or monthly.
  • Make domain dynamic by using input nodes or API calls for multiple sites.

Summary of results and benefits

✓ Saves hours of manual data export and copy-pasting.
✓ Reduces errors from manual work.
✓ Gives fresh, organized SEO data every time it runs.
✓ Produces three tabs in Google Sheets with keyword, page, and daily metrics.
✓ Runs fully automatically after setup.


Frequently Asked Questions

The user changes the value in the Set your domain node by editing the ‘days’ number to the desired period.
This error happens when OAuth2 credentials lack correct scopes or are invalid.
It appends or updates data in specified Google Sheets tabs, matching on unique keys like keywords or dates.
Not by default. The workflow needs modifying to input domains dynamically or duplicating it per domain.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free