A Webhook is an HTTP callback that can be used to trigger transactions and back office calls to any external systems. It can also determine the flow of Decision Trees, assign values to Variables, and collect additional information about the user and the context.
Occasionally, the Inbenta Chatbot might need additional information to fulfill its tasks. This information can come from different sources:
- the user can provide it in their initial sentence,
- the bot might ask the user for it,
- the bot can retrieve it from back-office transactions, or
- the information might be part of the Chatbot’s execution context.
“Entities” are the detection method that is used to capture the relevant information and store it in a variable. Inbenta supports many detection methods, ranging from simple string matches (with or without a spellcheck) to regular expressions, to complex Natural Language Patterns that allow bot masters to easily capture any relevant piece of information.
For example, it is easy to create an intent like “Purchase Flight” that uses entities: you define variables with DepartureDate, ReturnDate, OriginAirport, DestinationAirport, and link these to Inbenta’s system-defined entities to create the match.
“I need to fly to NYC tomorrow”
“Buy a flight from Barcelona to San Francisco on 4/2”
“Buy a ticket to Berlin”
All these queries will match the appropriate intent. If entities are missing, the Inbenta Chatbot will ask for the necessary variable values interactively.
You can also use Webhooks to assign values to variables and entities. The Inbenta Chatbot is an extremely flexible tool that can adapt to any use case.