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!
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