web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Integrating Power virt...
Copilot Studio
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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:
I have the same question (0)
  • HenryJammes Profile Picture
    on at

    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

  • abhishekYellow1 Profile Picture
    2 on at

    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 at

    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard