Block 1 - AI Agent
- Type / Role
- @n8n/n8n-nodes-langchain.agent - agent
- Config choices
- Version 3.1
Bitcoin Price Spike Detector with Gemini AI, NewsAPI & Gmail Alerts This workflow monitors Bitcoin price changes every 30 minutes. If the price increases or decreases by 3% or more, it fetches rece...
@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.gmailtool, n8n-nodes-base.httprequest, n8n-nodes-base.datatable, n8n-nodes-base.limit, n8n-nodes-base.if, n8n-nodes-base.code
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.
Original n8n.io sourceThis workflow monitors Bitcoin price changes every 30 minutes. If the price increases or decreases by 3% or more, it fetches recent Bitcoin-related news, summarizes it using AI (Google Gemini) and sends an email alert explaining the likely reason behind the price movement.
crypto_price_db) exists.This workflow continuously monitors Bitcoin price fluctuations by fetching the latest price from CoinGecko at regular intervals. Each new price is stored in a data table and compared with previous entries to detect significant changes.
When a price movement of ±3% or more is detected, the workflow automatically triggers a secondary process. It fetches recent Bitcoin-related news articles using NewsAPI, filters and aggregates relevant descriptions and sends them to an AI agent powered by Google Gemini.
The AI agent generates a concise summary of the news and explains the likely reason behind the price movement. Finally, it sends a well-crafted email alert with insights, helping users stay informed and react quickly to market changes.
To use this workflow, you need:
crypto_price_db)https://api.coingecko.com/api/v3/simple/priceids=bitcoinvs_currencies=usdcrypto_price_db.q=bitcoinReplace: [email protected]
with your own email address.
Change Price Threshold
Modify IF node conditions (e.g., 5% instead of 3%)
Change Cryptocurrency
Update CoinGecko ids parameter
Modify Email Content
Adjust AI prompt inside AI Agent nodes
Adjust Frequency
Change Schedule Trigger interval
News Filtering
Modify Code node to include titles, sources or keywords
Crypto Trading Alerts Get instant insights when Bitcoin price moves significantly.
Market Analysis Automation Automatically correlate price changes with real-world news.
Portfolio Monitoring Track assets and receive alerts without manual checks.
AI-Powered Financial Reports Generate automated summaries for decision-making.
Research & Insights Tool Understand market sentiment quickly.
And many more use cases can be built on top of this workflow.
| Issue | Possible Cause | Solution |
|---|---|---|
| No email received | Gmail not configured | Reconnect Gmail OAuth2 credentials |
| No news data | Missing NewsAPI key | Add API key in HTTP Request headers |
| AI not responding | Gemini API not configured | Verify Gemini credentials |
| Workflow not triggering | Schedule not active | Activate workflow |
| Incorrect price comparison | Data table missing values | Ensure table stores numeric USD values |
| Empty email content | News descriptions missing | Check Code node output |
If you need assistance setting up this workflow, customizing it or extending it with advanced features like multi-crypto tracking, dashboards or AI enhancements — we’re here to help.
Contact WeblineIndia for:
Let us help you turn automation into a competitive advantage.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Detect Bitcoin price spikes and send Gemini-powered NewsAPI Gmail alerts |
|---|---|
| Complexity | advanced |
| Nodes | 24 |
| Categories | Crypto Trading, AI Summarization |
| Author | WeblineIndia |
| Published | 25 Apr 2026 |
Use the JSON export at /data/workflows/15276/15276.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Bitcoin Price Spike Detector with Gemini AI, NewsAPI & Gmail Alerts This workflow monitors Bitcoin price changes every 30 minutes. If the price increases or decreases by 3% or more, it fetches rece...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.