web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Format the Power Autom...
Copilot Studio
Unanswered

Format the Power Automate response in PVA for sexy renderer

(0) ShareShare
ReportReport
Posted on by 28

Hi all, 

 

I'm new in PVA. 

 

From a PVA topic, i'm calling a Power Automate in order to get Event list. 

From Power Automate, i've created an array of JSON object but PVA response only accept string fromat. 

I've created a variable that store json values in a string format as below : 

JM78_0-1689077158709.png

And i pass the variable as a return value for PVA

JM78_1-1689077207813.png

 

It works but the presentation of the values are not sexy 😞 

JM78_2-1689077330504.png

 

i'm looking for a way to show values in a click format to select an event on the list or maybe an adaptive card ?

 

Is there a way to display my events list as a clickable event selection list ?

 

Many thanks for your help. 

 

Regards, 

Jean-Michel DOS SANTOS

I have the same question (0)
  • Pstork1 Profile Picture
    69,330 Most Valuable Professional on at

    To format a response sent from Power Automate to PVA you need to use the markdown language to build the string so that PVA will display it in a formatted fashion.  Here's an article on how to use the markdown language.

    Use markdown to format Power Automate approvals - Power Automate | Microsoft Learn

  • JM78 Profile Picture
    28 on at

    Hi @Pstork1 , 

     

    I've tested the markdown language and its worked but it's not exactly what i need. 

    I'm looking more into purpose a picklist or choice options of events. 

     

    So, i need to find a way to transform the a string into a choice list. 

    My target is to let the user select for an event to subscrib

     

    Many thx for your help

  • JM78 Profile Picture
    28 on at

    Here's the style i'm looking for : 

     

    JM78_0-1689084261713.png

     

  • Pstork1 Profile Picture
    69,330 Most Valuable Professional on at

    The only way I can think of to do that would be to return the list as a delimited list of some type and then use a PowerFX formula to convert it and save the result in a variable.  There is no support for returning an array of items directly to the Bot.

  • Pstork1 Profile Picture
    69,330 Most Valuable Professional on at

    I don't believe that is going to be possible.

  • JM78 Profile Picture
    28 on at

    I've finally found a way to do this. 

    It's not really the most beautifull way as i expected but it'll do the job for a first version. 

     

    First step on Power Automate, i've added a separate character ";"

    JM78_3-1689085758173.png

     

    On PVA, i've just splitted my string value returned by Power Automate like that Split(Topic.AllEvents, ";")

    Then i've chosen the action "Options from a list variable" from question panel

     

    JM78_1-1689085457692.png

     

    The result is shown like that : 

    JM78_2-1689085737124.png

     

  • Pstork1 Profile Picture
    69,330 Most Valuable Professional on at

    I thought of that, but that won't give you the multi-line formatted value that you used in the image of what you were trying to achieve.

  • HenryJammes Profile Picture
    Microsoft Employee on at

    @JM78, have you considered adaptive cards to offer richer UX?

    E.g. Solved: Re: How to create an adaptive Card for Multiple op... - Power Platform Community (microsoft.com)

    Henry

  • JM78 Profile Picture
    28 on at

    Hi @HenryJammes 

     

    I've finally created an adaptive card process this morning. 

    Very easy to create and sexy as i expected 🙂 

     

    But the first version with standard multi choices have been released on prod environment.

     

    It'll be ready on the next release 🙂

     

    Many thx for help

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 631

#2
Haque Profile Picture

Haque 181

#3
Vish WR Profile Picture

Vish WR 140

Last 30 days Overall leaderboard