Custom OTOBO workflows & integrations
We build dependable web services, process management automations, and third-party integrations tailored to your IT landscape.
In this guide: Conceptual overview of OTOBO web services — when to use operations vs. invokers and how mapping works.
Related: REST API reference · Ticket services · Process management · OTOBO automation & integration by Softoft
In a globally connected world, ticket systems must be able to react automatically to requests from other systems and be able to send requests or data to external services. OTOBO, the powerful open-source ticket system, meets this challenge with its Generic Interface. It allows administrators to create web services for a variety of tasks without deep programming knowledge. OTOBO supports communication via REST and SOAP protocols, enabling seamless integration with:
A web service acts as a link between OTOBO and external systems. In this process, Operations and Invokers define the direction of communication, while Mapping and Transport determine how data is transmitted and interpreted. With OTOBO, you can configure web services to perform actions internally, initiate requests on remote systems, manage data conversions between systems, and define the communication protocol.
Access to the Web Services can be found in the Web Services module within the Processes & Automation group. A fresh installation of OTOBO does not contain any pre-configured web services by default. The following documentation illustrates how web services can be created, edited, deleted, cloned, exported, and imported, as well as the use of the debugger tool. For this, please refer to the steps detailed in the official OTOBO administration documentation.
The implementation of web services in OTOBO enables a flexible and dynamic integration of your business processes with numerous external tools and systems. By generating and using these Services, efficiency is increased by reducing manual intervention and shortening response times to client requests. Furthermore, the versatility of the generic interface ensures that OTOBO is almost infinitely extensible and thus fits perfectly into existing IT landscapes.
Regarding the configuration and security of web services, it is important to note that all saved passwords are exported in plain text during an export. The storage and handling of passwords should therefore be treated with special care.
For detailed information on system-internal configuration, such as the configuration options for cache and frontend modules, we recommend consulting the document otobo-system-configuration.txt. This source provides a comprehensive overview of all configuration options.
In an increasingly digitized operating environment, web services offer the possibility to link OTOBO with other systems and services. Ensuring efficient and secure communication therefore means configuring web service settings precisely in advance. The basics of the settings for web services in OTOBO are explained in more detail below to provide you with a more comprehensive guide.
Name*
Description
Remote system
Debug threshold
Validity
Different protocols are available for implementing integration with other systems. Here, the choice of network transport is fundamental:
Network transport
Add operation
Ticket::TicketCreate for creating tickets.A practical example illustrates the value of web services in OTOBO. The Ticket::TicketCreate operation can be set up via the HTTP::REST protocol. The defined routes allow external systems to create tickets in OTOBO using HTTP-POST requests. This realizes new dimensions of automation and integration, which can significantly increase process efficiency and customer satisfaction.
AI-based ticket classification add-ons (such as OpenTicketAI) typically use REST API access configured through web services. See the add-on documentation for required operations and mappings.
Please note that passwords can be exported in plain text when exporting web service settings. It is therefore essential to handle sensitive information in a protected manner and to observe security regulations.
The effective use of web services in OTOBO allows companies to make their workflows smarter and more agile. Through the precise configuration of web service settings, a solid foundation is created that allows OTOBO to be seamlessly integrated into a company’s digital ecosystem. Web service settings and operations in OTOBO
The integration of external systems with OTOBO via web services is an essential component to ensure efficient ticket management. This integration is enabled by the definition of various operations that can perform specific actions within the ticket lifecycle. A significant part of this integration is understanding the necessary attributes for each operation as well as using the XSLT standard for data transmission.
Specific attributes are required for the basic ticket operations in OTOBO. Here are links to the official resources that describe in detail the attributes required for creating, retrieving, updating, searching, and retrieving the history of tickets:
This documentation allows developers to perform adjustments precisely and ensure that all requests contain the necessary information to be processed successfully.
XSLT transformation is a powerful technique for converting incoming data from web service requests into a form that OTOBO can process. By, for example, creating a dynamic field “RemoteTicketID” for tickets, you can efficiently store and further process incoming data:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <Ticket> <DynamicField> <Name>RemoteTicketID</Name> <Value> <xsl:value-of select="incidentID"/> </Value> </DynamicField> </Ticket> </xsl:template></xsl:stylesheet>This example shows how you can transform the value of the incoming incidentID attribute into a ticket dynamic field named RemoteTicketID.
For the implementation of web service procedures as a requester, OTOBO offers the choice between the HTTP::REST and HTTP::SOAP protocols. Here, the choice of network transport is elementary to ensure a proper connection with the external system. After selecting the transport, the configuration must be saved and adjusted according to specific requirements.
Setting up an error handling module is also an important step to guarantee robust communication. OTOBO allows specific modules to be implemented and configured for this purpose.
By providing a versatile, configurable API for web services, OTOBO opens up a world of possibilities for the integration and automation of ticket management processes. By providing precise specifications and using standards like XSLT for data manipulation, OTOBO offers its users a flexible basis for expanding their ticketing systems in line with their specific business requirements.
Whether as a provider or requester, the precise handling of web service settings ensures seamless and efficient communication with external systems and services.
Custom OTOBO workflows & integrations
We build dependable web services, process management automations, and third-party integrations tailored to your IT landscape.
The OTOBO Generic Interface serves as a powerful framework designed to enable seamless data exchange between OTOBO and various external systems. It allows administrators to configure web services using predefined building blocks, eliminating the need for extensive programming knowledge. Its primary purpose is to facilitate automated communication with other applications, such as CRM systems, project management tools, and document management systems. By supporting both REST and SOAP protocols, the Generic Interface ensures OTOBO can react to inbound requests from external services and send requests or data outbound as part of workflows, significantly enhancing process efficiency and integration capabilities within a globally connected IT landscape.
In OTOBO's web services, Operations and Invokers define the direction and nature of communication with external systems. Operations are configured to handle inbound requests to OTOBO. This means when an external system sends a request to OTOBO, an Operation processes that request, often resulting in an action within OTOBO, such as creating a ticket or updating customer information. Conversely, Invokers enable OTOBO to initiate outbound requests to external systems. They allow OTOBO to call external services as part of a workflow or automated process, for example, to update a record in a CRM system after a ticket status changes in OTOBO. Essentially, Operations make OTOBO a receiver, while Invokers make OTOBO an initiator in the communication flow.
Data mapping is a crucial component of OTOBO web services, enabling the transformation of data structures between OTOBO and connected external systems. It ensures that information exchanged between disparate systems is correctly interpreted and formatted, regardless of their native data models. This process involves both request mapping and response mapping. Request mapping translates incoming data from an external system into a format OTOBO can understand and process, for example, converting an external system's customer_id field to OTOBO's CustomerID. Response mapping, on the other hand, transforms OTOBO's internal data into the format expected by the external system for outbound communication. This bidirectional mapping capability is essential for seamless integration, allowing OTOBO to interact effectively with a wide array of CRM, ERP, and other business applications.
Configuring OTOBO web services involves several key settings to ensure proper functionality and integration. These include:
Debug (most detailed) to Error (only error messages).valid (active) or invalid (deactivated). Only valid web services are executed.HTTP::REST and HTTP::SOAP, which dictates how data is transmitted.Ticket::TicketCreate, that the web service can perform.These settings collectively establish the foundation for how OTOBO communicates with and integrates into external IT landscapes.
When configuring OTOBO web services, security is a critical concern, particularly regarding sensitive information. It is crucial to be aware that all saved passwords associated with web services are exported in plain text during an export operation. This means that if web service settings are exported, any credentials stored within them become immediately visible and vulnerable. Therefore, the storage and handling of these passwords must be treated with exceptional care and adhere to strict security regulations. Administrators should employ robust password management practices and consider alternative authentication methods where possible. For comprehensive details on system-internal security configurations, including cache and frontend modules, it is highly recommended to consult the otobo-system-configuration.txt document, which provides an exhaustive overview of all relevant options.
OTOBO web services play a pivotal role in automating ticket creation and integrating with advanced functionalities like AI classification. A prime example is setting up the Ticket::TicketCreate operation via the HTTP::REST protocol. This allows external systems to send HTTP-POST requests to OTOBO, automatically generating new tickets based on predefined routes and data mapping. This significantly boosts process efficiency and customer satisfaction by reducing manual data entry. Furthermore, AI-based ticket classification add-ons, such as OpenTicketAI, typically leverage REST API access configured through OTOBO's web services. These add-ons utilize specific operations and mappings within the web service framework to classify incoming tickets automatically, streamlining workflows and ensuring tickets are routed to the correct departments or agents without human intervention.