AAVE Portfolio Professional AI Agent | Telegram + Email + GPT-4o + Moralis
Go to WorkflowDescription
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
| Component | Role |
| --------------------------------- | ------------------------------------------------------------- |
| β
Scheduler | Triggers the workflow periodically |
| β
Google Sheets Wallet Loader | Loads all monitored wallet addresses |
| β
Set Variables | Injects dynamic wallet + date |
| β
AAVE Portfolio AI Agent | GPT-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 Delivery | Sends summary to Telegram chat |
| β
Gmail Email Sender | Sends full HTML report to email |
| β
HTML Formatter | Beautifies AI output into email structure |
βοΈ How It Works
Scheduled or manual trigger
Pulls wallet addresses from Google Sheets
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
| Service | Required Credential Type |
| -------- | ---------------------------- |
| Moralis | HTTP Header Auth (X-API-Key) |
| OpenAI | GPT-4o via OpenAI API Key |
| Telegram | Telegram Bot API Token |
| Gmail | Gmail 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: