Skip to main content

Notifications

Building Copilot Studio Chatbots in Microsoft T...
Unanswered

Show formatted JSON in Chat Message

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

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 137,998

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics