< All Topics

AI Functions

In Botamation, AI triggers utilize AI and Natural Language Processing (NLP) to interpret user messages, enabling the bot to take appropriate actions based on the detected intent, entities, or keywords.

Keyword Recognition

  • Function: Detects specific words or phrases in user messages.
  • Use Case: Triggers predefined responses or chatbot flows when certain keywords are identified.

How to create a AI Functions

Navigate to AI Smart Suite > AI Tools > AI Functions

On the AI Function page, click the Add Button

Below are some examples of AI Functions.

Name: book_registration
What does this trigger do?:
Allows the user to book a trip
What data to collect?:
Name , Phone, Email , Address, Booking Date , No of Persons
What flow is triggered
After collecting the user’s details, the connected flow will be triggered.

Enabling/Using AI Function

After you create your AI Function, enable it on the AI action or AI Agent

Important notes

Your prompt can influence how your AI function operates. For instance, during our tests, we observed that the AI sometimes attempts to automatically fill in parameters if the user does not provide them. For example, if you have a restaurant reservation trigger, you could include in your prompt, “It is crucial to ask the user for the date and number of guests when making a reservation.”