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 / Convert json array to ...
Power Automate
Unanswered

Convert json array to text string for virtual agents

(0) ShareShare
ReportReport
Posted on by 36

I make a http post to azure search and receive a json array. Then i use a parse json and get value using a compose and a variable. When i pass the value to virtual agent it returns nothing because it is an array. How to get the first output of json array. 

Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,638 Super User 2026 Season 1 on at

    With function first(...) 😉

  • giorgiokatr Profile Picture
    36 on at

    This should go inside a compose? And inside the apply to each?

  • Chriddle Profile Picture
    8,638 Super User 2026 Season 1 on at

    You can use it anywhere you need the value. A compose action would be fine.

    There's no need for an Apply to each as this function only gets the first collection item (except that's also a collection).

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard