Track investor behavior with NewsAPI, Gemini, Groq and Slack alerts
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs when someone submits an n8n form (“Investor Behavior Tracker”) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Gmail, Slack and Groq Chat Model. It also calls newsapi.org over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Investor Behavior Tracker”) (plus 1 other trigger).
- Fetch market news (HTTP Request): calls newsapi.org
- Insert form data to table (Data table): uses Data table
- Retrieve all data from data table (Data table): get
- Filter required news (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
- Get last 7 items (Limit): keeps the first few items
- Aggregate: combines items into one
- AI Agent: runs an AI agent, with model: Gemini; 2 tools (Send Gmail, Send slack alert)
- retrieve required fields (Edit Fields (Set)): sets 5 fields: action, reason, instant_feedback…
- Retrieve latest feedback (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: newsapi.org
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 (14)
- Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Gmail Tool
n8n-nodes-base.gmailTool - Slack Tool
n8n-nodes-base.slackTool - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Limit
n8n-nodes-base.limit - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq
From the author
Quick Overview This workflow captures an investor’s buy/sell action via an n8n Form, pulls related market news from NewsAPI, uses Google Gemini to generate a one-line behavioral reflection, sends it via Gmail and Slack, stores it in an n8n Data Table, and…