What are dynamic intents and how to configure them
Dynamic intents are an advanced AIsuru feature that lets your Agent perform actions in response to specific user requests. This powerful feature lets you connect your Agent to external services, automate processes, and deliver dynamic responses based on real time data.
How a dynamic intent works
A dynamic intent goes through several phases:
The user sends a specific message (the dynamic intent invocation)
AIsuru recognizes the intent and extracts any slot values
AIsuru calls the webhook, passing the intent name and slot values
The webhook processes the request and returns a response
The Agent shows the processed response to the user, without any further processing
How to configure a dynamic intent
To configure a new dynamic intent, follow these steps:
Go to your Agent's management panel in AIsuru
Select "Tools" from the sidebar
Navigate to the "Dynamic intents" tab and press the "New intent" button
Fill in the following fields:
Name: a unique identifier for the intent (no spaces)
Invocations: the phrases that will trigger this intent
Webhook: the URL of the external service to call
Validity: specifies how long to cache the response
Select the "Call when inactive" option if you want the intent to be triggered during user inactivity:
If selected, this intent will be called when the user is inactive
Can be used to notify service statuses or provide personalized suggestions based on background actions
In this case, the invocation text will be empty
Save the intent
Remember to configure slots if needed
Benefits of dynamic intents
Integration with external services: easily connect the Agent to external APIs and databases
Real-time responses: provide up-to-date information based on current data
Automation: execute specific actions in response to certain requests
Personalization: create tailored, contextual user experiences
Flexibility: easily adapt the Agent to new features and use cases
Usage examples
Dynamic intents can be used in various scenarios, such as:
Retrieving real time weather information
Making reservations in an external system
Checking the status of an order or shipment
Providing updated stock quotes
Interacting with home automation systems
Once configured, your Agent will use this intent whenever it recognizes one of the invocation phrases in a conversation, letting you create more dynamic and powerful interactions.
Last updated