graph LR
Start(["`Start`"])
1["`<strong>set</strong><br>config`"]
2["`<strong>hyperliquid</strong><br>fetch positions`"]
3{"`<strong>if</strong><br>If liquidation risk high`"}
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 warned before your leveraged positions get liquidated, giving you time to protect your capital and adjust your positions.
This workflow is designed for traders with leveraged positions on Hyperliquid who want to protect their capital by receiving early warnings before liquidation occurs.
Unexpected liquidations can result in significant capital losses. Manually monitoring liquidation risk is stressful and you might miss critical warnings. This workflow automatically monitors your positions and sends alerts when you're getting too close to liquidation, giving you time to protect your capital and adjust your positions.
Fetches all your open positions on Hyperliquid
Calculates the liquidation distance for each position
Compares the liquidation distance with your risk threshold
Triggers an alert when positions get too close to liquidation
Sends notifications via Telegram or email with detailed risk information
Set the Risk Threshold (% from liquidation) in the config node (default: 20%)
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 Hyperliquid Credentials in the config node
Hyperliquid - Get positions: Retrieves all open positions for a user
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.