In Copilot Studio(Formerly PVA), how to retrieve chat history in a chat bot

Muralikrishnan Ramanathan 10 Reputation points
2024-03-28T09:44:28.0266667+00:00

I have developed a chat bot in Copilot Studio.

But it does not give the logged in user's previous chat history.

How to fetch the chat history of the user every time the user logs in

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,653 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,442 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Andrew Geddes 746 Reputation points
    2024-04-16T17:24:00.1966667+00:00

    Hey Muralikrishnan,

    I believe what you're asking for is transcripts organized by user? This isn't available out of the box from what I can find, however extracting, doing some transformation and leveraging Power BI will potentially give you what you are asking about. Please ensure you've reviewed the Learn articles on analytics, transcripts and such. Do some hard thought on if you really need to build this, as the copilot platform changes by the hour, and deeper insights are likely something we can expect.

    https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-overview
    https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-sessions
    https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-sessions-transcripts


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.