Hi
I want to create a flow in Power Automate that is triggered by pressing the button in the power apps
The flow copy a few values from the power app into a new item in the list

Hi
I want to create a flow in Power Automate that is triggered by pressing the button in the power apps
The flow copy a few values from the power app into a new item in the list
Hi @Hanan-khamissy
Is there a reason you want to run a flow to create the item in SharePoint?
Since you could just do a Patch()-function and create a new item directly from PowerApps
Patch(
SharePointList,
Defaults(SharePointList),
{
name:InputField1.Text,
otherField:InputField2.Text
}
)Above is an psudo example of that that can be ran on the OnSelect-property on your button in PowerApp to create a new record in your SharePoint List.
If you need to use a Flow, you can trigger one by creating a flow with a PowerApps or PowerAppsV2 Trigger (need to be an instant flow) and then call it from the Onselect property on you button using the Run-function.
YourPowerAutomateFlow.Run(<parameters>)
-------------------------------------------------------------------------
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.