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
Automate Search Console with n8n and GoogleSheets

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

Learn how to Build this Workflow with AI:

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.


Automate Search Console with n8n and GoogleSheets

Visit through Desktop to Interact with the Workflow.

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.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.