Skip to main content

Simulate investment scenarios with Groq and live Google News RSS feeds

Workflow preview

Workflow preview
100%
Simulate investment scenarios with Groq and live Google News RSS feeds preview
Open on n8n.io

1. Workflow Overview

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 (L...

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatgroq, n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.if, n8n-nodes-base.respondtowebhook, n8n-nodes-base.set, n8n-nodes-base.rssfeedread, n8n-nodes-base.sort

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.

Original n8n.io source

1.1 Workflow description

Title
Simulate investment scenarios with Groq and live Google News RSS feeds
Workflow name
Simulate investment scenarios with Groq and live Google News RSS feeds

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 three investment suggestions returned in the webhook response.

How it works

  1. Receives a POST webhook request with investment principal, expected annual return rate, and time horizon.
  2. Validates the inputs and immediately returns a JSON error response if the amount is below 1000, the rate is outside 0–50%, or the time horizon is under 1 year.
  3. Calculates compound-growth projections (future value and profit) and assigns a Low/Medium/High risk level based on the expected return.
  4. Fetches Google News RSS results using a risk-specific query, sorts them by newest first, and keeps the top five headlines.
  5. Sends the investment inputs, projections, risk level, and curated headlines to a Groq chat model to produce a strict-JSON summary, realism insight, and exactly three suggestions (low/medium/high risk).
  6. Wraps the AI output together with the original inputs and projection details into a final JSON object and returns it to the webhook caller.

Setup

  1. Activate the Webhook trigger and copy the test/production webhook URL into the app or client that will POST the investment payload.
  2. Add Groq API credentials for the Groq chat model used by the AI analysis step.
  3. Ensure your webhook request body includes principal, rate, and time fields that match the workflow’s validation rules and calculations.
  4. Optionally edit the Google News RSS query URLs to match your preferred market keywords for each risk level.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Groq Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Receive Investment Input

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 9 - Validate User Input

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 10 - Invalid Input Error

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 11 - Calculate Projection & Risk Profile

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Fetch Market News (Dynamic by Risk)

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 13 - Latest Market News First

Type / Role
n8n-nodes-base.sort - sort
Config choices
Version 1

Block 14 - Top 5 Market News

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 15 - Structure Market News for AI

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - AI - Investment Analysis & Suggestions

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 17 - Format Final Response

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Send Final Output

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

3. Summary Table

Workflow Simulate investment scenarios with Groq and live Google News RSS feeds
Complexity advanced
Nodes 18
Categories Crypto Trading, AI Summarization
Author WeblineIndia
Published 12 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16308/16308.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Simulate investment scenarios with Groq and live Google News RSS feeds do?

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 (L...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.