> For the complete documentation index, see [llms.txt](https://ciusji.gitbook.io/luden/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ciusji.gitbook.io/luden/configuration/destinations-conf/webhook.md).

# WebHook

Luden supports any HTTP destinations. WebHook destination can send configurable HTTP requests based on input JS/API event objects. For instance WebHook destination can send notifications about important conversion events to [Slack](https://slack.com/) or another notification channel. URL and Body might be configured with [JavaScript](#javascript-support). It allows enriching HTTP request with data from JS/API events.

## Filtering Events

For filtering events stream to prevent sending all events to WebHook **`table_name_template`** is used. For more information see [Table Names and Filters](/luden/configuration/configuration.md).

## Configuration

WebHook configuration parameters:

* **`url`**: HTTP URL.
* **`method`**: HTTP method.
* **`body`**: HTTP request JSON body.
* **`headers`**: HTTP headers Map.

## JavaScript Support

JavaScript code runs in a context where Luden put incoming events as global variables `event` and short convenient synonyms `$` or `_`

```
//all 3 expressions are equivalent:
event.event_type
$.event_type
_.event_type //this one better suits Template literals `Welcome, ${_.user?.name}!`
```
