Webhook: How to Send a Signal Based on an Alert
In today's fast-paced digital environment, automation plays a crucial role in ensuring efficiency and responsiveness. Webhooks are an essential tool in this automation process, enabling real-time communication between different systems based on specific triggers.
In this article, we'll explore how to set up an alert that sends a signal to an Altrady Signal Bot or an External URL, when it is triggered by user-defined conditions.
The following guide, should help assist you in understanding how to send webhook signals via alerts, to streamline your workflows and so that immediate action is taken when your alert conditions are met.
Contents
How to Create the Webhook Alert
- In the Trading Terminal, go to the Alerts widget and set your alert type, price (if relevant), trigger type, expiration date/time and sound for the alert, as you normally would for a regular alert.
- Next, set the Webhook for where you would like the alert to be sent to. There are 2 options:
- Altrady Signal Bot.
- External URL.
Choose Altrady Signal Bot, if you would like that the triggered alert sends a signal to your bot. You will notice that the webhook URL has been set automatically.
If you would like that a Signal is sent to an External URL, choose this from the dropdown menu. Following this, you will need to specify the external URL in the relevant field.
- Following this, enter your webhook payload into the Note section.
- Finally, click the Save button to post your alert.
- You will then be able to see your alert, under My Alerts > Active, in your Trading Terminal. Once your alert conditions have been met, the payload in the note section will be sent.
Important Factors to Consider
- A signal will be sent every time the alert is triggered. If the Trigger Type **creates recurring alerts, this **will be triggered every time the alert crosses UP or **DOWN **(alternating).
- A signal can be sent using any of the 3 alert types (i.e. Time, Price and Trendline).
- All actions for https://api.altrady.com/v2/signal_bot_positions are supported. These actions can also be viewed here: Webhook Signals: Open, Increase, Reduce, Close or Reverse a Position
- If using
"test": true
to send a test signal, please note that this currently ONLY supports the Open **signal. If this is used with another signal type, **a live order will be sent. More information about testing signals can be viewed here: Webhook Signals: Testing and Errors - Please note, that support for the substitute values
{{exchange}}
,{{symbol}}
and{{direction}}
will be coming soon.
______________________
Related Articles
Webhook: Setting up the Signal Bot
Price Alerts and Trendline Alerts
Webhook Signals: Webhook Builder
Webhook Signals: Open, Increase, Reduce, Close or Reverse a Position
Updated on: 06/06/2025
Thank you!