Analyze crypto market with CoinGecko: volatility metrics & investment signals
Needs changesWhat this workflow does
This workflow has 23 nodes and runs when an HTTP GET request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.coingecko.com over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Fetch Crypto Data (HTTP Request): calls api.coingecko.com
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Calculate Market Metrics (Function): runs custom JavaScript (legacy Function node)
- Generate Portfolio Summary (Function): runs custom JavaScript (legacy Function node)
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- Split Out: splits a list into separate items
- Set Uptrend Data (Edit Fields (Set)): sets or maps fields
- Set Downtrend Data (Edit Fields (Set)): sets or maps fields
…plus 9 more steps. See the full node list below.
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:
- Function (legacy) in Calculate Market Metrics, Format Final Analysis, Generate Portfolio Summary: replace with Code node, mode 'Run Once for All Items'.
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Calculate Market Metrics, Format Final Analysis, Generate Portfolio Summary | Code node, mode 'Run Once for All Items' |
Nodes used (10)
- HTTP Request
n8n-nodes-base.httpRequest - Function
n8n-nodes-base.function - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - No Operation, do nothing
n8n-nodes-base.noOp - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Switch
n8n-nodes-base.switch - Split Out
n8n-nodes-base.splitOut - Respond to Webhook
n8n-nodes-base.respondToWebhook - Webhook
n8n-nodes-base.webhook
From the author
This n8n template lets you automatically pull market data for the cryptocurrencies from CoinGecko every hour, calculate custom volatility and market-health metrics, classify each coin’s price action into buy/sell/hold/neutral signals with risk ratings, and…