graph LR
1["`<strong>userInteraction</strong><br>config`"]
4["`<strong>marketData</strong><br>get chart image`"]
5["`<strong>ai</strong><br>ai chat`"]
3["`<strong>bluefin</strong><br>get position detail`"]
2["`<strong>bluefin</strong><br>fetch user position`"]
8["`<strong>userInteraction</strong><br>sign transaction`"]
6{"`<strong>if</strong><br>If`"}
7["`<strong>bluefin</strong><br>auto rebalance`"]
9["`<strong>telegram</strong><br>send msg to telegram`"]
Start(["`Start`"])
1 ---> 2
4 ---> 5
5 ---> 6
3 ---> 4
2 ---> 3
8 ---> 9
6 ---> 7
7 ---> 8
Start ---> 1
Set up and automatically manage concentrated liquidity positions using AI predictions to optimize your price ranges and maximize returns.
This workflow is designed for DeFi users who want to set up and automatically manage concentrated liquidity positions on Bluefin using AI predictions to optimize price ranges.
Setting up concentrated liquidity positions requires determining optimal price ranges, which can be challenging without market analysis. Positions can become inefficient when prices move outside the intended range. This workflow uses AI to analyze market trends, predict optimal price ranges, and automatically set up or rebalance positions when they drift more than 20% from predicted ranges, helping you maximize returns.
Fetches your current positions for the specified trading pair
Uses AI to analyze market charts and predict optimal price ranges
Compares current position ranges with AI predictions
Sets up new positions or rebalances existing ones when needed
Creates, signs, and submits transactions to the blockchain
Set the tradingview symbol in the config node
Optionally set the interval in the config node
Set coin A in the config node
Set coin B in the config node
Enter your wallet address in the config node (Sui wallet)
MarketData - Analyze Market with AI: Analyzes market data using AI to provide insights and predictions
Bluefin - Get User Positions: Retrieves all liquidity positions for a user account on Bluefin protocol
Bluefin - Get Position Details: Retrieves detailed information for a specific liquidity position, including price range, token amounts, and current status
Bluefin - Auto Rebalance Position: Automatically rebalances a liquidity position to new price ranges
ChainKit - Sign Sui Transaction: Signs a transaction on Sui blockchain
Telegram - Send Telegram Message: Sends text messages through Telegram's bot API using _chatId, message, and optional parameters
_
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.