Skip to content

Bot Agents

Administrators creates bot agents for users using the bot agent builder, significantly improving overall efficiency. Workflows designed on the AI for Service Platform integrate seamlessly, allowing actions to execute directly when a workflow triggers, eliminating the need for other platforms.

For complex workflows involving multiple system integrations and logic, users build bots using the AI for Service Platform. Users trigger these bots through conversations using the UI or NLP intent, streamlining the entire process.

For example, consider a Fund Transfer Bot Agent. By creating this bot on the AI for Service Platform, automate fund transfers to clients' designated accounts, capturing key details such as client names, account information, and transfer amounts. Once integrated with your organization's systems, the bot allows seamless conversational interactions, simplifying fund transfer operations.

Create a new agent or import an existing one.

Import existing Bot Agent

To import an existing Bot Agent:

  1. Click the Import Agent button located in the upper-right corner. Admin Console

  2. Select the .ZIP file of the existing agent. Admin Console

  3. Click Import to complete the process. The imported agent appears on the Bot Agents page.

Create a Bot Agent

Create a new Bot agent to assist users in completing various tasks by utilizing the Bot created using the AI for Service Platform. Learn more.

To create a new Bot Agent, follow these steps:

  1. In the Admin Console, click AI Agents from the left pane, and then select Bot Agents. Displays a list of available bot agents. Admin Console

  2. On the Bot Agents page, click +Create Agent. Admin Console

  3. You must link your Bot built on the AI for Service Platform with AI for Work and create a webhook channel. Learn more.

To create a webhook channel on the Bot and complete the integration process, follow these steps:

  1. Log in to the AI for Service Platform. Open the virtual assistant or bot you want to add the channels to. Navigate to Deploy > Channels > Add More > Webhook. Admin Console

  2. Select your required app from the Webhook dialog. Admin Console

  3. Copy the Bot client ID and Bot secret ID to use in the AI for Work platform to complete the integration. Admin Console

  4. Under the Configured Channels section, click the <Name of the Bot> you have created and want to integrate with AI for Work, enables the channel.

Note

Create a new client app for your app by providing the JWT tokens generated using the Post URL and Access tokens available in the Add bot agents dialog in the Add Bot section.

The Prompt Agent creation wizard will take you through the following steps:

Step 1: Details and Purpose

Provide a suitable and unique name for the agent and describe its purpose. Defining the agent's purpose enables it to accurately recognize its capabilities and effectively utilize them to respond to user queries aligned with the specified intent. Clearly outline the specific use cases for which you designed the agent. Admin Console

Step 2: Add Bot

The Add Bot feature enables seamless integration of a bot created on the platform with your system. To establish this connection, ensure you enable the webhook channel on the bot. Once activated, follow the integration steps to complete the process:

  1. In the Add Bot enter the following:

    a. Post URL: Populates the field with the necessary endpoint.

    b. Access Token: Populates the field with the necessary endpoint.

    c. Webhook URL: Enter the URL from the Bot Webhook dialog. For detailed information about webhooks, Learn more. Admin Console

    d. Bot client ID : Enter the client identifier retrieved from the Bot Webhook dialog.

    e. Bot secret ID: Enter the secret identifier retrieved from the Bot Webhook dialog.

  2. Click Connect account to move to the next step.

Step 3: Appearance and Behavior

The Appearance and Behavior section displays sample queries to test the agent’s behavior.

  1. Click +Add Query to input additional test queries.
  2. Enable Allow End User Notification toggle to enable notification configuration and agent trigger setup, For detailed instructions, refer Notifications.
  3. Enable Clear End-User Chat History toggle to automatically delete the agent's chat history for end users after a specified period.
  4. Once validated, click Publish to move to the final step.

Step 4: Publish

Publish your agent and define access permissions and enablement.

Specify publishing details:

  • Publish To: Define access permissions:
    • Everyone in the Account: Make the agent available to all users.
    • Limited Users: Grant access to specific workspace users or groups added in publish settings of workspace.
  • Enablement Type: Configure how users interact with the agent:
    • Always Enabled: The agent remains active and cannot be disabled.
    • Users Choice: Users enable or disable the agent as needed.

Note

The publishing options are defined in the Workspace settings. For additional information, Workspace.

View this agent in the Agents list on the Agents page.

Note

On the Agents list page, click the three dots icon corresponding to the agent's name and publish the agent later if necessary.

User Interaction

Interacting with the bot agent simplifies communication and task execution. Users initiate a conversation by typing a command. The bot responds promptly, guiding users through the required steps. For example, if performing a task like a fund transfer, users simply need to engage with the bot by providing key details such as the client's name, account information, and transfer amount. Once you complete the task, the bot provides a confirmation or status update.

Admin Console

Admin Console

Note

  • See Alert that allows developers to integrate conversation hold and resume functionality within AI for Service Bots.
  • See Notify that allows developers to send interactive notifications to the users.