Skip to main content

Notifications

Copilot Studio - Building Copilot Studio Chatbo...
Unanswered

Show formatted JSON in Chat Message

(0) ShareShare
ReportReport
Posted on by 19

In Team's I use PVA to call an action that queries a CosmosDB database to get a JSON document. 

 

I am unable to figure out how to format the string I receive back from action to display it as a JSON. Currently it shows as a really long string and its difficult to read. 

 

Appreciate your help!

  • pankajrai Profile Picture
    pankajrai on at
    Re: Show formatted JSON in Chat Message

    You must be using a flow to trigger that. 

    You have 2 options : Format JSON in Power Automate flow only or extend bot to bot composer and then display as a card. : Use Bot Framework Composer adaptive cards in chatbots - Power Virtual Agents | Microsoft Docs

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics