With Power Virtual Agents, you can publish bots to engage with your customers on multiple platforms or channels. These include live websites, mobile apps, and messaging platforms like Microsoft Teams and Facebook.
After you've published at least once, you can connect your bot to more channels.
Each time you want to update your bot, you publish it again from within the Power Virtual Agents app itself. Publishing your bot will update the bot across all the channels where you've inserted or connected your bot.
This topic contains Power Virtual Agents preview documentation and is subject to change.
Preview features aren't meant for production use and may have restricted functionality. These features are available before an official release so that you can get early access and provide feedback.
You need to publish your bot before your customers can engage with it. You can publish your bot on multiple platforms, or channels.
After you've published your bot to at least one channel, you can connect it to more channels. Remember to publish your bot again after you make any changes to it. Publishing your bot updates it across all the channels it's connected to. If you don't, your customers won't be engaging with the latest content.
Publish the latest bot content
With your bot open for editing, in the navigation menu, select Publish.
Select Publish, and then confirm.
Publishing can take up to a few minutes.
Test your bot
Test your bot after it's published. Select the demo website link to open a prebuilt website in a new browser tab, where you and your teammates can interact with the bot. The demo website is also useful to gather feedback from stakeholders before you roll your bot out to customers. Learn how to configure the demo website and add the bot to your live website.
Tip
What's the difference between the test chat and the demo website?
Use the test chat (the Test bot pane) while you're building your bot to make sure conversation flows as you expect and to spot errors.
Share the demo website URL with members of your team or other stakeholders to try out the bot. The demo website isn't intended for production use. You shouldn't share the URL with customers.
Publish the latest bot content
You need to publish the bot at least once before your customers can interact with it or before you can share it with your teammates. After the first publish, you can publish the bot again whenever you'd like your customers to engage with the latest bot content.
In the navigation menu, select the Publish tab.
Select Publish to make the latest bot content available to your customers.
The publishing process will take less than a few minutes as it checks for errors in the latest bot content.
After publishing completes, select the demo website link. The link will open a new tab and display a prebuilt demo website where you and your team can interact with the bot. The demo website is useful to gather feedback from stakeholders involved in the bot.
What's the difference between the test chat and the demo website?
On the demo website, you can share a URL with members of your team, or other stakeholders who want to try out the bot. However, the website isn't intended for production use, and you shouldn't use it directly with customers.
You can use the test chat to see whether conversation flows as expected, and to spot any errors during the bot creation process.
Configure channels
After publishing your bot at least once, you can add channels to make the bot reachable by your customers.
To configure channels:
Select Settings.
In the navigation menu, select the Channels tab.
The connection steps are different for each channel. See the related article in the list below more information:
Different channels have different end-user experiences. The following table shows a high-level overview of the experiences for each channel. Take the channel experiences into account when optimizing your bot content for specific channels.
Supported for Microsoft Teams, Chat, Facebook, and text-only channels (SMS via TeleSign and Twilio, WhatsApp, WeChat, and Twitter).Suggested actions will be presented as a text-only list; users will need to retype an option to respond
Important
Users can't send attachments to Power Virtual Agents chatbots. If they try to upload a file (including media, such as images), the bot will say:
Looks like you tried to send an attachment. Currently, I can only process text. Please try sending your message again without the attachment.
This applies to all channels, even if the channel or end-user-facing experience supports attachments (for example, if you're using the Direct Line API or Microsoft Teams).
Attachments can be supported if the message is sent to a skill, where the skill bot supports the processing of attachments. For more information, see the Use Microsoft Bot Framework skills topic for more details on skills.
Add your bot to Azure Bot Service channels (developer coding required).
Once you're satisfied with your bot's content and quality, you can publish your bot to allow users to engage with your bot. You must publish your bot at least once for the user to chat with the bot in Microsoft Teams.
Each time you want to update your bot's content, you publish it again from within the Power Virtual Agents app in Microsoft Teams. This will update the bot's content with the latest changes you have made.
Publish the latest bot content
You need to publish the bot at least once before you can share it with your teammates.
After the first publish, you can do subsequent publishes whenever you would like your customers to see the latest bot content.
In the navigation menu, select Publish.
Select Publish to make the latest bot content available to your customers.
The publishing process will check for errors in the latest bot content.
When publication is successful, you can make the bot available to users in Microsoft Teams with the installation link or from various places in the Microsoft Teams app store. You can share your bot later by selecting Make bot available to others from the Publish page.
You can also install the bot for your own use in Microsoft Teams by selecting Open the bot.
Tip
To prevent disrupting users who are having an existing conversation with the bot, they will not receive the latest published content until a new conversation has started. A new conversation starts after it has been idle for more than 30 minutes.
You may want to try out the latest published content in Microsoft Teams right away. You can do so by typing start over in an existing conversation. This will restart the conversation with the latest content you have published.
Known limitations
Customer satisfaction survey is a text-only version in Microsoft Teams instead of an adaptive card.
Microsoft Teams can only render up to six suggested actions for user in one question node.
A user can't send or upload attachments to the chat. If they try to send an attachment, the bot will reply with Looks like you tried to send an attachment. Currently, I can only process text. Please try sending your message again without the attachment.
This applies to all channels, even if the channel or end-user-facing experience supports attachments (for example, if you're using the Direct Line API or Microsoft Teams).
Attachments can be supported if the message is sent to a skill, where the skill bot supports the processing of attachments.