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 data from PowerAp...
Power Apps
Answered

Pass data from PowerApps to MS Power Automate (Flow)

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear Experts, 

 

In PowerApps I have created an App using the "Start with data" option and I have loaded a Sharepoint list as the data source. Now, each Sharepoint list row represents an item in the Gallery which can be clicked on and more data of each Sharepoint row is viewed (DetailScreen1).

 

Then I have added a Button to the DetailScreen1 and connected it with MS Flow. By clicking on this button I would like to launch MS Flow, that will be able to work with the data from selected DetailScreen1.

Is anybody able to advise how to pass the data from selected DetailsScreen1 to MS Flow? I have tried to use the Collection function, however it does not seem to be working. Can I even use collections in this case? From what I have seen till now, using Collections is applicable only when user is filling data, not selecting an item. 

 

Thank you in advance, 

 

app.png
Categories:
I have the same question (1)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @Anonymous 

    There's an awesome tutorial put out by MS that you should check it.  It completely walks through the process step-by-step.  I'll link to it below.  A few tips specific to your situation are:

     

    1.  Don't use a collection.  It's not necessary and it makes things harder.  Instead, create 7 variables in PowerApps (one for each of Req. Number, Job Title, Action, etc) and use 'Ask In PowerApps' to obtain the values.

     

    2.  To pass the variables from PowerApps to Flow you would first need to connect it by going to the top menu in PowerApps Studio and clicking "Action" then "Power Automate".  Select your Flow then write some code like this in the OnSelect property of your submit button

     

    Run.YourFlowName(
     DataCardValue_ReqNumber.Text,
     DataCardValue_JobTitle.Text,
     DataCardValue_Action.Text,
     DataCardValue_Process.Text,
     DataCardValue_Subprocess.Text,
     DataCardValue_Hiring Manager.Text,
     DataCardValue_JobGrade.Text
    )

     

    Link To Start A Flow In A Canvas App Tutorial.

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard