> ## Documentation Index
> Fetch the complete documentation index at: https://docs.actionllama.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Sentry Webhooks

> Filter fields, setup, and examples for Sentry webhook triggers

Sentry webhooks let agents respond to error alerts, metric alerts, and issue events.

## Filter Fields (all optional)

| Field       | Type      | Description                                                        |
| ----------- | --------- | ------------------------------------------------------------------ |
| `resources` | string\[] | Resource types: event\_alert, metric\_alert, issue, error, comment |

## Setup

1. In Sentry, go to **Settings > Developer Settings > New Internal Integration**
2. Set the webhook URL to your gateway (e.g. `https://your-server:8080/webhooks/sentry`)
3. Copy the client secret to `~/.action-llama/credentials/sentry_client_secret/<instance>/secret`
4. Select the resource types you want to receive

## Example Configuration

```toml theme={null}
# In project config.toml
[webhooks.my-sentry]
type = "sentry"
credential = "SentryProd"
```

```toml theme={null}
# In agents/<name>/config.toml
[[webhooks]]
source = "my-sentry"
resources = ["event_alert", "issue"]
```
