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 / Power Automate / use the Json output to...
Power Automate
Answered

use the Json output to get different format.

(0) ShareShare
ReportReport
Posted on by

I have a parse Json that I need to convert the format of the value. 

noor12_0-1713702571778.png

the output of the parse json is : 

[
  {
    "BILL_PROFILE_NUM": "2222222"
  },
  {
    "BILL_PROFILE_NUM": "11111"
  },
  {
    "BILL_PROFILE_NUM": "333333"
  },
  {
    "BILL_PROFILE_NUM": "44444"
  }
]
how could I use another action to have the output on this format ('2222222','11111','333333','44444')
where I need to use it on another oracle query in this format ('2222222','11111','333333','44444')
Categories:
  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @noor12 

     

    Here is the sample flow.

     

    I have used compose action to store the output of parse json action:

    ManishSolanki_0-1713703789109.png

    [
    {
    "BILL_PROFILE_NUM": "2222222"
    },
    {
    "BILL_PROFILE_NUM": "11111"
    },
    {
    "BILL_PROFILE_NUM": "333333"
    },
    {
    "BILL_PROFILE_NUM": "44444"
    }
    ]

    Next, add "Select" action to traverse all elements & fetch the values. Pass the output of compose action to "From" parameter as its input.

    ManishSolanki_1-1713703973021.png

    Click 'Switch Map to text mode':

    ManishSolanki_2-1713704060800.png

    Enter the below expression in the textbox. Expression needs to be added in the expression box as shown below:

    ManishSolanki_3-1713704165578.png

    concat('''',item()?['BILL_PROFILE_NUM'],'''')

    Finally, add another compose action to get the final output:

    ManishSolanki_4-1713704224481.png

    concat('(',join(body('Select'),','),')')

     

     

    Output:

    ManishSolanki_5-1713704272748.png

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard