Send crypto price spike alerts with CoinGecko, OpenAI, and Telegram
Needs changesWhat this workflow does
This workflow has 9 nodes and runs on a schedule (every 6 hours) (plus 1 other trigger). Along the way it connects Telegram. It also calls api.coingecko.com over HTTP.
How it runs
Trigger: On a schedule (every 6 hours) (plus 1 other trigger).
- Configuration (Edit Fields (Set)): sets 6 fields: alertTitle, vsCurrency, perPage…
- Fetch Market Data (HTTP Request): calls api.coingecko.com (GET)
- Detect Price Spikes (Code): runs custom JavaScript code
- Build AI Prompt (Code): runs custom JavaScript code
- AI Market Take (OpenAI): complete (chat)
- Format Telegram Alert (Code): runs custom JavaScript code
- Send Telegram Alert (Telegram): uses Telegram
Services it uses
HTTP calls to: api.coingecko.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in AI Market Take: replace with OpenAI node (AI section).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) AI Market Take | OpenAI node (AI section) |
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - OpenAI
n8n-nodes-base.openAi - Telegram
n8n-nodes-base.telegram
From the author
Quick overview Crypto holders, traders, and anyone watching the market who wants instant alerts when something moves hard, without staring at charts all day. How it works 1. Every 6 hours the workflow pulls the top 30 coins by market cap from the free…