n8nflow.net logo

AAVE Portfolio Professional AI Agent | Telegram + Email + GPT-4o + Moralis

by Don Jayamaha Jrβ€’Updated: Last update 4 months agoβ€’Source: n8n.io
Loading workflow viewer...

Getting Started

A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports via Telegram and Gmail , triggered on schedule or manually. Built for professionals monitoring multiple DeFi wallets.


🧩 System Components

ComponentRole
βœ… SchedulerTriggers the workflow periodically
βœ… Google Sheets Wallet LoaderLoads all monitored wallet addresses
βœ… Set VariablesInjects dynamic wallet + date
βœ… AAVE Portfolio AI AgentGPT-4o + LangChain AI that generates human-readable summaries
βœ… Moralis API Nodes (3)Collect Aave V3 supply/borrow/collateral data
βœ… OpenAI Chat Model (gpt-4o-mini)Interprets on-chain data and explains it
βœ… Telegram DeliverySends summary to Telegram chat
βœ… Gmail Email SenderSends full HTML report to email
βœ… HTML FormatterBeautifies AI output into email structure

βš™οΈ How It Works

  1. Scheduled or manual trigger

  2. Pulls wallet addresses from Google Sheets

  3. For each wallet:

    • Pulls Aave data from Moralis
    • GPT-4o AI generates report
    • Sends summary to Telegram
    • Sends full HTML report via Gmail

πŸ›  Installation Steps

1. Import the Workflow

  • Upload AAVE_Portfolio_Professional_AI_Agent.json to your n8n instance.

2. Connect These Credentials

ServiceRequired Credential Type
MoralisHTTP Header Auth (X-API-Key)
OpenAIGPT-4o via OpenAI API Key
TelegramTelegram Bot API Token
GmailGmail OAuth2 Credential

3. Create Google Sheet

  • Column name must be: wallet_address
  • Add wallet addresses you want monitored

πŸ“¬ Output Format

Telegram Message Example

πŸ“Š Aave DeFi Health Report  
Wallet: 0xABC...123  
Date: 2025-05-21

β–ͺ️ Pool: Aave Ethereum USDC  
β€’ Supply: $10,040  
β€’ Borrowed: $5,500  
β€’ Health Factor: 3.43  
β€’ Liquidation Risk: No  

Email Report

  • Full HTML + plain text versions
  • Auto-generated date + styled per wallet
  • Includes notes and threshold warnings

🧠 Smart Features

  • GPT-4o generates clear human summaries
  • Monitors multiple wallets in one run
  • Flags liquidation risk dynamically
  • Logs daily performance snapshots

πŸ’‘ Customization Ideas

  • Add Telegram slash command /aave <wallet>
  • Expand to monitor Compound , Lido , or Uniswap
  • Export to Notion, Slack, or Data Studio

🧾 Licensing & Attribution

Β© 2025 Treasurium Capital Limited Company

Architecture, prompts, and report formatting are intellectual property protected.
No unauthorized rebranding, redistribution, or resale permitted.

πŸ”— For support or licensing inquiries: LinkedIn – Don Jayamaha


πŸš€ Track all your Aave DeFi positions using AIβ€”delivered via Telegram + Gmail.
Perfect for funds, traders, and DeFi power users.


πŸŽ₯ Watch the Live Demo:

AAVE Portfolio AI Agent Demo