Send daily Core Web Vitals email reports with PageSpeed Insights and Gmail
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs on a schedule (every day at 07:00). Along the way it connects Gmail. It also calls googleapis.com over HTTP.
How it runs
Trigger: On a schedule (every day at 07:00).
- Config (Edit Fields (Set)): sets 2 fields: url, recipientEmail
- PageSpeed Mobile (HTTP Request): calls googleapis.com
- PageSpeed Desktop (HTTP Request): calls googleapis.com
- Combine Mobile + Desktop (Merge): merges the data from its input branches
- Build Report (Code): runs custom JavaScript code
- Send Report Email (Gmail): uses Gmail
Services it uses
HTTP calls to: googleapis.com
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs daily at 7 AM, checks a URL’s Core Web Vitals and performance for mobile and desktop using the Google PageSpeed Insights API, then builds a color-coded HTML report and emails it to a recipient via Gmail. How it works 1. Runs…