# AI Forex Trader with News Sentiment Analysis: n8n workflow

> Started by a clock, and works across Discord. It hands the judgement calls to Claude. 27 steps, 4 branches: large, and worth reading before you trust it...

Source: https://millionrounds.com/workflow/ai-forex-trader-with-news-sentiment-analysis (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# AI Forex Trader with News Sentiment Analysis

Started by a clock, and works across Discord. It hands the judgement calls to Claude. 27 steps, 4 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-forex-trader-with-news-sentiment-analysis)

**27 steps** Large: read it before trusting it with anything live

**4** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 2 Logic 11 Service 13

The steps in the order they run, from what starts it.

- 1 **Every Hour Trigger** Schedule trigger *Starts it*
- 2 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 3 **Config** Set *Logic*
- 4 **AI Portfolio Analyst** Chain Llm *Model*
- 5 **Get Portfolio from Signal Handler** Http Request *Service*
- 6 **NewsAPI Headlines** Http Request *Service*
- 7 **FinnHub Market News** Http Request *Service*
- 8 **Alpha Vantage Macro Sentiment** Http Request *Service*
- 9 **Fear & Greed Index** Http Request *Service*
- 10 **Forex Factory Calendar** Http Request *Service*
- 11 **Parse AI Response** Code *Logic*
- 12 **Merge All Data** Merge *Logic*
- 13 **Format Discord Update** Code *Logic*
- 14 **Extract Actions** Code *Logic*
- 15 **Build Full Context** Code *Logic*
- 16 **Send Update to Discord** Discord *Service*
- 17 **Has Actions?** If *Logic*
- 18 **Action Type?** Switch *Logic*
- 19 **Buy: Market or Limit?** Switch *Logic*
- 20 **Sell: Market or Limit?** Switch *Logic*
- 21 **Close Position Signal** Http Request *Service*
- 22 **Buy Market Order** Http Request *Service*
- 23 **Buy Limit Order** Http Request *Service*
- 24 **Sell Market Order** Http Request *Service*
- 25 **Sell Limit Order** Http Request *Service*
- 26 **Build Execution Confirmation** Code *Logic*
- 27 **Send Trade Confirmation** Discord *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 27, with 4 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Discord
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, plus your own Discord account, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-forex-trader-with-news-sentiment-analysis)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Discord](https://millionrounds.com/workflows?service=Discord#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Log food safety temperatures with DeepSeek and OpenAI** 25 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/log-food-safety-temperatures-with-deepseek-and-openai)
- [**Discord daily digest for multiple Google Analytics accounts** 22 steps · Discord](https://millionrounds.com/workflow/discord-daily-digest-for-multiple-google-analytics-accounts)
- [**Automate website performance analysis and comparison** 14 steps · calls a model · Discord](https://millionrounds.com/workflow/automate-website-performance-analysis-and-comparison)
- [**Summarize financial news from multiple RSS feeds with Gemini** 14 steps · calls a model · Discord, RSS](https://millionrounds.com/workflow/summarize-financial-news-from-multiple-rss-feeds-with-gemini)
- [**Weekly Notion journal & task summarization with OpenAI** 12 steps · calls a model · Discord, Notion](https://millionrounds.com/workflow/weekly-notion-journal-and-task-summarization-with-openai)
- [**Daily Gemini-powered global trend analysis with GDELT** 11 steps · calls a model · Discord](https://millionrounds.com/workflow/daily-gemini-powered-global-trend-analysis-with-gdelt)
