Start a New Bot

This page provides the essential tasks required to set up a new bot in CXone Bot Builder. This is the second step in the bot implementation process.

In addition to creating a new bot in Bot Builder, setting up your bot requires configuring CXone to route contacts to the bot. These configurations are:

These configurations work together to route contacts to your bot, as shown in the following image: 

In the preceding image, you can see that the routing of contacts to your bot follows the same flow as the routing of contacts to human agents. CXone uses the relevant point of contact and its default ACD skill or Studio script to route to the agent, whether it's a bot or a human.

Complete each of these tasks in the order given.

Create a CXone Employee Account for the Bot

Required permission Admin > Employees Create

Creating an employee profile for the bot is the first step in creating a bot. Follow these best practices when creating your bot employee profile:

  • Don't use a real agent name for your bot. If you use a human-sounding name, choose one that's unlikely to belong to a real person.
  • Don't use the same employee profile for more than one bot. Each bot should have its own unique profile for routing and reporting purposes.
  • Do use the same name for the bot and the bot's employee profile. This keeps things simple when you're managing multiple bots.
  • Do use an email address you have access to. This allows you to receive and respond to the invitation to CXone. You can use the same email address for multiple bot employee profiles.
  1. In CXone, click the app selector and select Admin.
  2. Click Employees.

  3. Click Create Employee.
  4. Enter a First Name and a Last Name. This should be the same name you plan to give your bot. It should be a human-sounding name, but not the name of a real agent. For example, John Bot.
  5. Enter a working Email Address that you have access to. You must be able to respond to the invitation that CXone sends.
  6. Enter a Username in the format of an email address. For example, john.bot@classics.com.
  7. On the General tab, use the Attributes drop-down to select Digital Engagement.

    Your bot also needs the Virtual Agent Enabled attribute. However, do not add it now. Wait until you have assigned the employee profile to the bot in Bot Builder. If you add this attribute before assigning the profile, you won't be able to assign the profile to the bot.

  8. Leave all other settings at their default values and click Create & Invite.
  9. When the invitation email arrives at the email address you entered, click the link to accept and follow the on-screen prompts. You must activate the employee profile or will not sync to Digital Experience. The invitation expires after 48 hours. If that happens, you can send another invitation.

Set Up a Bot in Bot Builder

You can create a new bot from scratch, or you can duplicate or import an existing bot to Bot Builder. After you create or import the bot, you must assign the employee profile you created to the bot.

Create a New Bot

  1. Log in to CXone with your own account.
  2. Click the app selector and select Bot Builder.
  3. Click Create Bot.

  4. Enter a Name and click Continue.

  5. Select the initial bot skills you want the bot to have, then click Create the Bot. Or you can click Create the Bot add skills later from the Skill Store.

  6. It may take several minutes for the setup to complete. You can wait or click Enter the Bot to explore the CXone Bot Builder interface while setup completes.
  7. Once the bot is created, go to Preferences icon, represented by a gear > Settings > Bot Body.
  8. Select the CXone employee profile you specifically created for the bot. Click Connect.

Duplicate a Bot

  1. Log in to CXone with your own account.
  2. Create a CXone employee profile for the new bot. If you're duplicating a bot only to have a backup, you don't need an employee profile.
  3. In CXone, click the app selector and select CXone Bot Builder.
  4. Click the bot you want to duplicate.

  5. Click Preferences icon, which looks like a gear. in the left icon menu.
  6. On the General tab, click Duplicate.

  7. Enter a name for the new bot and click Confirm.
  8. Click the Open link in the success message that appears at the top of the page. If you don't see this message, you can open the duplicated bot from the main Bot Builder page. Click the robot head Icon of a robot head. in the top left corner of the page to return to the main page.
  9. It may take several minutes for the setup to complete. You can wait or click Enter the Bot to explore the CXone Bot Builder interface.
  10. If you created an employee profile for this bot, go to Preferencesicon, represented by a gear > Settings > Bot Body in Bot Builder.
  11. Select a the bot's CXone employee profile, then click Connect.

Import a Bot

The file you import must have the YAML or YML extension. If you haven't exported a bot file yet, do so before completing these steps.

  1. Log in to CXone with your own account.
  2. Create a CXone employee profile for the imported bot.
  3. In CXone, click the app selector and select Bot Builder.
  4. Click Import Bot.

  5. Enter a name for the bot, then drag-and-drop or click Browse Files to bring your YAML or YML bot file into CXoneBot Builder. Click Import Bot.

  6. It may take several minutes for the setup to complete. You can wait or click Enter the Bot to explore the CXone Bot Builder interface.
  7. Once the bot is created, go to Preferences icon, represented by a gear > Settings > Bot Body.
  8. Select a user from the drop-down. You should pick the user you specifically created for the bot. Click Connect.

Assign Bot's Employee Profile to ACD Skills

Required Permissions: Intelligent Routing Settings On

CXone considers Bot Builder botsClosed A software application that handles customer interactions in place of a live human agent. to be users. In order for your bot to receive contactsClosed The person interacting with an agent, IVR, or bot in your contact center., it needs to be assigned ACD skillsClosed Used to automate delivery of interactions based on agent skills, abilities, and knowledge, just like a human agent would.

Follow the steps to add skills to a user or add users to a skill. Use the CXone employee profile you created for the bot. You should not assign more than one bot to a routing skill, but each bot can be assigned to multiple skills.

Assign ACD Skills to a Point of Contact

Required Permissions: Intelligent Routing Settings On

If you haven't already, create a point of contactClosed The entry point that an inbound contact uses to initiate an interaction, such as a phone number or email address. (POC) for the digital channel you're using with your Bot Builder bot. For the default skill in the POC, configure it to use the ACD skill you assigned to the bot's employee profile. Information about creating POCs is available on the help page for the specific digital channel you're using.

Ensure that the Studio script assigned to the POC appropriately routes contacts. For example, if you want to use your Bot Builder bot as an overflow agent during peak hours, you must have script logic to define the conditions for when contacts are routed to the bot and when they're routed to human agents. The Reqagent actions that route to your bot should be configured with the appropriate digital ACD skill.