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 / Extracting a varying n...
Copilot Studio
Answered

Extracting a varying number of data from Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I used HTTP with the GET method in a flow. More than one object structure returned in Body as a result of HTTP Request.
I want to reflect this object structure to the bot as separate messages as in the attached picture.
By the way, the object structures returned in Body always vary, so I could not use Return Value Power Virtual Agents.

 

Can you give me some idea of how I can do it?
Thank you from now.

Bot.PNG

I have the same question (0)
  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @Anonymous ,

     

    unfortunately this does not seem possible yet.

     

    Could you explain the use case in detail?

     

    I would also suggest you create an idea for this feature 😊

    https://aka.ms/pva/community/ideas

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Jcook ,

     

    Of course.

    In my script, I pull data from a web service using API for each user. When the HTTP query runs I get a Body similar to the following for a user.

     

    "memberships": [
    {
    "id": 132803,
    "project": {
    "id": 123,
    "name": "dusıjdznmöx"
    },
    },
    {
    "id": 367428,
    "project": {
    "id": 987,
    "name": "usaıjskdnsdfn"
    },
    }

     

    Here, I intend to sort the id and project id information in the objects in this Body in different message boxes. (The number of object structures in the body varies according to the user.)

    In short, when the bot runs, I want it to appear in the format found in the picture before.

     

    Thank you

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Or if you have an alternative route suggestion I'd like to discuss it as well

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hi @Anonymous 

     

    Yea, we cant pass Array Values to PVA yet.

     

    What is the purpose of having multiple outputs in separate messages?

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Jcook ,

     

    I have to use the project name in another API query after the user sees the project name and makes the selection. Therefore I was thinking of separating.

  • Verified answer
    Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hi @Anonymous 

    I would just pass both back to PVA since we cannot send back arrays.

     

    I do like your use case though, I would submit that idea and post the link back here to get some votes. 

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 > Copilot Studio

#1
Valantis Profile Picture

Valantis 447

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 101 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 65 Super User 2026 Season 1

Last 30 days Overall leaderboard