n8n, Binance API, Google Sheets, Slack, Telegram, Jira & Email
This workflow automates futures trade monitoring by fetching live prices from Binance, calculating trade performance (PnL, ROI, fees), evaluating risk levels and sending alerts across Slack, Telegram, Jira and Email. It also stores trade history and analytics in Google Sheets.
- Import workflow into your n8n account.
- Configure trade input (Function or Google Sheets).
- Connect Slack, Telegram, Jira, Gmail credentials.
- Set up Google Sheets (Trades & Analytics).
- Run workflow or enable schedule trigger.
This workflow continuously monitors futures trading positions by combining user-defined trade data with real-time market prices fetched from the Binance public API. It calculates key metrics such as profit/loss (PnL), return on investment (ROI) and transaction fees to evaluate trade performance.
Based on calculated values, the workflow applies a risk scoring mechanism to classify trades into different severity levels. These levels determine how alerts are routed across communication platforms such as Slack, Telegram, Jira and Email.
Additionally, the workflow stores all trade data and daily analytics in Google Sheets, enabling users to track performance trends and maintain a history of trades without manual effort.
- Crypto futures traders
- Trading teams and analysts
- Risk management teams
- Automation enthusiasts using n8n
- Developers building trading dashboards
- n8n account (Self-hosted or Cloud)
- Binance public API access (no API key required)
- Google Sheets account
- Slack workspace (optional)
- Telegram bot (optional)
- Jira account (optional)
- Gmail account (optional)
Configure Schedule Trigger to run at intervals (e.g., every 5 minutes).
Use Function node or Google Sheets to define:
symbolentry_pricequantity
HTTP Request node calls Binance API:
- Endpoint:
/api/v3/ticker/price
Merge node combines trade input with live price.
Function node calculates:
- PnL
- Fees
- Net PnL
- ROI
IF node ensures valid calculations (e.g., non-null values).
Assigns risk score based on loss and position size.
Switch node routes alerts:
- Low → Slack
- Medium → Slack + Telegram
- High → Slack + Telegram + Jira + Email
Google Sheets (Trades):
- Stores trade history
Function node generates:
- Daily trade count
- Net PnL summary
Google Sheets (Analytics):
- Stores summarized data
- Modify Function node to change trade input logic.
- Adjust HTTP Request node for different APIs.
- Update PnL logic for leverage or futures margin.
- Modify risk scoring thresholds.
- Customize alert messages per platform.
- Change Google Sheets structure as needed.
- Duplicate alert prevention using Google Sheets lookup
- Dashboard integration (Google Data Studio / Power BI)
- Auto trade sync via exchange APIs
- Webhook-based real-time alerts
- Error handling and retry logic
- Monitor crypto futures trades in real time.
- Receive instant alerts for high-risk positions.
- Track daily profit/loss automatically.
- Manage multiple assets without manual checking.
- Enable centralized monitoring for trading teams.
Note: This workflow can be adapted for many other financial monitoring and automation use cases.
| Issue | Possible Cause | Solution |
|---|---|---|
| PnL is null | Incorrect field mapping | Ensure correct price field is used |
| Telegram error | Formatting issue | Set Parse Mode to NONE |
| No alerts triggered | Risk condition not met | Check Switch node logic |
| Empty rows in Sheets | Wrong data source | Connect correct node to Sheets |
| API error | Invalid request | Verify Binance endpoint |
If you need help customizing this workflow, integrating it with your customer support ecosystem, or extending it with AI-powered ticket routing, sentiment analysis, and reporting, our WeblineIndia team is ready to assist. Explore our Process Automation Solutions or connect with our n8n workflow development experts to build, customize, and scale your business automation with confidence.