# Running a workflow from an alert

On any alert, [workflows](/guides/workflows.md) whose filters match that alert appear as buttons.

To run a workflow:

1. Click the **Run Workflow** button on the alert page.

<figure><img src="/files/jAuDeudZ5zw5nDYnoLxZ" alt=""><figcaption></figcaption></figure>

2. Fill in the required inputs: for **Send Email**, fill in a recipient and a comment.

<figure><img src="/files/SRE4YgHn472uGVaMywdZ" alt="" width="375"><figcaption></figcaption></figure>

3. Click **Run**.

The workflow executes immediately. A session record is created in the workflow's [history view](/guides/workflows/viewing-workflow-history.md), showing the result of each step.

If required inputs are missing or invalid (for example, an unrecognized user), you'll see an inline error and the workflow will not run. No partial session is saved.


---

# 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.datalogz.io/guides/workflows/running-a-workflow-from-an-alert.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.
