Send weekly retail-focused Google Trends summaries with Gemini and Slack
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on a schedule (every week). Along the way it connects Google Gemini Chat Model and Slack. It also calls trends.google.com over HTTP.
How it runs
Trigger: On a schedule (every week).
- Fetch Google Trends Data (HTTP Request): calls trends.google.com
- Parse Trend Data (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Aggregate: combines items into one
- Prepare AI Input Data (Edit Fields (Set)): sets 1 field: combined things
- Trend Summarizer Agent (AI Agent): runs an AI agent, with model: Gemini Chat Model; output parser: Parse AI Output
- Format Summary for Slack (Code): runs custom JavaScript code
- Post Summary to Slack (Slack): uses Slack
Services it uses
Other Google Gemini + Slack templates (309)
HTTP calls to: trends.google.com
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 (10)
- HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Slack
n8n-nodes-base.slack - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview Video: https://www.youtube.com/shorts/6wRN6BODU This workflow runs weekly, fetches US Google Trends data via an HTTP request, filters and aggregates active trends, uses the Google Gemini Chat Model to identify items relevant to physical retail…