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 / On custom website page...
Copilot Studio
Unanswered

On custom website page refresh, the chatbot messages is not getting cleared

(0) ShareShare
ReportReport
Posted on by 71

On custom website page refresh, in the embedded chatbot from copilot studio, chatbot's messages are not getting cleared and holding all the previous chat flow. How to clear it up?

I have the same question (0)
  • remidyon Profile Picture
    on at

    Hi @Karishma2805998 

    Page refresh does not create a new chatbot session, you have to end the session within your custom implementation (default chatbot canvas does not support clearing the session).

    See doc: Add a copilot to mobile and web apps - Microsoft Copilot Studio | Microsoft Learn

  • amitmitra14 Profile Picture
    6 on at

    How to show copilot chat bot as a collapsible window on the bottom right corner?

     

    Is there a way to show the chatbot on the bottom right corner and in collapsed mode.

  • remidyon Profile Picture
    on at

    Hi @amitmitra14 

    You will have to write your own custom javascript and use the iframe sample here: Configure a copilot for a live or demo website (contains video) - Microsoft Copilot Studio | Microsoft Learn

     

    You can also check out this documentation page: Add a copilot to mobile and web apps - Microsoft Copilot Studio | Microsoft Learn

  • amitmitra14 Profile Picture
    6 on at

    Thank you for your quick reply.

     

    can you please provide sample custom javascript code snippet for us to start with? We are new to this copilot studio.

     

    another question, we have a similar bot created through omnichannel and it is providing the embedded code with javascript. Why there are difference between omnichannel and copilt?

  • remidyon Profile Picture
    on at

    Hello @amitmitra14 

    If you are new, I recommend you start by reading the documentation: there are plenty of code examples there and on our github repo: microsoft/CopilotStudioSamples (github.com)

     

     

  • amitmitra14 Profile Picture
    6 on at

    another question, we have a similar bot created through omnichannel and it is providing the embedded code with javascript. Why there are difference between omnichannel and copilt?

  • remidyon Profile Picture
    on at

    @amitmitra14 Omnichannel widget support hand off to live chat where Copilot Studio widget is just for chat. 


    Copilot studio also provide the integration code sample (in the website channel) - it just does not include the code to minimize / maximize but this is fairly easy to do for any javascript developer during integration.

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