workflows.fit
Back to n8n workflows
n8n templateFreeBy WeblineIndia

Detect Bitcoin price spikes and send Gemini-powered NewsAPI Gmail alerts

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 recent Bitcoin-related n...

DevelopmentCore NodesAILangchainAgentLm Chat Google GeminiGmail ToolHttp Request
Loading interactive preview...

Template notes

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 recent Bitcoin-related news, summarizes it using AI (Google Gemini) and sends an email alert explaining the likely reason behind the price movement.

Quick Implementation Steps

1. Set up a Schedule Trigger (default: every 30 minutes) in your [n8n account](https://n8n.partnerlinks.io/om1efg2qgvwi). 2. Configure CoinGecko API (already public, no key required). 3. Ensure your Data Table (cryptopricedb) exists. 4. Add your NewsAPI API key in HTTP Request node. 5. Configure Google Gemini API credentials. 6. Connect your Gmail account. 7. Replace the email recipient with your own. 8. Activate the workflow.

What It Does

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.