cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SurajGuptha
Regular Visitor

Show formatted JSON in Chat Message

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!

1 REPLY 1
pankajrai
Microsoft
Microsoft

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

Announcements
Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Solution Authors
Top Kudoed Authors
Users online (2,152)