> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/it/knowledge-base/how-to-articles/send-real-time-notifications-to-external-services-with-webhooks.md).

# Inviare notifiche in tempo reale a servizi esterni con i webhook

I webhook consentono di inviare notifiche in tempo reale a servizi esterni ogni volta che si verificano determinati eventi nel suo Devolutions Cloud. Si noti che i webhook sono disponibili anche in Devolutions Server.

{% hint style="info" %}
Il [servizio di reporting di Devolutions Cloud](https://docs.devolutions.net/cloud/it/web-interface/reports/scheduled-reports) deve essere in esecuzione, poiché gestisce la crittografia e la decrittografia dei payload dei webhook durante l'elaborazione.
{% endhint %}

1. Vada a ***Amministrazione*** – ***Webhook***.
2. Clicchi su **Aggiungi.**
3. Inserisca un nome descrittivo.
4. Fornisca l'URL dell'endpoint a cui Devolutions Cloud invierà le richieste HTTP POST.
5. Scelga gli eventi che attiveranno il webhook.
6. Facoltativamente, può definire un payload personalizzato da inviare con il webhook. Ad esempio, se desidera inviare un messaggio in Slack per ogni nuova voce creata, il ***Custom HTTP Body (JSON***) avrebbe questo aspetto:

![](https://cdnweb.devolutions.net/docs/HUBB6002_2025_3.png)

7. Clicchi su ***Aggiungi*** per salvare il webhook.

### Elenco degli handlebars per webhook

Di seguito è riportato l'elenco dei segnaposto handlebars disponibili. Questi segnaposto vengono sostituiti automaticamente con i dati effettivi dell'evento ogni volta che viene attivato un webhook.

#### Campi aggiuntivi disponibili in ogni trigger

* VaultName
* TriggerType (enum)
* TriggerTypeName

#### Nuova richiesta di check-out

* EntryId
* EntryName
* RequesterMessage
* Requester.DisplayName
* Requester.Email
* Approvers (Array of {DisplayName: "name", Email: "<email@example.com>"})
* RequestedMinutes

#### Richiesta di check-out approvata e negata

* EntryId
* EntryName
* RequesterMessage
* Requester.DisplayName
* Requester.Email
* Approvers (Array of {DisplayName: "name", Email: "<email@example.com>"})
* ApproverMessage
* RequestedMinutes
* Approved (bool)

#### Voce creata

* EntryId
* EntryName
* CreatedBy.DisplayName
* CreatedBy.Email

#### Richiesta di accesso temporaneo

* EntryId
* EntryName
* RequesterMessage
* Requester.DisplayName
* Requester.Email
* Approvers (Array of {DisplayName: "name", Email: "<email@example.com>"})
* RequestedMinutes

#### Richiesta di accesso temporaneo approvata e negata

* EntryId
* EntryName
* RequesterMessage
* Requester.DisplayName
* Requester.Email
* Approver.DisplayName
* Approver.Email
* ApproverMessage
* RequestedMinutes
* Approved (bool)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/server/it/knowledge-base/how-to-articles/send-real-time-notifications-to-external-services-with-webhooks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
