# Event Webhook

When a new call enters a queue, there is an abandoned call, or a call is ended, an HTTP post request can be sent to a URL. This can be used to trigger Power Automate to perform an action.

Specific data is also included in the HTTP post:

New Queue Call

* EventName
* ScenarioId
* CallStartDateTime
* RemotePartyName
* RemotePartyUri
* RemotePartyNumber
* RemotePartyId
* QueueDisplayName
* CallsInQueue
* NumberOfAvailableAgents

\
Abandoned Call

* EventName
* ScenarioId
* QueueDisplayName
* RemotePartyName
* RemotePartyUri
* RemotePartyNumber
* RemotePartyId
* CallStartDateTime
* CallEndDateTime
* CallLength
* CallbackRequested
* VoicemailRequested

End Call&#x20;

* EventName
* ScenarioId
* QueueDisplayName
* RemotePartyName
* RemotePartyUri
* RemotePartyNumber
* RemotePartyId
* CallStartDateTime
* CallEndDateTime
* CallLength
* AgentUPN
* TalkTime
* WaitTime
* CallbackRequested
* VoicemailRequested
* TimedOut
* Abandoned
* ServiceLevelAchieved

## Create a trigger in Power Automate:

New blank Automated cloud flow | Skip Wizard (Do not specify a trigger in the wizard) | Search and select "When a HTTP request is received"

Open a new browser tab | Contact Center Administration | Queues/Teams | Queue Actions | Edit | Integrations | Copy JSON Schema for desired webhook | Paste the JSON Schema into the "Request Body JSON Schema" field in your Flow.

Create your action | save

Expand the "When a HTTP request is received" trigger | Copy the HTTP post URL | Paste the HTTP post URL in the desired Webhook URL field in the contact center queue Integration tab.


---

# 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://cc.docs.landis.cloud/appendix/event-webhook.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.
