# Automating with Webhooks

## 🔗 Automating Strategies with Webhooks

The Webhook feature is a powerful tool designed for traders who have their own custom strategies and indicators on an external platform. It acts as a bridge, allowing your custom alerts to automatically trigger trades on your connected exchange account through our platform.

In simple terms, you can design any alert on your preferred charting platform—based on price, indicators, or a custom script—and have it execute a trade for you instantly.

***

### Part 1: Creating Your Webhook

First, we need to create and configure a webhook endpoint within our platform.

1. Navigate to the **Webhooks** section from the main menu.
2. Click the **Create New** button.
3. Fill in the initial details for your webhook:

<figure><img src="/files/bqYr8pzZgUH3W515Y66D" alt="The &#x27;Create webhook&#x27; modal, first step, showing fields for name, account, operation mode, and symbol"><figcaption></figcaption></figure>

* **Webhook name**: A friendly name to identify your webhook (e.g., "BTC 15m RSI Strategy").
* **Exchange account**: The connected exchange account where trades will be executed.
* **Operation mode**: Choose how the webhook will handle signals. "Full" mode allows for both long and short positions.
* **Symbol**: The trading pair this webhook will control (e.g., `BTC/USDT`).

Click **Next** to proceed to the connection setup.

***

### Part 2: Connecting Your External Signal Service

This screen provides the two key pieces of information you need to paste into your external platform's alert settings.

> **Note**: The ability to send webhook notifications is often a premium feature on many charting and signaling platforms.

<figure><img src="/files/6JEO6YWRjl4LBaUJngBI" alt="The second step of webhook creation, showing the webhook URL and the JSON message template to be copied"><figcaption></figcaption></figure>

#### Step 1: Set Up Your Alert

In your external platform, create a new alert for your chosen symbol. This can be based on a price level, an indicator, or a custom strategy.

#### Step 2: Input Your Webhook URL

In your alert's notification settings, locate the **"Webhook URL"** field. Copy the URL from our platform and paste it here.

#### Step 3: Input Your Webhook Message

Copy the entire **Webhook Message** template from our platform. This is a specially formatted JSON message. Paste this directly into the "Message" or "Payload" text box in your alert's settings.

The `{{...}}` placeholders are special variables that many platforms can automatically replace with real-time data (like price, order side, etc.) when the alert is triggered. **Do not change these placeholders unless you are an advanced user who understands the required format.**

Once you've configured the alert, save it. Back in our platform, click **FINISH**.

***

### Part 3: Monitoring Your Webhook

Once created, you can monitor all your webhooks from the main dashboard.

<figure><img src="/files/57hPs4Oo2LuNqUa4a0M2" alt="The main Webhooks dashboard, showing a list of webhooks on the left and the details of a selected one on the right"><figcaption></figcaption></figure>

The list on the left shows all your webhooks, their status, and trigger counts. Clicking on a webhook will open its detailed view on the right, which contains three tabs:

#### Basic Info

This tab shows the webhook's configuration details and, most importantly, its **Current Position**. This allows you to see at a glance if your strategy is currently in a long or short position and its size.

<figure><img src="/files/CZyEZIHR6IsJPfFoReD9" alt="The &#x27;Basic Info&#x27; tab for a webhook, displaying configuration details and the current long position"><figcaption></figcaption></figure>

#### Orders

This tab displays a log of the **actual trades** that have been successfully executed by the exchange as a result of the signals. This is your confirmation that your strategy is running as intended.

<figure><img src="/files/x0SgPeB984L3wiOhZitf" alt="The &#x27;Orders&#x27; tab showing a list of executed buy and sell trades with their details"><figcaption></figcaption></figure>

#### Signals

This tab shows a log of every **incoming signal** received from your external service. This is a critical tool for debugging. If a trade doesn't execute when you expect it to, the first place to check is here. If the signal is not listed, the issue is with your alert setup on the external platform. If the signal is here but there is no corresponding order, please contact support.

<figure><img src="/files/FYrtYD9nynNPzcH9HSVC" alt="The &#x27;Signals&#x27; tab showing a raw log of incoming buy and sell signals with timestamps and prices"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.algo724.com/advanced-guides/automating-with-webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
