How I automated Telegram trading signal extraction into any tool using n8n + Apify

Hey everyone, I wanted to share a workflow I built that automatically scrapes and parses trading signals from public Telegram channels and pipes them into any tool you need. It has been running in production for a few weeks now and working really well.

The problem I was trying to solve: there are hundreds of public Telegram channels posting trading signals every day. The information is valuable but completely unstructured — just raw text messages mixed with emojis, different formats, different languages. Useless for any automated system.
So I built an Apify Actor that scrapes and parses those messages into clean structured JSON, and wired it into n8n.

HOW IT WORKS

The Actor operates in two modes:

In discovery mode it searches for relevant public Telegram channels by keyword, filters them by engagement rate and subscriber count, then scrapes and parses the latest messages automatically. You just give it keywords like “forex signals” or “XAU gold signals” and it finds the channels for you.

In manual mode you provide a list of channel usernames directly and it scrapes those. No Telegram account needed. No API key. No risk of getting banned. It uses the public web view at Telegram Usernames – Telegram which anyone can access.

WHAT COMES OUT

For each message that contains a valid trading signal, you get a clean JSON object with:

pair — BTC/USDT, EUR/USD, XAU/USD, US30, NAS100 and many more
market — CRYPTO, FOREX, COMMODITY or INDEX
action — BUY or SELL
entry — specific price or zone like [4078, 4092]
entryType — limit or market order
tp — array of take profit levels like [4148, 4178, 4210]
sl — stop loss price
riskReward — auto-calculated when not explicit, like 2.3:1
analysis — the narrative text the trader published alongside the signal
confidence — score from 0 to 100 based on how complete the signal is
sourceChannel — name of the Telegram channel
messageUrl — direct link to the original message
publishedAt — when it was posted on Telegram

Signals that are spam, NFT drops, broker promotions or market analysis articles get filtered out automatically before they reach your workflow.

THE N8N WORKFLOW

The setup is simple to build:

with this body:
{
“targets”: [“learn2tradenews”, “ForexGDP”, “GoldSignalsXAUPro”],
“limit”: 10,
“saveToDataset”: true
}

Alternatively you can pass a webhookUrl in the body and the Actor will POST each signal to your n8n webhook URL in real time as it finds them. No polling needed, which is cleaner.
A Code node normalizes the fields into whatever shape your destination expects.
Then you route to your output.

WHAT YOU CAN BUILD WITH THIS

Google Sheets dashboard — append every new signal as a row. I add a Filter node before to only keep signals with confidence above 70 which keeps the sheet clean and removes the low quality ones.

Discord or Slack alerts — format a message and fire it to a channel whenever a high confidence signal is detected. You can route by market type, Crypto signals to one channel and Forex to another.

Supabase or PostgreSQL — upsert each signal using the messageUrl as a unique key so you never get duplicates even if you run the Actor multiple times.

Airtable — good for teams that want to manually review signals and add notes before acting on them.

Email digest — collect everything during the day and send a formatted summary every evening.

Backtesting pipeline — accumulate signals over weeks into a database. You can then connect a pricing API to check whether the TP or SL was hit after each signal was published.

TradingView or broker webhook — the signal JSON gives you all the fields you need (pair, action, entry, TP, SL). You will need a transformation node to map them to your specific broker format.

Telegram bot — re-publish parsed and verified signals to your own private channel in a clean standardized format, stripping all the noise from the original message.

FILTERING TIP

If you want only the best quality signals, add a Filter node after your Code node with these three conditions: confidence greater than 70, sl is not empty, tp array length greater than 0. This removes heuristic signals and keeps only the ones where entry, TP and SL were all clearly identified in the original message.

Happy to share the full n8n workflow JSON if anyone wants it. And if you have questions or run into issues just drop a comment, I check here regularly.

Actor link: Telegram Trading Signals Scraper · Apify

1 Like

Nice workflow. One small caution on using confidence > 70 as the final gate: that score can be useful for parser completeness, but it is not the same thing as signal quality or expected trading performance.

I’d keep those separate: validate that the extracted fields are complete and internally consistent, deduplicate by the original message URL, then route uncertain or malformed records to review rather than treating a high parser score as a trading recommendation. That also makes later backtesting much cleaner because you can distinguish “the parser was confident” from “the signal performed well.”

1 Like

That is a really important distinction and you are absolutely right.

The confidence score reflects how completely the parser extracted
the fields, nothing more. A score of 90 means the signal had a clear
pair, entry, TP, SL and R:R — it says nothing about whether the trade
will be profitable.

Your suggestion of using messageUrl for deduplication and routing
uncertain records to a review queue instead of dropping them is much
cleaner. And separating parser confidence from signal performance
in the dataset makes backtesting significantly more meaningful.

Will update the workflow to reflect that. Thanks for the input.

I’ve been experimenting with AI routing for professional day traders to improve order execution after extracting signals, and it’s made a big difference in fill rates. If you’re handling high-frequency signals, that kind of adaptive routing could pair well with your n8n setup.

1 Like

this is a clean pattern, especially pulling apify into the mix instead of trying to parse telegram’s api directly for the scraping side.

curious how you’re handling message dedup. telegram channels resend or edit messages fairly often and that can double fire a workflow if you’re keying off message content instead of message id.

the part i’d watch longer term is rate limiting on the extraction side once you’re running this across more than a handful of channels, apify runs aren’t free and telegram will throttle scraping patterns that look automated. worth building in a small delay between channel checks if you haven’t already.

nice writeup either way, this is the kind of workflow people usually build badly on the first try

1 Like