# Alert Generator

* Alert scripts purpose.

Alert Scripts allow for complex logical conditions for when notifications should be sent. This requires technical expertise and knowledge of the Dataloy data model. Alert Generator simplifies the creation of this through the use of AI, enabling creation from natural language.

{% tabs %}
{% tab title="Alert Generator" %}

<figure><img src="/files/FI8BG6xH6eDHJI0uJpyf" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Create Generated Alert" %}
You can create a Webhook Alert directly with the generated script by choosing "Script With Webhook".

<figure><img src="/files/eYVsvY0G4GIUR5zI6Ds6" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# 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.dataloy.com/release-8.25/voyage-management-system/step-by-step-guides/alerts/alert-generator.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.
