Automate google analytics reporting
Ready for 3.0What 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).
- Get Page Engagement Stats for this week (Google Analytics): uses Google Analytics
- Parse - Get Page Engagement This Week (Code): runs custom JavaScript code
- Get Page Engagement Stats for prior week (Google Analytics): uses Google Analytics
- Parse - Get Page Engagement Prior Week (Code): runs custom JavaScript code
- Get Google Search Results for this week (Google Analytics): uses Google Analytics
- Parse - Get Google Search This Week (Code): runs custom JavaScript code
- Get Google Search Results for prior week (Google Analytics): uses Google Analytics
- Parse - Get Google Search Prior Week (Code): runs custom JavaScript code
- Get Country views data for this week (Google Analytics): uses Google Analytics
- Parse - Country Views This Week (Code): runs custom JavaScript code
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Analytics + Gmail templates (15)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Analytics
n8n-nodes-base.googleAnalytics - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger
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.…