Events & Webhooks
Concept of Webhooks in enneo
Influencing enneo processes in real time with Webhooks
In addition to the events that enable asynchronous processing, enneo also offers Webhooks that support synchronous processing. Webhooks are particularly useful when it comes to influencing the process flow in real time and directly integrating external systems.
Tip
Webhooks interrupt the ongoing process in enneo at defined points. This allows real-time response to data and events and, if necessary, fetching necessary information from external systems before the process in enneo is resumed.
With Webhooks, your own code or external APIs can be called as soon as certain events occur, for example, when an email or a letter is received or sent. The call is synchronous, which means that in case of failure the user will be notified.
Webhooks for Emails
Under Settings → Email → Email Accounts, select an email account and turn on the "Enable Webhooks" switch. Two Webhooks are then available:
- "Ticket Update": for changes to ticket properties, e.g. status (open/closed), priority, deadline or assignment.
- "New email": for every inbound or outbound email, as well as for internal notes. If the email is a reply or outgoing, the
conversationIdfield is set, otherwise it isnull.
Webhooks for Letters
Under Settings → Letter → (select mailbox) → Webhooks, turn on the "Enable Webhooks" switch. Three Webhooks are then available:
- "Ticket Update": for changes to ticket properties, as for emails.
- "New Letter / Conversation": for every new letter or every new message in the ticket.
- "Send Letter": hands outgoing letters over to your print service provider, see Letter.
Webhooks in the Area of ERP Integration
By integrating Webhooks, external APIs can be connected to query customer data live. Whenever enneo needs customer data, the request is forwarded to the stored API via the configured individual code. enneo also caches queries.
Tip
enneo natively supports various ERP systems but can also be connected to other systems through integrations. The Webhooks listed here serve this integration and enable real-time access to customer data.
With natively supported systems, no Webhooks for ERP integration are necessary as these are already implemented in the core of enneo.
Configuration takes place under Settings → Integration with external systems → API Integration. The following types of Webhooks are available:
-
Search Contract by ID: enneo can search contracts based on the contract ID. This Webhook is used to fetch the contract data.
-
Search customer by ID: enneo can search customers based on the customer ID. This Webhook is used to load the customer data.
-
Feature-based search of contracts: enneo can search contracts based on specific attributes. This code is executed when the enneo AI recognises certain characteristics, e.g. names or addresses in customer communication and searches for contracts based on that.
-
Free text search of customers: enneo allows the search for customers using a free text search. This code is executed when agents use the free text search bar in the top right-hand corner.