Use Slots in Mpower Agent Responses

Use Slots as Variables in Mpower Agent Responses

You use slots as variables in Mpower AgentClosed A virtual agent created with CXone Mpower Agent Builder that can handle voice or chat interactions. responses in your dialoguesClosed Mpower Agent stories, rules, and flows in Agent Builder. . When the Mpower Agent shows the response to the contact, it replaces the variable with the slot's value.

You can use slots as variables in any response action that you can add your own text to.

  1. In CXone Mpower, click the app selector and select Agent Builder.

  2. Click the Mpower Agent you want to work with.
  3. Click Dialogues icon, which looks like conversation bubbles. in the left icon menu.
  4. On the Stories, Rules, or Fallback tab, click the dialogue you want to work with.

  5. Locate the Mpower Agent action you want to add a slot variable to, or add a new Mpower Agent action.
  6. Click in the field in the Mpower Agent action where you want to add the slot variable and add any other text that you want to be in the response.
  7. Type an open curly bracket ( { ). A list of available slots appears in a drop-down menu. You can continue typing the slot name or select a slot from the list. Add a closing curly bracket after the name ( } ).

    In the following image, two slots are used as variables in the note displayed for the live agent when the Mpower Agent hands an interaction over. When the live agent views the interaction, they might see a message such as "Winnie Le Pooh needs human help. They want to know their account balance."

  8. When you're finished making changes, click Train and Stage to update your Mpower Agent modelClosed Version of a bot that has been trained and staged to test this change.

Use Slots as Conditions in Mpower Agent Responses

You can use slots as conditions in Mpower Agent responses. This allows you to have the Mpower Agent make decisions based on criteria that occur during the interaction, such as something the contact says.

You can also use slots as conditions to define when the Mpower Agent should follow a certain ruleClosed Used to define an Mpower Agent's response to messages that don't change with context..

  1. In CXone Mpower, click the app selector and select Agent Builder.

  2. Click the Mpower Agent you want to work with.
  3. Click Dialogues icon, which looks like conversation bubbles. in the left icon menu.
  4. On the Stories, Rules, or Fallback tab, click the dialogue you want to work with.

  5. Hover the cursor over the plus sign + on the left until it changes to a robot icon A square with rounded corners and a robot head inside. and the Mpower Agent actions menu appears.
  6. Click Slot Condition.

  7. Select the name of the Slot that you want to use as a condition in this ruleClosed Used to define an Mpower Agent's response to messages that don't change with context., storyClosed Used to train an Mpower Agent for interaction handling based on intent and context., or fallbackClosed A plain text alternative sent when the destination doesn't support rich media..

  8. Enter the Value that the slot must contain for the Mpower Agent to follow the path described in this dialogue.

  9. Add one or more Mpower Agent actions to define what you want your Mpower Agent to do when the specified slot's value equals the Value you defined.

  10. Click Train and Stage to train Mpower Agents on the updated story, rule, or fallback.