Announcements
I am creating a bot in which I need to know conversation ID of the conversation which can be used to get the transcript of the conversation . How do I get conversation ID.
Not sure what you mean, the conversation ID is available in a system variable if needed
Thanks @HenryJammes by the way, do you have any ideas to check a specific conversation? The conversation transcript id seems to be unique, but we cannot capture it in PVA
Yes, this is expected for conversations happening over the Teams channel.
They can exist across multiple records in Dataverse.
Hi @HenryJammes , for option1, The conversation ID does not seem to be a property that identifies different conversations. We'd like to build a report that analyzes conversation history by conversation. However, we found that the name in the Dataverse (conversation ID in PVA) is not unique. The scenario is that if the bot is not helpful, we will record a conversation ID and then link to the Conversation details through that ID .
Screenshot in Dataverse (ConversationTranscrips): the same conversation ID (Name) maps multiple sessions
Hi @postimerkk1
Yes, that's correct.
By the way, as a user, you can also obtain the Conversation ID by typing "/debug conversationid" in the chat.
Thanks for resurfacing this! Just to confirm, for option 2, the id will then still need to be parsed from the output i.e. |00000000 is not part of the id, correct?
Resurfacing this thread to suggest 2 workarounds:
For chatbots created in the new authoring canvas, you can get the conversation id directly from the system variables:
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: =turn.activity.conversation.id (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:
No, I am yet to find solution for it. for me it need transcript of the conversation and also need to add additional information in the dynamic entity which stores the information.
@mselvadevi did you manage to figure out how to do this ? In the absence of global variables I need a unique ID for the conversation.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.