OKX Spot DCA Order Monitor + Telegram Alerts (n8n Workflow)
OKX Spot DCA Order Monitor + Telegram Alerts (n8n Workflow)
Regular price
£20.99
Regular price
£20.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
OKX Spot DCA Order Monitor + Telegram Alerts (n8n Workflow)
Regular price
£20.99
Regular price
£20.99
Sale price
Unit price
/
per
OKX Spot DCA order alerts—automatically monitored every minute and sent to Telegram
This n8n workflow watches your OKX Spot DCA bots in real time (scheduled every minute), detects newly filled DCA orders (initial, safety, and take-profit), calculates cycle profit for completed cycles, and sends clean, formatted Telegram notifications—with built-in deduplication to prevent repeat alerts.
What this workflow does
- Runs every minute using a Schedule Trigger.
- Uses an HTTP Request signed against the OKX Trading Bot API to fetch the list of ongoing Spot DCA bots for your OKX region endpoint.
- For each bot, retrieves its cycle list, extracts profit details for stopped cycles, and prepares current cycle metadata.
- For each active cycle, pulls the DCA order history and normalizes orders with:
- calculated investment,
- and for take-profit orders, cycle profit in USDC and percentage.
- Checks n8n workflow static data using a per-order deduplication key to skip orders already notified.
- Sends a human-readable Telegram message for each newly detected order.
- Stores the deduplication key in workflow static data to avoid duplicate notifications in future runs.
Use cases
- Stay informed when your OKX Spot DCA strategy fills initial, safety, or take-profit orders.
- Track cycle performance by receiving profit-aware notifications when a cycle is completed.
- Reduce manual monitoring for SaaS operators running multiple OKX Trading Bots.
Technical details
- Nodes / tech stack: Code, Telegram, Sticky Note, HTTP Request, Schedule Trigger.
-
Credentials: OKX API keys via environment variables:
OKX_API_KEYOKX_SECRET_KEYOKX_PASSPHRASE
-
Region endpoint: update the OKX API base URL (e.g., EU:
https://eea.okx.com) in the HTTP requests.
