Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Integrating Power virtual agent with external system: How to Create Chats from External Systems?

Like (0) ShareShare
ReportReport
Posted on 31 Aug 2023 09:40:13 by 2

We have a specific use case where we need to integrate an external bot with PVA to create chats on behalf of users for agent transfer and receive agents' messages(including media messages).
The goal of this integration is to leverage Dynamic 365 APIs for agent transfer exclusively while managing chat interactions externally. Any insights, guidance, or code examples on how to achieve this chat creation and agent message reception through APIs would be helpful.

Basically, we are looking for APIs

1. Which external system can be utilised to create chats on behalf of users for agent transfer and make chat sessions with agents?
2. How to exchange messages with PVA send messages to agents using apis?
3. APIs to send user typing event/message to PVA?
4. How to receive agent typing events or messages from PVA

Categories:
  • HenryJammes Profile Picture
    on 31 Aug 2023 at 10:35:37
    Re: Integrating Power virtual agent with external system: How to Create Chats from External Systems?

    I see. If you're not using Power Virtual Agents, I suggest you post the question on the Dynamics 365 community: Customer Service forum (dynamics.com)

    From the documentation, you can integrate Azure bots and PVA bots with Dynamics 365 Omnichannel Customer Service: Overview of bots | Microsoft Learn

  • abhishekYellow1 Profile Picture
    2 on 31 Aug 2023 at 09:58:37
    Re: Integrating Power virtual agent with external system: How to Create Chats from External Systems?

    Hello @HenryJammes 

    Appreciate your response. We are currently using a third-party AI bot that uses AI to address customer inquiries. In instances where the bot is unable to address a user's query effectively, I want to transfer these chat sessions to Dynamics 365 customer service. This transition would enable the agents stationed there to provide assistance to the customer.

    Are there any APIs available that our third-party bot could utilize to initiate chat sessions and engage with agents from the third-party bot's standpoint? 
    As far as I know, the native agent handoff functionality is accessible solely for the channels within D365, and not intended for external bots. Could you kindly provide some insights into APIs that can be invoked by a third-party bot to establish a connection with agents on D365? 

    Thank you

  • HenryJammes Profile Picture
    on 31 Aug 2023 at 09:45:21
    Re: Integrating Power virtual agent with external system: How to Create Chats from External Systems?

    Hi @abhishekYellow1,

     

    If you're using Dynamics 365 Omnichannel for Customer Service, agent hand off is natively available: Configure hand-off to Dynamics 365 Customer Service - Power Virtual Agents | Microsoft Learn

     

    Henry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Ekta Gupta Profile Picture

Ekta Gupta 4

#2
ricardodesouza Profile Picture

ricardodesouza 2

#2
L-1234567-0 Profile Picture

L-1234567-0 2

Overall leaderboard
Loading started