Templates / Automate google analytics reporting

Automate google analytics reporting

Ready for 3.0

by Alex Kim ✓ · 18,787 views · created 2024-11-15 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 19 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Analytics and Gmail.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get Page Engagement Stats for this week (Google Analytics): uses Google Analytics
  2. Parse - Get Page Engagement This Week (Code): runs custom JavaScript code
  3. Get Page Engagement Stats for prior week (Google Analytics): uses Google Analytics
  4. Parse - Get Page Engagement Prior Week (Code): runs custom JavaScript code
  5. Get Google Search Results for this week (Google Analytics): uses Google Analytics
  6. Parse - Get Google Search This Week (Code): runs custom JavaScript code
  7. Get Google Search Results for prior week (Google Analytics): uses Google Analytics
  8. Parse - Get Google Search Prior Week (Code): runs custom JavaScript code
  9. Get Country views data for this week (Google Analytics): uses Google Analytics
  10. Parse - Country Views This Week (Code): runs custom JavaScript code

…plus 7 more steps. See the full node list below.

Services it uses

Google AnalyticsGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Automate Google Analytics Reporting with n8n This n8n workflow collects, processes, and formats Google Analytics data into a comprehensive HTML report. The report is segmented into three primary categories: Engagement Stats, Search Results, and Country Views.…

Excerpt from Alex Kim's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.