π Monitor website performance with PageSpeed Insights and send alerts
β‘ 1,245 views Β· π Market Research & Insights
π‘ Pro Tip β For competitive intelligence, ScraperNode can automate the data collection β Yelp reviews, Glassdoor company data, and Crunchbase profiles all return structured JSON you can feed straight into this workflow.
Description
Monitor website performance with PageSpeed Insights and save to Google Sheets with alerts
This n8n template automatically monitors website performance using Googleβs PageSpeed Insights API, compiles detailed reports, and tracks performance trends over time in Google Sheets.
Use cases: Agency client monitoring, competitor analysis, performance regression detection, SEO reporting, site migration monitoring, A/B testing performance impact, and maintaining performance SLAs.
Whoβs it for
- Digital agencies monitoring client websites
- SEO professionals tracking site performance
- DevOps teams maintaining performance SLAs
- Business owners wanting automated site monitoring
How it works
- Automated Testing: Scheduled audits of multiple websites using PageSpeed Insights API
- Core Web Vitals: Tracks LCP, FID, CLS, and overall performance scores
- Historical Tracking: Maintains performance history for trend analysis
- Alert System: Sends notifications when performance drops below thresholds
- Detailed Reporting: Captures specific recommendations and optimization opportunities
Two Workflow Paths
- Scheduled Audit: Automatically tests all URLs from Google Sheet on schedule
- On-Demand Testing: Webhook endpoint for immediate single-URL testing
How to set up
- Get a free PageSpeed Insights API key from Google Cloud Console
- Create Google Sheet with columns: URL, Site Name, Category, Alert Threshold, Last_Processed_Date and Device.
- Set up Google Sheets API credentials
- Configure notification preferences (Slack, email, etc.)
- Set audit schedule (daily, weekly, or custom)
- Define performance thresholds for alerts
Requirements
- Google PageSpeed Insights API key (free)
- Google Sheets API access
- n8n instance (cloud or self-hosted)
- Optional: Slack/email for notifications
Google Sheet Structure
Input Sheet (βsitesβ):
- URL, Site_Name, Category, Alert_Threshold, Last_Processed_Date and Device.
Results Sheet (βaudit_resultsβ):
- Date, URL, Site_Name, Device, Performance_Score, LCP, FID, CLS, Recommendations, Full_Report_URL
API Usage (On-Demand)
POST to webhook:
{
"url": "https://example.com",
"site_name": "Example Site",
"alert_threshold": 75
}
How to customize
- Add custom performance thresholds per site
- Include additional metrics (accessibility, SEO, best practices)
- Connect to other dashboards (Data Studio, Grafana)
- Add competitor benchmarking
- Integrate with project management tools for issue tracking
- Set up different notification channels based on severity
- Sample Google Sheet Included
π Nodes Used
Google Sheets, HTTP Request, Webhook, Gmail, Schedule Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File