Enneo

Events & Webhooks

Concept of Events in enneo

Design processes efficiently and create intelligent automations with enneo's event-architecture

Tip

The Events concept allows enneo to seamlessly integrate the product into various system landscapes. During the processing of customer inquiries, so-called events are generated at specific points in the process.

In addition, enneo offers the flexibility to set up events to be generated at regular intervals, such as every night.

Process Integration

Events in enneo enable efficient and automated customer service that responds to different events. This allows existing systems and workflows to be seamlessly integrated.

Asynchronous Response to Events

Through customized configuration, customer-specific code can respond asynchronously to events. This allows for reactions to triggered events without interrupting the main process. Actions such as forwarding data to analysis or reporting tools or synchronization with other ticket systems can be automated.

Event Configuration

Event-based integrations can be configured in the settings under Settings → Integration with external systems → Events. The following events are available:

Tickets

  • TicketCreated: A new ticket has been received and the AI processing has been completed.

  • NonAiTicketCreated: A new ticket has been created without AI processing.

  • TicketUpdated: A ticket property has been updated by an agent, e.g. it has been assigned to a user or the status has been changed.

  • TicketResponse: A response to a ticket thread from an external party (not the agent) has been received.

  • TicketRouted: A ticket was forwarded to an agent with the enneo routing system.

  • TicketForwarded: The agent has forwarded the ticket to another email address or subchannel.

  • TicketDueByOverdue: A ticket's due date has passed while the ticket is still open.

  • TicketClosedDueToInactivity: A ticket has been closed due to inactivity.

  • TicketDeleted: A ticket has been permanently deleted (GDPR deletion).

  • ConversationCreated: The agent replied with a message or an internal note.

  • AutoProcessIntent: The AI agent of the ticket is processed automatically.

  • SmartAgentV2ConfirmPlan: A Smart Agent's solution plan has been confirmed and executed.

  • OcrScanCompleted: Text recognition (OCR) of a document has been completed.

  • NotifySurroundingSystems: Add notifications to surrounding systems.

Communication

  • EmailAutoresponder: An automatic reply is sent to the customer informing them that their email has been received.

  • SendEmail: Sends an email to the customer with a specified template and data.

  • SendLetter: A letter has been sent to the customer via a print service provider.

  • SurveySubmitted: A customer or user has submitted a survey.

Telephony

  • CallStarted: A call has started.

  • CallCompleted: A call has ended.

Users and Settings

  • ProfileCreated: A new user profile has been created in the system.

  • ProfileUpdated: A user profile has been updated, e.g. the name, settings or other properties have been changed.

  • ProfileDeleted: A user profile has been deleted from the system.

  • AgentRoutingStatusChanged: An agent's routing status has changed.

  • RoleManagement: A role has been created, changed or deleted.

  • SettingChanged: A user has changed a setting.

  • UsageLimitChanged: The status of a usage limit has changed.

AI and Quality

  • AiAgentChanged: An AI agent has been created, changed or deleted.

  • KnowledgeSourceChanged: A knowledge source has been created, changed or deleted.

  • AiInsightQuestionChanged: An AI Insight question has been created, changed or deleted.

  • ScorecardChanged: A quality scorecard has been created, changed or deleted.

  • QualityAssessment: A quality assessment is being processed by the AI.

  • TestTicketAiQuality: Performs a quality check of the AI on the ticket.

Scheduled

  • CronMinute: Triggered every 5 minutes, including weekends (*/5 * * * *).

  • CronHour: Triggered every hour at the first minute (1 * * * *).

  • CronDay: Triggered every Monday to Friday at 2 am (0 2 * * 1-5).

  • CronWeek: Triggered every Saturday at 2 am (0 2 * * 6).

After selecting an event, the handling can be determined via the corresponding configuration. Depending on the scenario, a choice can be made between executing customer-specific code and an API call. With customer-specific code, API calls from third-party systems are also possible.

  • Customer-specific Code: Allows the execution of custom scripts that respond to the specific event. Within this code, API calls can be integrated to interact with third-party systems. The enneo SDK can be used in the code.

  • API Call: Offers the possibility to perform a direct API call to seamlessly communicate with other systems and improve integration.

The parameter definition can specify which properties of the event are used in the code or API call.

To better understand the data structure of the events, it is advisable to look at them using tickets as an example:

  1. Open a ticket.

  2. Click on Ticket Details in the top right.

  3. Select Activity log.

  4. Click on Show technical information.

After clicking, the events and the data they contain are shown, which enables a better understanding of the available properties of an event.

Loop Protection

An event hook can change the ticket that triggered it – for example when a connected system reacts to TicketUpdated and writes data back to the ticket. Every such change creates a new event and can trigger the same hook again. enneo limits this in two ways:

  • Only real changes create events. If a hook writes back the same value the ticket already has, no new TicketUpdated event is created and the chain ends.
  • Ceiling per hook and ticket. A hook runs at most 30 times per minute for the same ticket. Beyond that it is skipped and recorded in the activity log under Hook Outcome with the status skipped. Other tickets and other hooks are not affected.

The ceiling can be adjusted in the rateLimitPolicy setting under eventHookRuns. Hooks should still write back to the ticket only when a value actually changes.

Application Examples

  • Analysis & Reporting: Configurations can be created that automatically send data to the preferred analysis tool at specific events. This ensures that the latest data is always available.

  • Ticket system synchronization: The synchronization with other ticket systems can be automated to ensure that all teams are up to date and no request is lost.