# Email a Weekly Search Console Report

Source: https://openflow.run/zh-tw/templates/email-weekly-search-console-report/
Content language: en
Template revision: 9018120e802d4de0a097610157c565df858c0871

行銷

Email the top Google Search queries from the previous seven complete Pacific Time dates.

[在 Open Flow 中使用](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2F9018120e802d4de0a097610157c565df858c0871%2Fworkflows%2Femail-weekly-search-console-report%2Ftemplates%2Femail-weekly-search-console-report.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/9018120e802d4de0a097610157c565df858c0871/workflows/email-weekly-search-console-report/templates/email-weekly-search-console-report.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/9018120e802d4de0a097610157c565df858c0871/workflows/email-weekly-search-console-report/templates/email-weekly-search-console-report.n8n.json)

![Email a Weekly Search Console Report 在 Open Flow 中的工作流程截圖](https://openflow.run/_astro/preview-light.C-Zznan3_1AYJ00.webp)

Email the top Google Search queries from the previous seven complete Pacific Time dates.

## Setup

Connect Google Search Console in **Read search performance** and enter the property exactly as it appears in Search Console, including its trailing slash for a URL-prefix property or the sc-domain: prefix for a domain property. Connect Gmail and set the recipient in **Email the report**. In n8n, configure a Google OAuth client with the n8n callback URL, then create a generic OAuth2 credential using Authorization Code, authorization URL [https://accounts.google.com/o/oauth2/v2/auth](https://accounts.google.com/o/oauth2/v2/auth), token URL [https://oauth2.googleapis.com/token](https://oauth2.googleapis.com/token), and scope [https://www.googleapis.com/auth/webmasters.readonly](https://www.googleapis.com/auth/webmasters.readonly). Authorize an account that can read the property, set the property in **Set the reporting dates**, and connect Gmail and set the recipient in **Send Weekly Report by Email**. Activate one format.

## Behavior

Every Monday at 07:00 UTC the workflow asks Search Console for up to ten search queries ordered by clicks during the previous seven complete Pacific Time calendar dates. The email shows clicks, impressions, CTR as a decimal rounded to two places, and average position. When no rows are returned, it emails a no-data message. Search Console omits some queries and final data can lag by days, so the report may be incomplete. Check the UTC schedule against your local time. Open Flow starts on the minute boundary; n8n Cron chooses a fixed second within that minute.

A failed query stops before sending. A failed or uncertain Gmail send may have been accepted; inspect Sent mail before retrying. The workflow does not store a checkpoint, so reruns can send duplicate reports.

Inspiration & credits

## Changes to the source

*   Configure a Monday schedule; the source Cron had no trigger time configured despite its name. Set UTC explicitly.
*   Replace the source GET/basic-auth request with Google’s authenticated Search Analytics POST, request the query dimension and ten rows, and provide a seven-day date range.
*   Set the email recipient and include the generated report in its body without the automatic n8n attribution.

Adapted from [Weekly Search Console Report](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Http/1893_HTTP_Gmail_Automate_Webhook.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The source export does not identify a separate template author or license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/9018120e802d4de0a097610157c565df858c0871/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## 使用的應用

*   [**Gmail**`gmail`](https://console.openflow.run/connections/gmail)
*   [**Google Search Console**`google_search_console`](https://console.openflow.run/connections/google_search_console)

## 設定需求

*   Google Search Console connection with access to the property
*   Gmail connection with permission to send
*   Search Console property and recipient address

*   google search console
*   gmail
*   seo
*   analytics
*   scheduled

[在 GitHub 查看](https://github.com/oomol-lab/awesome-workflow-templates/blob/9018120e802d4de0a097610157c565df858c0871/workflows/email-weekly-search-console-report/README.md)
