Skip to main content

Track investor behavior with NewsAPI, Gemini, Groq and Slack alerts

Workflow preview

Workflow preview
100%
Track investor behavior with NewsAPI, Gemini, Groq and Slack alerts preview
Open on n8n.io

1. Workflow Overview

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 i...

Best for

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

Tools used

n8n-nodes-base.aggregate, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.datatable, n8n-nodes-base.merge

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
Track investor behavior with NewsAPI, Gemini, Groq and Slack alerts
Workflow name
Track investor behavior with NewsAPI, Gemini, Groq and Slack alerts

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 posts a weekly Slack summary using Groq.

How it works

  1. Receives an investment action submission (buy/sell, reason, and market name) through an n8n Form.
  2. Fetches recent related news from NewsAPI based on the selected market and aggregates article descriptions into a single summary.
  3. Stores the form submission in an n8n Data Table and merges it with the aggregated news summary.
  4. Uses Google Gemini (via an AI Agent) to generate a short, supportive behavioral insight and sends it through Gmail and to a Slack channel.
  5. Parses the AI output and updates the corresponding Data Table row with the generated instant feedback.
  6. Runs weekly on a schedule, pulls the last seven entries from the Data Table, and uses Groq to generate a concise behavioral pattern report that is posted to Slack.

Setup

  1. Create or select an n8n Data Table for storing submissions and feedback, and ensure it includes an instant_feedback column (and market_type if you want it stored).
  2. Add credentials for NewsAPI (HTTP Header auth), Google Gemini (PaLM API), Gmail OAuth2, Slack OAuth, and Groq.
  3. Update the NewsAPI query (q) mapping if you want different keywords than the selected market name.
  4. Set the target Slack channel and confirm the Gmail “send to” address (currently [email protected]) matches your needs.
  5. Publish the form and share the form URL with users, and confirm the weekly schedule timing matches your desired reporting cadence.

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 - Aggregate filtered news

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

Block 2 - AI Agent

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

Block 3 - Sticky Note

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

Block 4 - Investor Behavior Tracker Form

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.4

Block 5 - Fetch market news

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 6 - Filter required news

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

Block 7 - Insert form data to table

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 8 - Merge News and form data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 9 - Update row with feedback

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 10 - Retrieve latest feedback

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

Block 11 - Format feedback output

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

Block 12 - Sticky Note1

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

Block 13 - Sticky Note2

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

Block 14 - Sticky Note3

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

Block 15 - Sticky Note4

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

Block 16 - Sticky Note5

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

Block 17 - Edit Fields

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

Block 18 - Gemini

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

Block 19 - Send Gmail

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.2

Block 20 - Send slack alert

Type / Role
n8n-nodes-base.slackTool - slackTool
Config choices
Version 2.4

Block 21 - Execute at every weekend

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 22 - Retrieve all data from data table

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 23 - Get last 7 items

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

Block 24 - Send a message in Slack

Type / Role
n8n-nodes-base.slackTool - slackTool
Config choices
Version 2.4

Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Track investor behavior with NewsAPI, Gemini, Groq and Slack alerts
Complexity advanced
Nodes 31
Categories Crypto Trading, AI Summarization
Author WeblineIndia
Published 11 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16264/16264.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 Track investor behavior with NewsAPI, Gemini, Groq and Slack alerts do?

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 i...

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.