Automate USDC balance between wallet and Aave with 1Shot API & Telegram
UnknownWhat this workflow does
This workflow has 31 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Telegram and 1shot (community).
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Savings Configs (Code): runs custom JavaScript code
- List wallets (One Shot): work with wallets
- Check User's USDC Balance (One Shot): read
- Check for Base Wallet (If): checks a condition and branches into true / false
- Check User's Aave Savings (One Shot): read
- Get Wallet ID (Code): runs custom JavaScript code
- Create Base wallet (One Shot): create (wallets)
- Switch: routes items into 2 branches
- Assure aBasUSDC (One Shot): assure contract methods from prompt
- Assure Aave: Pool Proxy (Base) (One Shot): assure contract methods from prompt
…plus 19 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-1shot is verified or supports 3.0 (used in Withdraw from Aave, USDC Approve, Aave Supply).
- Check that n8n-nodes-1shot is verified or supports 3.0 (used in Check User's Aave Savings, Check User's USDC Balance, Confirm User's USDC Balance After Withdraw).
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram - One Shot Synch
n8n-nodes-1shot.oneShotSynch - One Shot
n8n-nodes-1shot.oneShot - Switch
n8n-nodes-base.switch - Manual Trigger
n8n-nodes-base.manualTrigger - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge
From the author
Automated Savings with 1Shot API and Aave Protocol With the increasing popularity of stablecoins like USDC, its becoming easier to pay for everyday items with crypto thanks to debit cards from issuers like MetaMask. These solutions work by processing payments…