Track crypto price crashes with CoinGecko, Marketaux, Google Gemini and Slack
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on a schedule (every 4 hours). Along the way it connects Slack and Google Gemini Chat Model. It also calls api.marketaux.com over HTTP.
How it runs
Trigger: On a schedule (every 4 hours).
- Set Asset Parameters (Edit Fields (Set)): sets 5 fields: Asset, Ticker, Crash_threshold…
- Fetch Current Asset Price (HTTP Request): calls an HTTP API
- Fetch 24h Market Data (HTTP Request): calls an HTTP API
- Calculate Crash Severity (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Fetch Market News (HTTP Request): calls api.marketaux.com
- Extract News Articles (Code): runs custom JavaScript code
- Market Analyst Agent (AI Agent): runs an AI agent, with model: Google Gemini Model; output parser: Define Output Schema
- Prepare Slack Message (Edit Fields (Set)): sets 1 field: slack_message
- Post Message to Slack (Slack): uses Slack
Services it uses
HTTP calls to: api.marketaux.com
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 (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
Quick Overview This workflow runs every 4 hours to monitor a crypto asset’s price with CoinGecko, checks for crash conditions, pulls related headlines from Marketaux, uses Google Gemini to generate a structured market assessment, and posts a formatted crash…