Push messages to Microsoft Team via Power Virtual Agents

 


Did you know that it’s possible to have your chatbot in Microsoft Teams send a message to a user proactively? That means, rather than waiting for the user to chat to the bot, the bot can be the first one to message them. Proactive chatbots have several useful business applications, chief among them is that they can anticipate customer needs and improve customer satisfaction. In this blog, I’ll show you how to create a proactive chatbot using Power Virtual Agents and Power Automate.

Did you know that it’s possible to have your chatbot in Microsoft Teams send a message to a user proactively? That means, rather than waiting for the user to chat to the bot, the bot can be the first one to message them. Proactive chatbots have several useful business applications, chief among them is that they can anticipate customer needs and improve customer satisfaction. In this blog, I’ll show you how to create a proactive chatbot using Power Virtual Agents and Power Automate.

This is the flow that I used for the example above. It is based on the Dataverse trigger: When a row is modified. You can use any trigger you like in order to send the proactive message. Your flow will need to include the Microsoft Teams action: Post message in a chat or channel.

Make sure to set the following:

  • Post as: Power Virtual Agents
  • Post In: Chat with bot
  • Bot: Select the bot who should send the message

If you are using Dataverse, you may want to send the message to the person who is the owner of the row/record. You can add their email address in the Recipient field of the Teams action as dynamic content. In this example, the message is sent back to the user who initially submitted the IT support request, which is stored in Dataverse. To get their email address, you can use the Dataverse ‘Get a row by ID’ action and connect it to the Users table.

Prometix as a Microsoft Gold certified partner and certified O365 consultants (Sydney, Canberra, Melbourne & Perth), we have extensive experience in delivering Office 365 based solutions. We have also developed toolset that will migrate records from your legacy system to SharePoint without losing the digital continuity. For more information, please contact us from enquiries@prometix.com.au


Comments

Popular posts from this blog

Microsoft Teams is the home for the modern workplace of the future

Data Governance with Azure Purview

Collaboration with SharePoint VS MS Teams