Analyze competitor pricing and feature changes with Google Gemini
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Gemini Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Set Competitor Data Fields (Edit Fields (Set)): sets 4 fields: competitor_name, competitor_url, previous_snapshot…
- Prepare Data for Analysis (Code): runs custom JavaScript code
- Market Intelligence AI Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Analysis Model; output parser: Parse Structured Intelligence
- Route by Threat Assessment (Switch): routes items into 3 branches
- Format Founder Urgency Alert (Code): runs custom JavaScript code
- Format Product Update Digest (Code): runs custom JavaScript code
- Log Minor Changes (Edit Fields (Set)): sets 2 fields: alert_type, status
- Merge: merges the data from its input branches
- Finalize Intelligence Log (Code): runs custom JavaScript code
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow runs on a weekly schedule (or manually) to compare a competitor’s previous vs current pricing/feature snapshot, analyzes the changes with Google Gemini, and produces a structured market-intelligence record with threat scoring and…