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 Apps / Pass value from power ...
Power Apps
Unanswered

Pass value from power automate to power app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

We are in the process of migration from InfoPath form to power app form. I need to use the values returned from power automate to power app combo box control. ( Items property). 

Note: In power automate i am using get list items which will get the value from List which is present in another site collection. The value returned i need to pass to power app combobox control. The main reason we are using automate is that particular list have more than 12 people picker. So that's why we are using automate otherwise i can add that list as a datasource in power app.

 

Any idea on this.

 

Thanks.

Categories:
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    If the flow was launched from the Power App using a Power App button then you can use the HTTP response action to return a JSON array of values to Power Apps.  That return can then be stored in a collection.  You can use the Collection to populate your ComboBox. 

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Pstork1 

    Isn't the HTTP response action still considered a premium action?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Pstork1 ,

     

    thanks for the input.I will be using on New and On Edit in SharePoint integration method.

    Still can i use http response action ?

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

    Yes, it should work on the OnNew and OnEdit actions.  But be aware, as Randy pointed out the HTTP response is a Premium connector.  But its the only way to get an array of data back from flow.  The Respond to Power Apps only returns an object with properties.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Pstork1 Thanks for clarifying it is premium.  I haven't used it in a while for that reason...wasn't sure if something had changed in the licensing. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Pstork1 ,

     

    Instead Respond to Power app step in automate, we need to use http response action.  Is it correct ?

    If you have any example please share the screenshots.

     

    Thankyou.

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

    This flow is called from a Power app and does a Get Items from SharePoint, filters the rows and columns to only include the essentials, and then returns the results to Power apps.

    image.png

    The Select filters down to only the columns I want to return, then parse JSON to get the details of that array, finally a filter array to filter out unwanted rows.

    image.png

    Finally return the Body from the Filter array using HTTP response.  Be sure to run it once and use the output to get a JSON schema.

    image.png

    In Power Apps the Run command is used to submit any parameters to flow and store the results as a collection.

    ClearCollect(MyData, GetItemsDemo.Run(Value(TextInput2.Text)))
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Pstork1 ,

     

    Thank you for the detailed explanation. I have created the flow and in HTTP response I am getting all the data.

    But in Power app values are not populated.

    sc1: --> to run the automate

    gokulnathSTG_0-1620823582567.png

    sc2:

    items property of combo box.

    gokulnathSTG_1-1620823669930.png

     

    In a combo box it shows true after flow run.

     

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

    If you look at colAppCodes after the run are you seeing any values?  If not, double check your schema in the HTTP response.  It looks like you are just getting a status value of True/false.  That's usually a sign that the JSON schema is missing from the response.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Pstork1 ,

    I am using sample output from Parse Json (in Flow run history) as a Schema for HTTP response,.

     

     

    gokulnathSTG_0-1620831320159.png

    HTTP response screenshot:

    gokulnathSTG_1-1620831405042.png

    gokulnathSTG_2-1620831451894.png

    gokulnathSTG_3-1620831662494.png

     

     

    Anything missing?. One thing, Where we need to paste the JSON schema in Body or Generate from Sample?

     

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 Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard