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 / Using Power Automate t...
Power Apps
Unanswered

Using Power Automate to create a Sharepoint item from a Power App

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I think I should properly be using a Form in Power Apps for this function, but I struggle to format forms in the way I want. Right now, I've got a bunch of fields in a Power App that are either text-entry fields, or picklist fields populated by SharePoint lists to normalize the user input (like "newsletter category"). The Power App fields are intended to provide the input to create a new SharePoint list item (in a list called "Newsletter articles"). 

 

I've got everything working until the SharePoint item gets created. I have a Power App "submit" button, and can't figure out how to make it call my Power Automate flow. 

 

My flow is constructed with

  1. a PowerApps trigger ("No additional information is needed for this step. You will be able to use the outputs in subsequent steps.")
  2. A flow step to respond to a PowerApp or flow: In this step, I've got a bunch of text outputs, each mapped to dynamic content "RespondtoaPowerApporflow_text"
  3. A flow step to create a SharePoint item. I've identified the newsletter articles list, and mapped the Sharepoint fields to the "RespondtoaPowerApporflow_text" fields I identified in step 2

I feel like I'm 99% there... but don't know how to make my Power App call the Power Automate flow. 

 

Am I as close as I think? Can you help me get all the way there? 🙂

 

Thanks in advance!

Categories:
I have the same question (0)
  • VaidasG Profile Picture
    469 on at

    Hi @sloughcow ,

     

    Add your flow to the app, then start typing flow name to the OnSelect property of your button. Your flow name with .Run() function will get suggested. Fill your flow inputs with the brackets and of you GO...! 😀

  • sloughcow Profile Picture
    Microsoft Employee on at

    @VaidasG That's one of the places I'm struggling... I don't see how to add the flow to the app! Do you have any pointers?

  • VaidasG Profile Picture
    469 on at

    VaidasG_0-1661624544754.png

     

    VaidasG_1-1661624575232.png

     

  • sloughcow Profile Picture
    Microsoft Employee on at

    @VaidasG You have blown my mind. How could I possibly have missed that?! 

    Thank you! I think you've gotten me SO close.

     

    My button On Select property is 'PowerApp->RespondtoaPowerApporflow'.Run('PowerApp->RespondtoaPowerApporflow'.Topic)  (and that's clearly not right). I'm trying to find documentation that fits for this scenario...

     

    "Topic" is one of my field names. Am I on the right track? Trying to figure out how to get the syntax right, and string together multiple fields.

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @sloughcow 

     

    Use this 

     

    Set(varFlowReturnValues,'PowerApp->RespondtoaPowerApporflow'.Run())

     

    The variable varFlowReturnValue will now hold all values returned by the flow.

  • VaidasG Profile Picture
    469 on at

    @sloughcow ,

     

    What you see is correct..!

     

    VaidasG_0-1661629649325.png

     

    As per screenshot above, if you place your mouse cursor just after the opening bracket, you should get the list of input parameters expected by your flow. They are named as "flow name"_"parameter name" (Underlined in the screenshot). If you have multiple input parameters, make sure you follow the order, as per requested list.

     

    Hope this helps 🤓

     

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