BOT START SIGNAL

AI Alert Webhook: Start Trading Bots from AI Market Analysis

Complete setup guide for sending OPEN LONG and OPEN SHORT signals from ELIXOAI AI Alert to external trading bots by Webhook.

AI Alert sends a webhook from AI market analysis to a trading bot
AI Alert turns an opening decision into a Webhook request that an external platform can use to start a configured bot.

AI Alert is the scheduled mode of ELIXOAI AI Trade Analysis. It repeats a selected market analysis at the chosen interval and can notify Telegram and/or send a Webhook when the result is OPEN LONG or OPEN SHORT. A WAIT result is saved to statistics but does not send a start command.

The Webhook does not create a strategy or position size on the destination platform. It transfers the AI decision to a bot you have already configured in 3Commas, Veles, RevenueBot, WunderTrading, TradersPost, Cornix, Pionex or your own system.

What is AI Trade Analysis in ELIXOAI?

AI Trade Analysis is a context-aware assessment of a possible entry, not a single-indicator alert. Depending on the sources enabled in the form, the system can combine current price and candles, market structure and technical indicators, futures and order-flow data, liquidations and open interest, crypto news, X/Twitter sentiment, and a chart image. The AI evaluates the available evidence together and returns one structured decision: OPEN LONG, OPEN SHORT or WAIT, plus confidence, reasons, risks and a concise summary.

You can add a custom prompt to direct the analysis toward your trading method-for example, require trend confirmation, describe a breakout or mean-reversion setup, prioritize order flow, avoid entries near news, or combine several strategy prompts. The prompt guides reasoning but does not fabricate missing market data and does not guarantee a trade. Precise prompts should state the setup, confirmation rules, invalidation conditions and risks to avoid.

How the decision becomes a bot signal

  1. The scheduler repeats the saved analysis with the selected pair, direction, timeframe, model, data sources, risk settings and prompt.
  2. The AI returns a normalized decision. Only OPEN LONG and OPEN SHORT are eligible for delivery.
  3. ELIXOAI fills your Message/JSON placeholders with the current result.
  4. Valid JSON is POSTed as application/json; any other message is POSTed as text/plain.
  5. The receiving platform interprets the message and starts the bot according to its own configuration.

Step-by-step setup

  1. Create and configure a bot on the destination platform. Set exchange account, pair mapping, position size, leverage, exits and safety limits there.
  2. Get the platform’s Webhook URL and its exact Message/JSON template. Disable “TradingView IP only” or allow the ELIXOAI server IP when required.
  3. Open AI Trade Analysis, set the pair, intended direction, TP/SL or DCA coverage, AI model, data sources and optional custom prompt.
  4. Choose the analysis interval. Available schedules range from 1 to 24 hours.
  5. Enable Telegram if it is connected, paste the public HTTP/HTTPS Webhook URL, and paste the destination platform’s template.
  6. Create and activate the Alert. Manage, pause, edit or delete it later in Manage AI Subscriptions.

Message and JSON templates

Use the destination platform’s format exactly. A simple portable example is:

{"action":"{{strategy.order.action}}","symbol":"{{ticker}}","decision":"{{decision}}","confidence":{{confidence}},"price":{{close}}}

If the Message field is empty, ELIXOAI sends buy/long for OPEN LONG or sell/short for OPEN SHORT. To send the complete universal object, enter only {{payload}}. Inside JSON, insert text safely with variants such as {{summary_json}} without extra quotation marks.

Important: AI Alert does not guess position size. Configure it on the bot platform or include it explicitly in that platform’s JSON. Test with a demo account or minimum size before enabling real execution.

All supported Webhook variables

The examples below use a hypothetical BTC/USDT OPEN LONG result at 64,250.5. Actual output depends on the selected market and available source data. Missing numeric market fields are rendered as null.

TradingView-compatible market variables

  • {{ticker}} - Uppercase exchange ticker without a prefix. Example output: BTCUSDT
  • {{ticker.standard}} - TradingView-style ticker including the uppercase exchange prefix. Example output: BINANCE:BTCUSDT
  • {{exchange}} - Uppercase source exchange name. Example output: BINANCE
  • {{close}} - Latest close or analyzed market price; null when unavailable. Example output: 64250.5
  • {{open}} - Opening price of the market candle used by the result; null when unavailable. Example output: 63880.2
  • {{high}} - Highest price of that candle; null when unavailable. Example output: 64540
  • {{low}} - Lowest price of that candle; null when unavailable. Example output: 63710.8
  • {{volume}} - Candle volume when supplied by the market snapshot; null when unavailable. Example output: 1245.73
  • {{interval}} - TradingView-normalized interval: minutes for intraday values, such as 60 for 1h. Example output: 60
  • {{time}} - UTC time of the analyzed candle or market snapshot in ISO 8601 format. Example output: 2026-08-11T12:00:00Z
  • {{timenow}} - UTC time when ELIXOAI created the signal. Example output: 2026-08-11T12:04:18Z
  • {{syminfo.basecurrency}} - Uppercase base asset of the pair. Example output: BTC
  • {{syminfo.currency}} - Uppercase quote or settlement asset of the pair. Example output: USDT

TradingView-compatible strategy variables

  • {{strategy.order.action}} - Bot-side order command: buy for OPEN LONG and sell for OPEN SHORT. Example output: buy
  • {{strategy.market_position}} - New market position: long or short. Example output: long
  • {{strategy.prev_market_position}} - Previous position is always flat because AI Alert emits an entry signal. Example output: flat
  • {{strategy.order.price}} - Analyzed entry or market price. Example output: 64250.5
  • {{strategy.order.id}} - Stable order label made from the AI Alert subscription ID. Example output: elixoai-1842

Universal cross-platform aliases

  • {{symbol}} - Universal alias of ticker. Example output: BTCUSDT
  • {{ticker.perpetual}} - Ticker with .P suffix for platforms that identify perpetual futures this way. Example output: BTCUSDT.P
  • {{pair}} - Pair in the form stored by the analysis request. Example output: BTC/USDT
  • {{pair.slash}} - Pair normalized with a slash. Example output: BTC/USDT
  • {{pair.dash}} - Pair normalized with a dash. Example output: BTC-USDT
  • {{pair.underscore}} - Pair normalized with an underscore. Example output: BTC_USDT
  • {{base}} - Uppercase base asset. Example output: BTC
  • {{base.lower}} - Lowercase base asset. Example output: btc
  • {{quote}} - Uppercase quote asset. Example output: USDT
  • {{quote.lower}} - Lowercase quote asset. Example output: usdt
  • {{exchange.lower}} - Lowercase exchange name. Example output: binance
  • {{action}} - Universal buy or sell command. Example output: buy
  • {{action.upper}} - Uppercase BUY or SELL command. Example output: BUY
  • {{side}} - Lowercase long or short direction. Example output: long
  • {{direction.upper}} - Uppercase LONG or SHORT direction. Example output: LONG
  • {{signal.action}} - Explicit entry event: enter_long or enter_short. Example output: enter_long
  • {{price}} - Universal alias of the analyzed price. Example output: 64250.5
  • {{timeframe}} - Original ELIXOAI timeframe such as 1h; unlike interval it is not converted to minutes. Example output: 1h

AI decision and risk variables

  • {{decision}} - Normalized AI result: open long or open short. WAIT is never delivered by Webhook. Example output: open long
  • {{confidence}} - Integer AI confidence from 0 to 100. Example output: 87
  • {{take_profit}} - Take-profit distance configured by the user, in percent. Example output: 3
  • {{stop_loss}} - Stop-loss distance configured by the user, in percent; null when not set. Example output: 1.5
  • {{take_profit_ratio}} - Take-profit percentage divided by 100 for APIs expecting a decimal ratio. Example output: 0.03
  • {{stop_loss_ratio}} - Stop-loss percentage divided by 100 for APIs expecting a decimal ratio. Example output: 0.015
  • {{take_profit_price}} - Calculated absolute TP price; direction-aware and null if price or TP is unavailable. Example output: 66178.015
  • {{stop_loss_price}} - Calculated absolute SL price; direction-aware and null if price or SL is unavailable. Example output: 63286.7425
  • {{summary}} - Short natural-language explanation returned by the AI. Example output: Trend and order flow support a long entry.
  • {{run_id}} - Unique identifier of this completed AI analysis. Example output: run_01K2ABCDEF
  • {{subscription_id}} - Numeric ID of the scheduled AI Alert subscription. Example output: 1842

JSON-safe variables

  • {{payload}} - Ready-to-send universal signal object encoded as JSON; use it as the entire Message. Example output: {"action":"buy","signal_action":"enter_long","symbol":"BTCUSDT","pair":"BTC/USDT","direction":"long","decision":"open long","confidence":87,"price":64250.5}
  • {{payload_json}} - Alias of payload with the same ready JSON object. Example output: {"action":"buy","symbol":"BTCUSDT","decision":"open long","confidence":87}
  • {{pair_json}} - Pair encoded as a valid JSON string including quotation marks. Example output: "BTC/USDT"
  • {{ticker_json}} - Ticker encoded as a valid JSON string including quotation marks. Example output: "BTCUSDT"
  • {{exchange_json}} - Exchange encoded as a valid JSON string including quotation marks. Example output: "BINANCE"
  • {{summary_json}} - AI summary encoded as a valid JSON string; insert without surrounding quotes. Example output: "Trend and order flow support a long entry."
  • {{reasons_json}} - AI reasons encoded as a JSON array. Example output: ["Trend confirmed","Positive order flow"]
  • {{risks_json}} - AI risks encoded as a JSON array. Example output: ["High volatility","Resistance nearby"]

Testing and troubleshooting

  • Use a request inspector or the platform’s Webhook log before connecting a live bot.
  • Confirm that LONG maps to buy/enter_long and SHORT maps to sell/enter_short.
  • If JSON is rejected, check commas, quotation marks and use *_json variables for strings.
  • The URL must be a public HTTP/HTTPS host on port 80/443; private addresses, embedded credentials, fragments and redirects are not supported.
  • The receiver must return HTTP 2xx. Temporary failures are retried by the delivery queue.
  • If nothing arrives, check that the subscription is active and that the latest decision is OPEN LONG or OPEN SHORT-not WAIT.

Risk and responsibility

An AI signal is analysis, not a promise of profit. The destination bot may execute immediately, so define position size, leverage, maximum loss, stop conditions and exchange permissions conservatively. Monitor the first signals and review Signal History, confidence, reasons and risks before increasing exposure.