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

Notifications

Announcements

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,424 Super User 2025 Season 2 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,424 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 506 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard