Templates / Discord Forex AI trading assistant w/ proper position sizing (metatrader5)

Discord Forex AI trading assistant w/ proper position sizing (metatrader5)

Ready for 3.0

by Cj Elijah Garay ✓ · 422 views · created 2025-12-02 · 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 a schedule (every day). Along the way it connects Discord and OpenAI Chat Model.

How it runs

Trigger: On a schedule (every day).

  1. set credentials and params (Edit Fields (Set)): sets or maps fields
  2. Get recent message - omni (Discord): uses Discord
  3. only get user's message that has no reacts (Filter): keeps only the items that match a condition
  4. React with an emoji to a message (Discord): uses Discord
  5. Trading Assistant Classifier & Responder (Basic LLM Chain): sends a prompt to an LLM, with model: 4o mini
  6. parse LLM output (Code): runs custom JavaScript code
  7. Switch: routes items into branches
  8. parse if AI says content is complete (Code): runs custom JavaScript code
  9. respond: query (Discord): uses Discord
  10. ai agent instructions (Edit Fields (Set)): sets or maps fields

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

Services it uses

DiscordOpenAI 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 (10)

From the author

AI Trading Assistant with Metatrader5 and position sizing capabilities Trade or buy/sell forex and xauusd/gold assets with this n8n template. It demonstrates an AI-powered Discord bot that monitors trading commands in a private server channel and…

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.