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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Clear chat history for...
Copilot Studio
Suggested Answer

Clear chat history for fresh chat

(0) ShareShare
ReportReport
Posted on by 43

Hi everyone,

I hope you're all doing well! We've recently created a copilot agent and have a query regarding its functionality. Currently, the bot is integrated with Teams, and while it's great to have a history of the questions asked, we were wondering if it's possible to clear the chat once the user doesn't have any more questions or wants to start a new question/topic. At the moment, there's no icon or button that allows the user to refresh and have a fresh start.

We believe it would be beneficial to tailor the experience for users who prefer a clean start when asking another question. Any insights or suggestions on how to implement this feature would be greatly appreciated!

Thank you!

I have the same question (0)
  • SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at

    I implemented a Reset Button option for the user, providing a clear and simple way to start fresh. This includes adding a specific command or button to the bot interface, such as: Command: "Start Over" or "Reset." Button: A prominently labeled button like "Clear Chat" or "New Session."

    Try the approach and let me know how it goes for you. 

  • Suggested answer
    Artur Stepniak Profile Picture
    1,539 Super User 2025 Season 2 on at
    Hello Sebbi3!
     
    That's the thing which I'd also like to have. Unfortunately the only option to implement it is like @SaiRT14 mentioned, so by creating a button from an adaptive card, for example with a topic redirect to start over. It's not the best approach as you'd need to know when the bot should sent a message like that.
    Moreover, the thing is that Teams chat is created so that it retains the chat history - bot is using the same interface so when you'd like to delete everything and start over, you'd need to drop previous chat and start over. Maybe in the future they'd alter the chat with bots and add a new chat button or something like that. But that's not a minor change - the API stores each chat as a separate entity with unique id, with history connected etc. So let's be paitient!
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
  • Sebbi3 Profile Picture
    43 on at
    @SaiRT14 Perfect thank you very much for this.
    Will look into it now.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard