Skip to main content

Weekly Google Analytics report with GPT-4o analysis & email delivery

Workflow preview

Workflow preview
100%
Weekly Google Analytics report with GPT-4o analysis & email delivery preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

The workflow automatically gathers weekly user and page view metrics . It then uses AI to analyze, compare, and compile a summary report . Finally, it sends the report to the manager's email. How i...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.gmail, n8n-nodes-base.code, n8n-nodes-base.googleanalytics, n8n-nodes-base.merge, n8n-nodes-htmlcsstopdf.htmlcsstopdf, n8n-nodes-base.html

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Satoshi.

Original n8n.io source

1.1 Workflow description

Title
Weekly Google Analytics report with GPT-4o analysis & email delivery
Workflow name
Weekly Google Analytics report with GPT-4o analysis & email delivery

Overview

The workflow automatically gathers weekly user and page view metrics. It then uses AI to analyze, compare, and compile a summary report. Finally, it sends the report to the manager's email.

How it works

Get Data from GA

Automatically retrieve data from Google Analytics (GA) for the two most recent weeks. Compare the data and calculate the variances between the two weeks.

Generate Report

Automatically analyze the data and generate reports using Artificial Intelligence (AI). Generate charts to visualize the data. Export the report to PDF.

Send Report

Send the report via email to the manager.

Set up steps

Google cloud account

Create the credentials and replace them in the workflow. Please enable the following APIs:

  • Gmail API
  • Google Analytics Admin API
  • Google Analytics Data API

HTML to PDF account

You need to install node HTML to PDF. Get API key and replace in the workflow.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 4 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 5 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Generate Date Range

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - GA This Week

Type / Role
n8n-nodes-base.googleAnalytics - googleAnalytics
Config choices
Version 2

Block 9 - GA Last Week

Type / Role
n8n-nodes-base.googleAnalytics - googleAnalytics
Config choices
Version 2

Block 10 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 11 - Extract GA This Week

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Extract GA Last Week

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Calculate Differences

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - HTML to PDF

Type / Role
n8n-nodes-htmlcsstopdf.htmlcsstopdf - htmlcsstopdf
Config choices
Version 1

Block 15 - Generate chart

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Report template

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 17 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Message a model1

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

3. Summary Table

Workflow Weekly Google Analytics report with GPT-4o analysis & email delivery
Complexity advanced
Nodes 20
Categories Market Research, AI Summarization
Author Satoshi
Published 17 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10920/10920.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Weekly Google Analytics report with GPT-4o analysis & email delivery do?

The workflow automatically gathers weekly user and page view metrics . It then uses AI to analyze, compare, and compile a summary report . Finally, it sends the report to the manager's email. How i...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.