πŸ“ˆ Monitor futures trades and send risk alerts using Binance, Sheets, Slack and email

⚑ 105 views Β· πŸ“ˆ Crypto Trading & Stock Market

Description

Futures Trade Monitoring & Risk Alert Workflow

> 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.

Quick Implementation Steps

  1. Import workflow into your n8n account.
  2. Configure trade input (Function or Google Sheets).
  3. Connect Slack, Telegram, Jira, Gmail credentials.
  4. Set up Google Sheets (Trades & Analytics).
  5. Run workflow or enable schedule trigger.

What It Does

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.

Who It’s For

Requirements

How It Works & Setup Instructions

Step 1: Trigger Setup

Configure Schedule Trigger to run at intervals (e.g., every 5 minutes).

Step 2: Trade Input

Use Function node or Google Sheets to define:

Step 3: Fetch Market Data

HTTP Request node calls Binance API:

Step 4: Merge Data

Merge node combines trade input with live price.

Step 5: Process Trade Metrics

Function node calculates:

Step 6: Filter Valid Trades

IF node ensures valid calculations (e.g., non-null values).

Step 7: Risk Scoring

Assigns risk score based on loss and position size.

Step 8: Alert Routing

Switch node routes alerts:

Step 9: Store Trade Data

Google Sheets (Trades):

Step 10: Analytics

Function node generates:

Step 11: Store Analytics

Google Sheets (Analytics):

How To Customize Nodes

Add-ons (Extend Functionality)

Use Case Examples

  1. Monitor crypto futures trades in real time.
  2. Receive instant alerts for high-risk positions.
  3. Track daily profit/loss automatically.
  4. Manage multiple assets without manual checking.
  5. Enable centralized monitoring for trading teams.

Note: This workflow can be adapted for many other financial monitoring and automation use cases.

Troubleshooting Guide

IssuePossible CauseSolution
PnL is nullIncorrect field mappingEnsure correct price field is used
Telegram errorFormatting issueSet Parse Mode to NONE
No alerts triggeredRisk condition not metCheck Switch node logic
Empty rows in SheetsWrong data sourceConnect correct node to Sheets
API errorInvalid requestVerify Binance endpoint

Need Help?

If you need help setting up, customizing or extending this workflow, feel free to reach out our n8n workflow developers at WeblineIndia.

We can help you:

πŸ”— Nodes Used

Google Sheets, HTTP Request, Slack, Telegram, Jira Software, Gmail

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup