Skip to main content

Monitor website performance with PageSpeed Insights and send alerts

Workflow preview

Workflow preview
100%
Monitor website performance with PageSpeed Insights and send alerts preview
Open on n8n.io

Important notice

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

1. Workflow Overview

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, compile...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.respondtowebhook, n8n-nodes-base.webhook, n8n-nodes-base.googlesheets, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Monitor website performance with PageSpeed Insights and send alerts
Workflow name
Monitor website performance with PageSpeed Insights and send alerts

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

  1. Scheduled Audit: Automatically tests all URLs from Google Sheet on schedule
  2. On-Demand Testing: Webhook endpoint for immediate single-URL testing

How to set up

  1. Get a free PageSpeed Insights API key from Google Cloud Console
  2. Create Google Sheet with columns: URL, Site Name, Category, Alert Threshold, Last_Processed_Date and Device.
  3. Set up Google Sheets API credentials
  4. Configure notification preferences (Slack, email, etc.)
  5. Set audit schedule (daily, weekly, or custom)
  6. 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

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 - Main Template Explanation

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

Block 2 - On-Demand Testing Note

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

Block 3 - Format Webhook Input

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Run On-Demand Test

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Process On-Demand Results

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

Block 6 - Return Audit Response

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.4

Block 7 - Webhook

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

Block 8 - Scheduled Audit Note

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

Block 9 - Run PageSpeed Test

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Process Audit Results

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

Block 11 - Save Audit Results

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 12 - Check Alert Threshold

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

Block 13 - Schedule Trigger

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

Block 14 - Filter Unprocessed Sites

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

Block 15 - Send a message

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

Block 16 - Scheduled Audit Note1

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

Block 17 - Scheduled Audit Note2

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

Block 18 - Load Sites from Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 19 - Skip Alert (Performance OK)

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

Block 20 - Update Audit Date

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

3. Summary Table

Workflow Monitor website performance with PageSpeed Insights and send alerts
Complexity advanced
Nodes 20
Categories Market Research
Author Dahiana
Published 06 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8328/8328.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 Monitor website performance with PageSpeed Insights and send alerts do?

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, compile...

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 use case.