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 / How to store Complete ...
Copilot Studio
Unanswered

How to store Complete conversation history ?

(0) ShareShare
ReportReport
Posted on by 53

Hi ! I am developing a Co-pilot and one of my requirement is to Store Complete conversation with Co-pilot . Can anyone help me out on this ? How can I achieve this ?

Categories:
I have the same question (0)
  • citron-truc Profile Picture
    394 on at

    Good morning,

     

    I hope you are doing well. In the analytics tab of copilot studio, you can access a transcript of conversations (complete conversations are stored by default for 30 days I think but you have the option to keep them).
    Transcripts are also stored in power apps : https://learn.microsoft.com/en-us/microsoft-copilot-studio/analytics-sessions-transcripts

    Hope it helps,
    Have a great day !

  • theMac Profile Picture
    on at

    I'm interested in too:
    they requested to me to allow to the user (if he desires it) the download, on a txt file, of the transcription of the entire conversation/session at the end of it.
    Would it be possible in copilot?

     

  • citron-truc Profile Picture
    394 on at

    Hello,
    I hope you are doing well.
    Forget what I just said and read the message right after this one.

    Have a great day.

  • adilei Profile Picture
    on at
  • theMac Profile Picture
    on at

    Argh if I add token information on bot start it fails...
    I add it here, is it right?

     

     const store = window.WebChat.createStore(
     {},
     ({ dispatch }) => next => action => {
     if (action.type === "DIRECT_LINE/CONNECT_FULFILLED") {
     dispatch({
     meta: {
     method: "keyboard",
     },
     payload: {
     activity: {
     channelData: {
     postBack: true,
     },
     //Web Chat will show the 'Greeting' System Topic message which has a trigger-phrase 'hello'
     name: 'startConversation',
     type: "event",
    									 value: {
    										DirectLineToken: token
    										}
     },
     },
     type: "DIRECT_LINE/POST_ACTIVITY",
     });
     }
     return next(action);
     }
     );
  • adilei Profile Picture
    on at

    Now I understand what you're trying to do... your comment on the other thread did not have context 🙂

     

    What error are you getting?

     

     

  • theMac Profile Picture
    on at

    no error, blank canvas
    Browser inspector tells me "Uncaught ReferenceError: conversationInfo is not defined at <anonymous>:1:1"

  • adilei Profile Picture
    on at

    Look for errors in dev tools

  • theMac Profile Picture
    on at

    theMac_0-1712660737762.png

    I suppose it try to extract the token string from 

    ...
    value: {
     DirectLineToken: token
     }
    ...

    and this breaks all... 

  • adilei Profile Picture
    on at

    What is this hostname - forum.pixsys.net ?

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 250 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 103 Moderator

Last 30 days Overall leaderboard