Automate website performance analysis and comparison using Gemini and PageSpeed Insights
UnknownWhat 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).
- Get many messages (Discord): get many (message)
- Switch: routes items into 2 branches
- Analyze Single url (Google Page Speed): uses Google Page Speed
- Parse Url (Code): runs custom JavaScript code
- AI Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini
- Compare Mobile Performance (Google Page Speed): compare urls
- Parse Into Sections (Code): runs custom JavaScript code
- Compare Website (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini
- Send a message (Discord): work with message
- Parse Comparison (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
Services it uses
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)
- Google Page Speed
n8n-nodes-google-pagespeed.googlePageSpeed - Discord
n8n-nodes-base.discord - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
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…