graph LR
Start(["`Start`"])
1["`<strong>set</strong><br>config`"]
2["`<strong>binance</strong><br>fetch balance`"]
3{"`<strong>if</strong><br>If rebalancing needed`"}
4{"`<strong>if</strong><br>If telegram alert`"}
5["`<strong>telegram</strong><br>send telegram alert`"]
6["`<strong>sendMail</strong><br>send email alert`"]
Start ---> 1
1 ---> 2
2 ---> 3
3 ---> 4
4 -->|true| 5
4 -->|false| 6
Get notified when your portfolio drifts away from your target allocation, so you can rebalance and maintain your desired asset mix.
This workflow is designed for investors who want to maintain a balanced portfolio allocation and receive alerts when their portfolio drifts away from target allocations.
Portfolio allocations can drift over time due to price movements, making it difficult to maintain your target asset mix. Manually checking and rebalancing requires constant monitoring. This workflow automatically monitors your portfolio balance, calculates current allocations, and sends alerts when any asset deviates from your target allocation by more than the specified threshold.
Fetches your current balance from Binance
Calculates the current percentage allocation for each asset
Compares current allocations with target allocations
Detects when any asset deviates beyond the threshold
Sends notifications via Telegram or email with rebalancing recommendations
Set the Target Allocations (JSON) in the config node (e.g., {"BTC": 50, "ETH": 30, "USDT": 20}, default: {"BTC": 50, "ETH": 30, "USDT": 20})
Set the Deviation Threshold (%) in the config node (default: 5)
Choose the Alert Method in the config node (telegram or email, default: telegram)
If using email alerts, enter your Email Address in the config node
Connect your Binance API Keys in the config node
Binance - Get Account Balance: Retrieves account balance information
Telegram - Send Telegram Message: Sends text messages through Telegram's bot API using _chatId, message, and optional parameters
SendMail - Send Email with SeamFlux Robot: Sends email using SeamFlux Robot's configured Resend API with predefined sender address
_
Tip: This executable workflow was automatically generated by SeamFlux Bot. To use it, create an execution and test it with your data to ensure it meets your needs.
Ready to get started?
to run this template or create a scheduled task, and ask AI about detailed node execution steps.
Run Locally — download this workflow as a ZIP or run it via Seamflux CLI in your terminal; use the "Run Locally" button above to choose.
Build a workflow from scratch using AI chat. No complex parameter configuration or flowchart dragging needed.