πŸ“ˆ Automate Solana trading with Gemini AI, multi-timeframe analysis & AFK Crypto

⚑ 1,241 views Β· πŸ“ˆ Crypto Trading & Stock Market

Description

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

  1. Hourly Trigger – The workflow initiates every hour to analyze the current market status.

  2. Fetch SOL Market Data (Crypto Compare) – Retrieves multiple timeframe data (1m, 5m, 1h) for trend, momentum, and volatility analysis.

  3. 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
  4. Balance Check (AFK Crypto) – Verifies wallet balance via /v1/wallets/balances?chain=solana and calculates position size based on 1% risk.

  5. Telegram Approval Message – Sends a Telegram message containing AI insights and trade details with β€œβœ… Approve” or β€œβŒ Decline” buttons.

  6. Trade Execution (AFK Trade API) – If approved, executes trade instantly via /v1/trade/swap using your AFK Crypto wallet.

  7. 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

  1. Import the workflow into your n8n workspace.

  2. 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.
  3. Edit β€œFetch SOL Market Data” Node: Update the endpoint if you want different timeframes or markets.

  4. Set the schedule: Default trigger = every hour (modifiable in the β€œEvery Hour” node).

  5. 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


Requirements


AFK APIs Used


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

πŸ”— Nodes Used

HTTP Request, Telegram, Schedule Trigger, AI Agent, Google Gemini Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup