Skip to main content



No record found.

Power Platform Community / Forums / General / Getting the Conversati...

Getting the Conversation ID value from PVA to Power Automate

Posted on by 2

Hello everyone,


Quick question, is there a way to get the Conversation ID value of each chat session from PVA into Power Automate to then create Queries, uniquely label customer reviews etc?


I'm sorry if this has been asked before, I couldn't find any similar questions.

  • Getting the Conversation ID value from PVA to Power Automate


    Key here is user authentication because without that it will not be possible to read the users last conversation data.

    Also, I beleive conversation history stores data upto a Month only, so the user has to have made their last interaction with the bot within that timespan.

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: Getting the Conversation ID value from PVA to Power Automate

    Resurfacing this thread to suggest 2 workarounds:

    1) In the new PVA unified authoring canvas (currently in public preview)

    For chatbots created in the new authoring canvas, you can get the conversation id directly from the system variables:


    2) In the production version of PVA, using Bot Framework Composer

    Open the PVA bot with Bot Framework Composer:


    Create a new dialog (e.g. GetConversationId)


    In the dialog, under "Dialog Interface", add a new Output.
    With a key name, e.g. "conversationId" and of type "string".


    In BeginDialog, add a new node of type "Set a property" (under "Manage properties"), and define it with:

    Property: dialog.result.conversationId

    Value: (even if it's not auto-suggested)



    In Bot Framework Composer, the final step is to publish the bot:



    Back in Power Virtual Agents, in a topic, you can select "Redirect to another topic" and select the "getConversationId" dialog.

    The conversationId variable will be available as an output:



  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Getting the Conversation ID value from PVA to Power Automate

    Hi @Ledius ,


    Unfortunately, not yet.

    You can see a workaround here:

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,954

Expiscornovus Profile Picture

Expiscornovus 1,648