Templates / Automate website performance analysis and comparison using Gemini and PageSpeed Insights

Automate website performance analysis and comparison using Gemini and PageSpeed Insights

Unknown

by Khairul Muhtadin ✓ · 1,713 views · created 2025-07-19 · DevOps, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs on a schedule (every minute). Along the way it connects Discord, Google Gemini Chat Model and Google Pagespeed (community).

How it runs

Trigger: On a schedule (every minute).

  1. Get many messages (Discord): get many (message)
  2. Switch: routes items into 2 branches
  3. Analyze Single url (Google Page Speed): uses Google Page Speed
  4. Parse Url (Code): runs custom JavaScript code
  5. AI Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini
  6. Compare Mobile Performance (Google Page Speed): compare urls
  7. Parse Into Sections (Code): runs custom JavaScript code
  8. Compare Website (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini
  9. Send a message (Discord): work with message
  10. Parse Comparison (Code): runs custom JavaScript code

…plus 2 more steps. See the full node list below.

Services it uses

DiscordGoogle Gemini Chat ModelGoogle Pagespeed (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-google-pagespeed is verified or supports 3.0 (used in Analyze Single url, Analyze from sitemap, Analyze multiple url in batch).

Nodes used (7)

From the author

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…

Excerpt from Khairul Muhtadin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.