Templates / Forex AI trading assistant for Telegram using chatGPT-4o (with Position Sizing)

Forex AI trading assistant for Telegram using chatGPT-4o (with Position Sizing)

Ready for 3.0

by Cj Elijah Garay ✓ · 237 views · created 2025-12-03 · Crypto Trading, AI Chatbot

Ready 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 40 nodes and runs on Telegram events. Along the way it connects Telegram and OpenAI Chat Model.

How it runs

Trigger: On Telegram events.

  1. set credentials and params (Edit Fields (Set)): sets or maps fields
  2. react to message (HTTP Request): calls an HTTP API
  3. Trading Assistant Classifier & Responder (Basic LLM Chain): sends a prompt to an LLM, with model: 4o mini
  4. parse LLM output (Code): runs custom JavaScript code
  5. Switch: routes items into branches
  6. parse if AI says content is complete (Code): runs custom JavaScript code
  7. respond to query (Telegram): uses Telegram
  8. ai agent instructions (Edit Fields (Set)): sets or maps fields
  9. HTTP get pending signals (HTTP Request): calls an HTTP API
  10. Http req clear all signals (HTTP Request): calls an HTTP API

…plus 26 more steps. See the full node list below.

Services it uses

TelegramOpenAI Chat Model

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 (9)

From the author

MT5 AI Trading Assistant - Telegram Bot Workflow with position sizing capabilities Open trades for forex/xauusd/gold with this n8n template. It demonstrates how to automate MetaTrader 5 trading executions through natural language commands via Telegram,…

Excerpt from Cj Elijah Garay's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.