Simulate investment scenarios with Groq and live Google News RSS feeds
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Groq Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate User Input (If): checks a condition and branches into true / false
- Invalid Input Error (Respond to Webhook): sends the response back to the webhook caller
- Calculate Projection & Risk Profile (Edit Fields (Set)): sets 6 fields: amount, rate, years…
- Fetch Market News (Dynamic by Risk) (RSS Read): reads an RSS feed
- Latest Market News First (Sort): sorts the items
- Top 5 Market News (Limit): keeps the first few items
- Structure Market News for AI (Code): runs custom JavaScript code
- AI - Investment Analysis & Suggestions (AI Agent): runs an AI agent, with model: Groq Chat Model
- Format Final Response (Edit Fields (Set)): sets or maps fields
- Send Final Output (Respond to Webhook): sends the response back to the webhook caller
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 (10)
- Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - RSS Read
n8n-nodes-base.rssFeedRead - Sort
n8n-nodes-base.sort - Limit
n8n-nodes-base.limit - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
Quick Overview This workflow receives investment inputs via a webhook, calculates projected returns and a risk profile, pulls matching Google News RSS headlines for market context, and uses Groq (LangChain agent) to generate a structured JSON analysis with…