View, export, and manage retention time of your bot conversation transcripts

Power Virtual Agents now enables you to view and export your bot's conversation transcripts beyond 30 days by managing transcript retention time.

We’re thrilled to announce a new capability that enables you to view and export your Power Virtual Agents conversation transcripts from the Power Apps portal.

Today you can analyze session information by downloading the past 30 days sessions from the Power Virtual Agents portal. However, customers want to view and export their bot’s conversation transcripts (a.k.a., sessions) beyond 30 days.

With this feature, you will be able to do the following from the Power Apps portal:

  • View bot’s conversation transcripts
  • Export bot’s conversation transcripts
  • Manage how long to keep the transcripts

View bot’s conversation transcripts

Go to https://www.powerapps.com and sign in with your credentials.

Microsoft screenshot

Choose your bot’s environment using the environment picker (top right).

Power Apps screenshot

In the side navigation pane, expand the Data node and select Entities. On the top right, expand Default and select All.

Data tab screenshot

Type Conversation in the Search textbox on the top right. Select ConversationTranscript under Entities.

Entities tab screenshot

Select Data tab. Expand Active conversation transcripts on top right and select All fields.

Entities data tab screenshot

View the bot’s conversation transcripts.

ConversationTranscript tab screenshot

Export bot’s conversation transcripts

Go to https://www.powerapps.com  and sign in with your credentials. After signing in, you are redirected to the Power Apps portal. Choose your bot’s environment using the environment picker (top right).

Home tab screenshot

In the side navigation pane, expand the Data node. Select Entities and select Export data.

Export Data tab screenshot

On the Export data screen, select ConversationTranscript from the entity list. Select Export data at the top. Your data will take a couple of minutes to be compiled for export.

Entities export data tab screenshot

Select Download exported data to download the content.

Download tab screenshot

Manage how long to keep bot’s conversation transcripts

By default, a pre-configured bulk delete job will remove all conversation transcripts older than a month. To retain the transcripts for longer, you need to disable the existing system job and create a new job.

In the https://www.powerapps.com, click on the Settings cog (top-right menu) and click on Advanced settings.

Build business apps screenshot

After clicking on Advanced settings, you are redirected to the Dynamics 365 portal.

Advanced settings screenshot

On the Settings menu, select Data Management.

Data Management tab screenshot

On the Data Management screen, select Bulk Record Deletion.

Bulk record deletion screenshot

On the Bulk Record Deletion screen, expand the View dropdown and select Recurring Bulk Deletion System Jobs.

Recurring Bulk Deletion System Jobs

Select the pre-configured bulk delete job called Bulk Delete Conversation Transcript Records Older Than 1 Month.

Bulk delete Conversation screenshot

In the More Actions dropdown, click on Cancel to disable future bulk deletion using this job.

More Actions screenshot

Create a new bulk record delete job by clicking on New and enter the following data.

  • Set ConversationStartTime as Older Than X Months to 12. This will keep the transcripts for 12 months.
  • Set SchemaType as Equals to powervirtualagents.
Define Search Criteria screenshot

Enter a Name and change the Run this job after every to 1 day.

Select Options screenshot

The bulk delete job is created to delete your bot’s conversation transcripts older than 12 months.

List deletion screenshot

We’d love to hear your feedback. Please visit our community forum at https://aka.ms/PowerVirtualAgentsForum and share your feedback.

And submit your idea requests at https://aka.ms/PowerVirtualAgentsIdeas.

Thanks!

Diganta Kumar