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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA Conversation ID va...
Copilot Studio
Unanswered

PVA Conversation ID variable returns unrecognized GUID format when using chat widget.

(0) ShareShare
ReportReport
Posted on by 6

Hi all, I have a Power Automate flow that creates a case when a customer wants to escalate a virtual agent conversation and human agents are offline. I intended to use the conversationid system variable to link the conversation to the new case so the agent is able to view the transcript from the case timeline. The problem is that the correct conversation id is only returned when testing the bot from the authoring canvas. When embedding the chat widget in an external website or using the chat test from the contact center in the Customer Service - Admin Center the conversation id variable returns an unrecognised GUID (example: 19:hBBaYC57iyQ5ilflp-4Wf3hF6EX37PqUdTUDcmvBzsg1@thread.v2), the flow obviously fails as this is not the GUID of the conversation record. Can anyone help me to understand why this is happening and if I can return the correct conversation id.

Categories:
I have the same question (0)
  • Umianta Profile Picture
    290 on at

    Hi @ahigham 

    Regardless of the channel used, the ConversationID should remain consistent. Can you verify if you are transferring the following system variable from Copilot Studio to Flow?

    Umianta_0-1714256882159.png

     

    If this was helpful:
    Please mark it as a solution
    Give me a thumbs-up
    Connect on LinkedIn
    I consistently upload technical videos. If you're interested, please visit and subscribe to my YouTube Channel
    Always glad to help, Umesh Khandelwal!

     

     

  • ahigham Profile Picture
    6 on at

    Hi, thanks for responding. Yes, I am using the standard conversation.id variable that you have attached. My flow takes two inputs from CoPilot one being that conversation.id but only returns a recognisable GUID when the conversation is triggered from the authoring canvas. I am not sure what to do!

  • Umianta Profile Picture
    290 on at

    Hi @ahigham 

    I  reproduced the issue you're facing. Here's what I found when I integrated the Chatbot into Power Apps and attempted to display the conversation ID as a response.

    Umianta_0-1714261072945.png

    This behavior seems to indicate a bug within Copilot Studio.

     

    If this was helpful:
    Please mark it as a solution
    Give me a thumbs-up
    Connect on LinkedIn
    I consistently upload technical videos. If you're interested, please visit and subscribe to my YouTube Channel
    Always glad to help, Umesh Khandelwal!

     

  • Umianta Profile Picture
    290 on at

    I conducted further research on this matter and observed that the same unrecognized ID is also being stored in the ConversationTranscript Dataverse table. See the example below. 

    Umianta_0-1714263344840.png

    Therefore, this might be by design. My suggestion would be to handle the conversation ID as a string type instead of a GUID in the flow.

    If this was helpful:
    Please mark it as a solution
    Give me a thumbs-up
    Connect on LinkedIn
    I consistently upload technical videos. If you're interested, please visit and subscribe to my YouTube Channel
    Always glad to help, Umesh Khandelwal!

  • adilei Profile Picture
    Microsoft Employee on at

    How do intend to hand-over to a live agent? Are you planning to use Dynamics 365 Omnichannel? A custom integration? 

  • ahigham Profile Picture
    6 on at

    Hi, I am using D365 Omnichannel. During working hours we will handover the conversation using that standard functionality, this works fine as it is the conversation itself that is being passed on but outside of working hours CoPilot Studio is calling a flow that creates a case. The requirement is to use the conversationid variable to link the conversation to the case so the agents can use the timeline and see the transcript however this fails as the correct conversation id is not being returned by the variable. Is this unrecognised conversation id by design?

  • ahigham Profile Picture
    6 on at

    Thank you very much for spending time on this! I too found the unrecognised id in the transcript table however the table does not contain a link to the conversation and transcripts are created after the conversation closes so they are not the answer to my issue. 

     

    I am using the conversation id as a string. If you can think of any kind of solution I would be truly grateful but either way I appreciate your time, I would never have thought to look at the transcript table! 

  • Umianta Profile Picture
    290 on at

    Hi @ahigham 

    An alternative approach to accomplish this is by storing all user and bot messages within a global variable. For user messages, you can utilize the "message received" trigger event. However, for bot messages, since there's no direct equivalent trigger, you'll have to update the variable within each topic after a bot message is sent.

    Afterward, you can transfer this global variable to the flow.

    If this was helpful:
    Please mark it as a solution
    Give me a thumbs-up
    Connect on LinkedIn
    I consistently upload technical videos. If you're interested, please visit and subscribe to my YouTube Channel
    Always glad to help, Umesh Khandelwal!

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 306

#2
11manish Profile Picture

11manish 174

#3
chiaraalina Profile Picture

chiaraalina 102 Super User 2026 Season 1

Last 30 days Overall leaderboard