Replace AI-powered chatbot with a Power Virtual Agents bot

[This topic is pre-release documentation and is subject to change.]

This article offers a comprehensive, step-by-step guide for updating default Power Pages AI chatbot with Power Virtual Agents bot.

Prerequisites

  • You must have a bot created in Power Virtual Agent.

  • Your AI chatbot must be created and published in the site where you're updating the Power Virtual Agents bot.

Copy the bot schema name

  1. Sign in to Power Virtual Agents.

  2. Select the bot, which needs to be updated.

  3. Navigate to Copilot details under Settings.

  4. Select Advanced tab.

  5. Copy the Schema name.

    A screenshot of Copilot Studio with the Bot details page open and the Schema name field emphasized.

Verify Data model version

AI chatbot can be enabled for both Standard and Enhanced site data model. The steps to replace it vary based on the data model. Make sure you're following the right steps based on the data model.

  1. Go to the Set up workspace.

  2. Select Site details.

  3. Verify the Data Model version. You can choose Standard or Enhanced.

Update the bot in Standard data model site

  1. Go to the Data workspace.

  2. Search for and select the Bot consumer table.

  3. Locate the row with selected website name.

  4. Replace the Bot Schema Name column value with new bot schema name you copied earlier.

Update the bot in Enhanced data model

  1. Go to the Data workspace.

  2. Search for and select the Site Component table.

  3. Find the Component Type column and select the filter icon next to it.

  4. Filter records by Bot Consumer option.

  5. Locate the row with selected website name in the Power Pages Site id column.

  6. Choose Edit row using form.

  7. Replace botschemaname json value with the new bot schema name you copied earlier.

    A screenshot of the General options for Bot Consumer with the botschemaname json value emphasized.

  8. Choose Save & Close.