Trigger your AI Agent
After completing the configuration of the AI Agent (Indexing, Preprocessing, and Response Generation), navigate to the "
Deployments
" section and click on the "Deploy
" button to start a new deployment.Select “
Add a Trigger
” option available.Select an application which you would like to use to trigger the agent. For example, we want to use a certain activity on slack to be our trigger.
Select the available action as trigger. For Slack, select "
Slack Trigger on Every New Message
".Select the connection you have authenticated for Slack, or create a new connection if needed.
Click on “
Next
” and proceed to save the trigger.After saving the trigger, you have to select a channel where you would like your agent to be deployed. For example, we’ve chosen Gmail here.
Select an action available for the application selected. ( send an email for our example ).
Choose an existing connection or create a new connection by authenticating Gmail and click on save.
Click on save deployment to save the deployment.
Click on the toggle to activate the set deployment.
The trigger is successfully created to deploy an agent.