Skip to main content

ZenTrade your AI-powered rational stock trading advisor

Workflow preview

Workflow preview
100%
ZenTrade your AI-powered rational stock trading advisor preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n template automates intraday trading insights by combining candlestick pattern analysis and news sentiment aggregation to suggest actionable Buy / Sell / Hold decisions across international...

Best for

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

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.aggregate, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.googlegemini, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
ZenTrade your AI-powered rational stock trading advisor
Workflow name
ZenTrade your AI-powered rational stock trading advisor

This n8n template automates intraday trading insights by combining candlestick pattern analysis and news sentiment aggregation to suggest actionable Buy / Sell / Hold decisions across international stock markets.

Use cases

  • Automatically analyze stock trends using live candlestick data.
  • Aggregate real-time news sentiment to strengthen trading confidence.
  • Generate AI-backed Buy / Sell / Hold recommendations for traders.
  • Build an automated Telegram trading assistant or analytics bot.
  • Create a backend for AI-powered portfolio advisors or trading dashboards.

Good to know

This workflow integrates both market and news APIs, processes data intelligently, and leverages an AI model (Gemini or OpenAI) for trading recommendations. It runs smoothly on both n8n Cloud and self-hosted instances, and setup typically takes 10–15 minutes.

Requirements

  • n8n Cloud or self-hosted instance
  • TwelveData API key (for fetching OHLC & candlestick data) → twelvedata.com
  • NewsAPI.org key (for aggregating relevant stock news) → newsapi.org
  • AI model API key (Google Gemini or OpenAI) for sentiment reasoning
  • Telegram Bot Token (via @BotFather) for command input & output

Customising this workflow

  • Replace Telegram with Slack, Discord, or Notion for alternate alerts.
  • Integrate TradingView or Alpaca API for executing mock trades.
  • Modify the candlestick intervals (1m, 15m, 1h) or patterns as per strategy.
  • Add portfolio tracking or alert thresholds for advanced users.
  • Expand to cover crypto, forex, or commodities with minimal edits.

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 - Telegram Trigger

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

Block 2 - 15 min Interval

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

Block 3 - 1 min Interval

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

Block 4 - 1 hour Interval

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

Block 5 - Merge

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

Block 6 - Aggregate

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

Block 7 - Code in JavaScript

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

Block 8 - News Aggregator

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

Block 9 - Message a model

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

Block 10 - Merge1

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

Block 11 - Aggregate1

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

Block 12 - AI Agent

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

Block 13 - Google Gemini Chat Model

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

Block 14 - Send a text message

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

Block 15 - Account Check

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 16 - Sticky Note

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

Block 20 - Sticky Note4

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

Block 21 - Sticky Note5

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

Block 22 - Sticky Note6

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

3. Summary Table

Workflow ZenTrade your AI-powered rational stock trading advisor
Complexity advanced
Nodes 22
Categories Crypto Trading, AI Summarization
Author Paul Abraham
Published 08 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10630/10630.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 ZenTrade your AI-powered rational stock trading advisor do?

This n8n template automates intraday trading insights by combining candlestick pattern analysis and news sentiment aggregation to suggest actionable Buy / Sell / Hold decisions across international...

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.