⚙️ Automate website performance analysis and comparison using Gemini and PageSpeed Insights

⚡ 1,713 views · ⚙️ DevOps & CI/CD

💡 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.

View All Scrapers

Description

Know exactly how fast your site is, without opening a single tool. The Page Speed Insight workflow audits website performance with the Google PageSpeed Insights API and Gemini, then delivers clear, actionable reports straight to Discord. Single URL or side-by-side comparison, your call.

Screenshot 20250719 at 14.25.27.png

Disclaimer: this workflow uses the community node Google PageSpeed Insights Community Node

Last updated: September 2026.

Why Use Page Speed Insight?

Who Is This For?

What This Workflow Does

Screenshot 20250719 at 14.27.24.png

Setup Instructions

  1. Import the provided JSON workflow into your n8n instance

  2. Set up credentials for:

    • Google PageSpeed API (ensure you have a valid API key — get yours here)
    • Discord Bot API (developer docs) with permissions to read messages and send messages in your chosen guild/channel
  3. Customize the workflow by adjusting:

    • Discord guild and channel IDs where messages are monitored and results posted
    • Scheduled trigger interval if needed
    • Any prompt text or AI model parameters to tailor report tone and detail level
  4. Test thoroughly with real URLs and Discord interaction to confirm smooth data flow and output quality

Pre-Requirements

Customize It Further

Nodes Used

Quick Answers

How do I run an audit?
Send URLs in a Discord message or let the schedule trigger it automatically.
Single URL or comparison?
Both. It detects whether you sent one URL or several and adjusts the analysis.
What do I need first?
A Google PageSpeed API key, Discord bot credentials, and Gemini credentials.

Support

Made by: khmuhtadin
Tag: automation, performance, SEO, google-pagespeed, discord
Category: Monitoring & Reporting

Need a custom solution? Contact Me

Additional info

Built with n8n. Need an assessment on your business? Feel free to reach out at https://khmuhtadin.com/consultation/

🔗 Nodes Used

Discord, Schedule Trigger, Basic LLM Chain, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup