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

Announcements

News and Announcements icon
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
    Microsoft Employee 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
    Microsoft Employee 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
    Microsoft Employee 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 586

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard