Skip to main content

Notifications

Copilot Studio - General
Unanswered

Access the Chat History inside Copilot Studio

Like (1) ShareShare
ReportReport
Posted on 4 Oct 2024 13:12:54 by 2
Hello Team,

I am currently working on a Copilot Studio project for an enterprise chatbot and have encountered an issue regarding the ChatHistory functionality. We are unable to retrieve the ChatHistory within Copilot and need to send this information to PromptFlow so that OpenAI can interpret the user's context appropriately.

We are using a topic trigger for MessageReceived from the user, allowing us to store the user's message in a global variable. However, we are struggling to find a method to capture and store the chatbot's responses.

Could you advise on how we might resolve this and properly manage the ChatHistory in Copilot Studio?
Categories:
  • Suggested answer
    Vinoth Selvam Profile Picture
    Vinoth Selvam 1,289 on 06 Oct 2024 at 16:33:15
    Access the Chat History inside Copilot Studio
     
    Like user responses, i believe you can also capture the bot response in a variable. You can see the option available under datasources.
     
     
    But Yes, we need to have the logic complex so as it should capture every Bot response and store it in a Array variable. Which means you have to add the Global array logic in each and every topic.
     
     
     
    Thanks.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,238

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,290

Leaderboard
Loading started