AFK Crypto
Automation expert and founder of AFK Crypto with over 5 years of experience in crypto automations.
Templates by AFK Crypto
Automate Solana trading with Gemini AI, multi-timeframe analysis & AFK Crypto
Try It Out! The SOL/USDT Multi-Timeframe AI Market Analyzer and Trader with Telegram Approval is your fully automated Solana trading assistant powered by AI, AFK Crypto, and Telegram. It runs hourly by default, fetches real-time market data for the SOL/USDT pair, and uses AI-driven logic to determine optimal entry, exit, and risk management strategies. You receive a Telegram approval message that lets you confirm or reject the trade instantly. Once approved, the bot executes trades via your AFK Crypto Wallet and keeps monitoring for Take-Profit or Stop-Loss triggers — sending alerts directly to Telegram when they’re hit. This system combines automation with manual oversight, giving you AI precision with human approval control. --- How It Works Hourly Trigger – The workflow initiates every hour to analyze the current market status. Fetch SOL Market Data (Crypto Compare) – Retrieves multiple timeframe data (1m, 5m, 1h) for trend, momentum, and volatility analysis. AI Market Analyzer – Processes data through an AI agent to identify: Market sentiment (bullish, bearish, neutral) Recommended position: LONG / SHORT / HOLD Stop-Loss and Take-Profit levels Confidence rating and reasoning Balance Check (AFK Crypto) – Verifies wallet balance via /v1/wallets/balances?chain=solana and calculates position size based on 1% risk. Telegram Approval Message – Sends a Telegram message containing AI insights and trade details with “✅ Approve” or “❌ Decline” buttons. Trade Execution (AFK Trade API) – If approved, executes trade instantly via /v1/trade/swap using your AFK Crypto wallet. Live Trade Monitoring – Monitors SOL price in real-time. Once Take-Profit or Stop-Loss conditions are met: The position auto-closes. A Telegram notification is sent summarizing results and updated balance. --- How to Use Import the workflow into your n8n workspace. Add your credentials: AFK Crypto API Key – For balance and trading operations. Telegram Bot Token + Chat ID – For sending messages and approvals. Crypto Compare API Key – For fetching market data. Edit “Fetch SOL Market Data” Node: Update the endpoint if you want different timeframes or markets. Set the schedule: Default trigger = every hour (modifiable in the “Every Hour” node). Deploy and activate. The bot will send you hourly market analyses via Telegram — allowing you to approve or skip each suggested trade. --- (Optional) Extend This Workflow Auto Mode: Allow the AI to auto-trade when confidence > 90%. Portfolio Sync: Log every trade and PnL automatically to Notion or Airtable. Risk Adjuster: Dynamically modify the 1% risk per trade based on balance or volatility. Multi-Pair Trading: Expand to include ETH/USDT or BTC/USDT using the same logic. --- Requirements AFK Crypto Wallet + API Key Telegram Bot Token + Chat ID Crypto Compare API Key n8n Instance with HTTP Request, AI, and Telegram nodes enabled --- AFK APIs Used GET https://api.afkcrypto.com/v1/wallets/balances?chain=solana POST https://api.afkcrypto.com/v1/trade/swap --- Summary The SOL/USDT Multi-Timeframe AI Market Analyzer and Trader with Telegram Approval workflow is an intelligent trading automation system that merges AI analytics, Telegram decision prompts, and AFK Crypto execution. It empowers you to make data-driven trading decisions — with AI doing the heavy lifting and you retaining the final say before every trade. A perfect hybrid between automation and control, optimized for active Solana traders who value precision and security. --- Our Website: https://afkcrypto.com/ Check our blogs: https://www.afkcrypto.com/blog
Reddit crypto market intelligence with CoinGecko alerts to Discord
Try It Out! 🚀 Reddit Crypto Intelligence & Market Spike Detector ⸻ 🧠 Workflow Description Reddit Crypto Intelligence & Market Spike Detector is an automated market sentiment and price-monitoring workflow that connects social chatter with real-time crypto price analytics. It continuously scans new posts from r/CryptoCurrency, extracts recently mentioned coins, checks live price movements via CoinGecko, and alerts you on Discord when a significant spike or drop occurs. This automation empowers traders, analysts, and communities to spot early market trends before they become mainstream — all using free APIs and open data. ⸻ ⚙️ How It Works Monitor Reddit Activity ◦ Automatically fetches the latest posts from r/CryptoCurrency using Reddit’s free RSS feed. ◦ Captures trending titles, post timestamps, and mentions of coins or tokens (e.g., $BTC, $ETH, $SOL, $PEPE). Extract Coin Mentions ◦ A Code Node parses the feed using regex (\$[A-Za-z0-9]{2,10}) to identify any symbols or tickers discussed. ◦ Removes duplicates and normalizes all results for accurate data mapping. Fetch Market Data ◦ Each detected coin symbol is matched with CoinGecko’s public API to fetch live market data, including current price, market rank, and 24-hour price change. ◦ No API key required — completely free and reliable source. Detect Market Movement ◦ A second Code Node filters the fetched data to identify price movements greater than ±5% within the last 24 hours. ◦ This helps isolate meaningful market action from routine fluctuations. Generate and Send Alerts ◦ When a spike or dip is detected, the workflow composes a rich alert message including: ▪ 💎 Coin name and symbol ▪ 💰 Current price ▪ 📈 24h percentage change ▪ 🕒 Timestamp of detection ◦ The message is sent automatically to your Discord channel using a preconfigured webhook. ⸻ 💬 Example Output 🚨 Crypto Reddit Mention & Price Spike Alert! 🚨 💎 ETHEREUM (ETH) 💰 $3,945.23 📈 Change: +6.12% 💎 SOLANA (SOL) 💰 $145.88 📈 Change: +8.47% 🕒 Checked at: 2025-10-31T15:00:00Z If no coins cross the ±5% threshold: “No price spikes detected in the latest Reddit check.” 🔔 MarketIntel CryptoSentiment PriceAlert ⸻ 🪄 Key Features • 🧠 Social + Market Intelligence – Combines Reddit sentiment with live market data to detect potential early signals. • 🔎 Automated Coin Detection – Dynamically identifies newly discussed tokens from live posts. • 📊 Smart Spike Filtering – Highlights only meaningful movements above configurable thresholds. • 💬 Discord Alerts – Delivers clear, structured, and timestamped alerts to your community automatically. • ⚙️ Fully No-Cost Stack – Utilizes free Reddit and CoinGecko APIs with no authentication required. ⸻ 🧩 Use Cases • Crypto Traders: Detect early hype or momentum shifts driven by social chatter. • Analysts: Automate social sentiment tracking tied directly to live market metrics. • Community Managers: Keep members informed about trending coins automatically. • Bots & AI Assistants: Integrate this logic to enhance automated trading signals or alpha alerts. ⸻ 🧰 Required Setup • Discord Webhook URL – For automatic alert posting. • (Optional) CoinGecko API endpoint (no API key required). • n8n Instance – Self-hosted or Cloud; free tier is sufficient. • Workflow Schedule – Recommended: hourly (Cron Node interval = 1 hour). ⸻ AFK Crypto Website: afkcrypto.com
SOL trading recommendations w/ multi-timeframe analysis using Gemini & Telegram
Try It Out! This workflow builds a Telegram-based Solana (SOL/USDT) Multi-Timeframe AI Market Analyzer that automatically pulls live candlestick data for SOL/USDT, runs structured multi-timeframe technical analysis (1-minute, 5-minute, 1-hour) through an AI Agent, and posts a professional, JSON-structured analysis + trading recommendation straight to your Telegram chat. It combines on-chain / market data aggregation, LLM-driven interpretation, and instant Telegram reporting — giving you concise, actionable market intelligence every hour. How It Works Hourly Trigger – The workflow runs once per hour to pull fresh market data. Market Data Fetch – Three HTTP requests gather candlesticks from CryptoCompare: 1-minute (last 60 candles) 5-minute aggregate (last 60 aggregated candles) 1-hour (last 60 candles) Merge & Transcribe – The three feeds are merged and a lightweight code node extracts: symbol, current price, arrays for data1m, data5m, data_1h. AI Agent Analysis – The LLM (configured via your model node) receives the merged payload and runs a structured multi-timeframe technical analysis, returning a strict JSON report containing: Per-timeframe analysis (momentum, volume, S/R,MA, volatility) Market structure / confluence findings Trading recommendation (action, entry, stop, TPs, position sizing) A final disclaimer Parse AI Output – Extracts the JSON block from the agent’s reply and validates/parses it for downstream formatting. Telegram Reporting – Sends two nicely formatted Telegram messages: Multi-timeframe breakdown (1m / 5m / 1h) Market structure + Trading Recommendation (TPs, SL, position size, disclaimer) How to Use Import the workflow into your n8n workspace (or replicate the nodes shown in the JSON). Add credentials: CryptoCompare API Key — for reliable candlestick data. LLM model credentials — e.g., Google Gemini / OpenAI, configured in the LangChain/LM node. Telegram Bot Token & Chat ID — to send messages. (Optional) AFK Crypto API key if you want to enrich data with wallet info later. Node mapping & endpoints: Fetch_1m → GET https://min-api.cryptocompare.com/data/v2/histominute?fsym=SOL&tsym=USDT&limit=60 Fetch_5m → GET https://min-api.cryptocompare.com/data/v2/histominute?fsym=SOL&tsym=USDT&limit=60&aggregate=5 Fetch_1h → GET https://min-api.cryptocompare.com/data/v2/histohour?fsym=SOL&tsym=USDT&limit=60 Merge → combine the three responses into a single payload. Transcribe (code) → extract last close as current price and attach the arrays. AI Agent → pass the structured prompt (system message instructs exact JSON structure). Parse AI Output → extract the json ... block and JSON.parse it. Telegram nodes → format and send two messages (timeframes and recommendation). Adjust analysis frequency: default is hourly — change the Schedule Trigger node as desired. Deploy and activate: the workflow will post an AI-driven SOL/USDT market analysis to your Telegram hourly. (Optional) Extend This Workflow Add price / orderbook enrichment (e.g., AFK price endpoints or exchange orderbook) to improve context. Add wallet exposure checks (AFK wallet balances) to tailor position sizing suggestions. Store AI reports in Notion / Google Sheets for historical auditing and backtesting. Add alert filtering to only post when the LLM flags high-confidence signals or confluence across timeframes. Expose Telegram commands to request on-demand analysis (e.g., /analyze now 5m). Add risk management logic to convert LLM recommendation into automated orders (careful — requires manual review and stronger safety controls). Safety Mechanisms Explicit system prompt — forces AI to output only the exact JSON structure to avoid free-form text parsing errors. JSON parser node — validates the agent response and throws if malformed before any downstream action. Read-only market analysis — the workflow only reports by default (no auto-trading), reducing operational risk. Credentials gated — ensure LLM and Telegram credentials are stored securely in n8n. Disclaimer — every report includes a legal/financial disclaimer from the agent. Requirements CryptoCompare API Key (for minute/hour candlesticks) LLM model credentials (Google Gemini / OpenAI / other supported model in your LangChain node) Telegram Bot Token + Chat ID (where analysis messages are posted) Optional: AFK Crypto API key if you plan to add wallet/position context n8n instance with: HTTP Request, Code, Merge, LangChain/Agent, and Telegram nodes enabled AFK / External APIs Used CryptoCompare Candles: GET https://min-api.cryptocompare.com/data/v2/histominute?fsym=SOL&tsym=USDT&limit=60 (1m) GET https://min-api.cryptocompare.com/data/v2/histominute?fsym=SOL&tsym=USDT&limit=60&aggregate=5 (5m) GET https://min-api.cryptocompare.com/data/v2/histohour?fsym=SOL&tsym=USDT&limit=60 (1h) Telegram Bot API – via n8n Telegram node. LLM / LangChain – your chosen LLM provider (configured in the workflow). Summary The Solana (SOL/USDT) Multi-Timeframe AI Market Analyzer (Telegram) gives you hourly, professional multi-timeframe technical analysis generated by an LLM agent using real candlestick data from CryptoCompare. It combines the speed of automated data collection with the structure and reasoning of an AI analyst, delivering clear trading recommendations and a timestamped analysis to your Telegram chat — ideal for traders who want reliable, concise market intelligence without manual charting. --- Our Website: https://afkcrypto.com/ Check our blogs: https://www.afkcrypto.com/blog
Daily Gemini-powered global trend analysis with GDELT, NewsAPI & Discord
Try It Out! The Daily AI-Powered Global Trend Analysis Workflow transforms your Discord server into a real-time AI-driven global intelligence dashboard. Every 6 hours, this automation gathers worldwide data from GDELT, Hacker News, and NewsAPI — analyzing patterns in technology, economics, and geopolitics to uncover emerging global narratives before they hit mainstream awareness. An integrated AI Trend Analyzer Agent distills this massive dataset into concise, actionable insights including: Top 5 emerging global trends A short AI-written daily summary Regional intelligence highlights Notable mentions in innovation, finance, and politics Each insight is automatically posted to your Discord channel, formatted for quick scanning and decision-making — keeping your team or community ahead of the curve. --- How It Works Automated Trigger (Schedule Node) – Executes every 6 or 24 hours (customizable) to fetch the latest global data. Multi-Source Intelligence Aggregation: GDELT – Captures worldwide media signals and geopolitical movements. Hacker News API – Surfaces trending stories in startups, AI, and innovation. NewsAPI – Collects major headlines across global media outlets filtered by defined keywords. Data Normalization (JavaScript Node) – Cleans and merges all incoming data into a unified format with timestamps. AI Trend Analyzer (LLM Node) – Evaluates data contextually to identify: 📰 Top 5 Global Trends 🌍 Regional Highlights 💡 Key Industry Insights 📈 100–150 Word Summary Output Structuring Node – Parses and formats AI responses into a clean, Discord-friendly layout. Discord Delivery – Sends the compiled report to your specified channel using a webhook or bot token. --- How to Use Import the workflow into n8n. Configure the following credentials: NewsAPI Key – for aggregating headlines. LLM API Key (OpenAI or Gemini) – for AI-based summarization. Discord Webhook URL or Bot Token – for automated posting. Edit NewsAPI keywords to match your industry focus (e.g., “AI,” “blockchain,” “defense,” “renewable energy”). Adjust the schedule trigger interval as desired (default: every 6 hours). Activate the workflow — and start receiving continuous, AI-curated global intelligence in Discord. --- (Optional) Extend This Workflow Sector Prioritization: Focus on AI, finance, energy, or web3 insights only. Regional Filters: Segment analysis by continent or language. Trend Scoring: Introduce a numeric score to rank importance. Cross-Platform Broadcast: Expand reports to Telegram, Slack, or X (Twitter). Knowledge Archive: Auto-store each daily report in Notion or Airtable. --- Requirements n8n Instance with HTTP Request, LLM, and Discord Nodes NewsAPI Key Access to GDELT (no authentication required) OpenAI or Gemini Key for AI Analysis Discord Webhook URL or Bot Token --- APIs Used GET https://api.gdeltproject.org/api/v2/doc/doc?query=crypto&format=json GET https://hn.algolia.com/api/v1/search?query=startup%20OR%20trend&tags=story&hitsPerPage=10 GET https://newsapi.org/v2/everything?q=crypto OR bitcoin OR web3 OR AI&language=en&sortBy=publishedAt&pageSize=10 --- Summary The Daily AI-Powered Global Trend Analysis Workflow (Discord Edition) delivers machine-curated global intelligence right where your community communicates. It combines AI-driven reasoning with real-time data aggregation from open sources — converting raw news into structured, actionable insights. Ideal for founders, analysts, researchers, and DAOs, this workflow ensures your Discord server becomes a live intelligence hub — automatically updated with what truly matters worldwide. --- Our Website: https://afkcrypto.com/ Check our blogs: https://www.afkcrypto.com/blog
Automated crypto market summaries using Gemini AI and CoinGecko data
Try It Out! The AI Investment Research Assistant (Discord Summary Bot) transforms your Discord server into a professional-grade AI-driven crypto intelligence center. Running automatically every morning, it gathers real-time news, sentiment, and market data from multiple trusted sources — including NewsAPI, Crypto Compare, and CoinGecko — covering the most influential digital assets like BTC, ETH, SOL, BNB, and ADA. An AI Research Analyst Agent then processes this data using advanced reasoning and summarization to deliver a structured Market Intelligence Briefing. Each report distills key market events, sentiment shifts, price movements, and analyst-grade insights, all formatted into a visually clean and actionable message that posts directly to your Discord channel. Whether you’re a fund manager, community owner, or analyst, this workflow helps you stay informed about market drivers — without manually browsing dozens of news sites or data dashboards. --- Detailed Use Cases Crypto Research Teams: Automate daily market briefings across key assets. Investment Communities: Provide daily insights and sentiment overviews directly on Discord. Trading Desks: Quickly review summarized market shifts and performance leaders. DAOs or Fund Analysts: Centralize institutional-style crypto intelligence into your server. --- How It Works Daily Trigger (Schedule Node) – Activates each morning to begin data collection. News Aggregation Layer – Uses NewsAPI (and optionally CryptoPanic or GDELT) to fetch the latest crypto headlines and event coverage. Market & Sentiment Fetch – Collects market metrics via CoinGecko or Crypto Compare, including: 24-hour price change Market cap trend Social sentiment or Fear & Greed index AI Research Analyst (LLM Agent) – Processes and synthesizes all data into a cohesive insight report containing: 🧠 Executive Summary 📊 Top Gainers & Losers 💬 Sentiment Overview 🔍 Analyst Take / Actionable Insight Formatting Layer (Code Node) – Converts the analysis into a Discord-ready structure. Discord Posting Node – Publishes the final Market Intelligence Briefing to a specified Discord channel. --- Setup and Customization Import this workflow into your n8n workspace. Configure credentials: NewsAPI Key – For crypto and blockchain news. CoinGecko / Crypto Compare API Key – For real-time asset data. LLM Credential – OpenAI, Gemini, or Anthropic. Discord Webhook URL or Bot Token – To post updates. Customize the tracked assets in the News and Market nodes (BTC, ETH, SOL, BNB, ADA, etc.). Set local timezone for report delivery. Deploy and activate — your server will receive automated morning briefings. --- Output Format Each daily report includes: 📰 AI Market Intelligence Briefing 📅 Date: October 16, 2025 💰 Top Movers: BTC +2.3%, SOL +1.9%, ETH -0.8% 💬 Sentiment: Moderately Bullish 🔍 Analyst Take: Accumulation signals forming in mid-cap layer-1s. 📈 Outlook: Positive bias, with ETH showing strong support near $2,400. Compact yet rich in insight, this format ensures quick readability and fast decision-making for traders and investors. --- (Optional) Extend This Workflow Portfolio-Specific Insights: Fetch your wallet holdings from AFK Crypto or Zapper APIs for personalized reports. Interactive Commands: Add /compare or /analyze commands for Discord users. Multi-Language Summaries: Auto-translate for international communities. Historical Data Logging: Store briefings in Notion or Google Sheets. Weekly Recaps: Summarize all daily reports into a long-form analysis. --- Requirements n8n Instance (with HTTP Request, AI Agent, and Discord nodes enabled) NewsAPI Key CoinGecko / Crypto Compare API Key LLM Credential (OpenAI / Gemini / Anthropic) Discord Bot Token or Webhook URL --- APIs Used GET https://newsapi.org/v2/everything?q=crypto OR bitcoin OR ethereum OR defi OR nft&language=en&sortBy=publishedAt&pageSize=10 GET https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum,solana&vscurrencies=usd&includemarketcap=true&include24hr_change=true (Optional)* GET https://cryptopanic.com/api/v1/posts/?authtoken=YOURTOKEN&kind=news (Optional)* GET https://api.gdeltproject.org/api/v2/doc/doc?query=crypto&format=json --- Summary The AI Investment Research Assistant (Discord Summary Bot) is your personal AI research analyst — delivering concise, data-backed crypto briefings directly to Discord. It intelligently combines news aggregation, sentiment analysis, and AI reasoning to create actionable market intelligence each morning. Ideal for crypto traders, funds, or educational communities seeking a reliable daily edge — this workflow replaces hours of manual research with one automated, professional-grade summary. --- Our Website: https://afkcrypto.com/ Check our blogs: https://www.afkcrypto.com/blog