Ok I have a question. how do I set multiple text inputs to take from my power app to my flow which is to send an email with the body containing the text inputs. I tried commas but it errors out. I only got it to work with one text input. This is what I have so far testemail.run(Customername.Text) I’ve tried TestEmail.run(Customername.Text,TextInput2.Text) but it didn’t like it.
Thanks Sundeep,
the json parse is what I needed to use for this example.
You could look into doing that within Power Apps using the Office365Outlook connector. This will allow you to send an email via the sendemailv2 function.
If you do want to use flow or need to for some reason or another then here are some things you can look into:
Check how many values your flow is asking for. -> to do this you can simply drop in another button and type your flow name again followed by .Run( then look right above the formula bar and it should tell you what it is expecting for that parameter. Once you type a comma it will tell you the next parameter. If you are missing some parameters that you need to send then we will need to go back to your flow and make some changes.
To add more arguments to the function call on the flow we will have to request that data from power apps in our flow. Drop in an initialize variable step, rename it, and in the starting value put ask in powerapps. Save your flow and go back to your app and remove and readd the flow. This time when you type you should be able to see the new argument we just made. Do this until you have all the data you need in the flow.
Hey @Kristalitt
There are multiple ways by which you can send data from power apps to power automate.
1) Above you are sending many parameters, the problem I think could be you are sending 2 parameters and then you might be getting an error sending two expected more.
So for this the easiest way is to change your power apps trigger in Power Automate. Instead of Power Apps use Power Apps(V2) trigger. In this trigger you can go to inputs and set 2 inputs coming from power apps. And by this you will be able to pass 2 parameters from power apps to power automate. And then use these parameters further in your flow.
One more thing you can try is deleting the Power Apps trigger and adding it again like mentioned in the below video:
https://www.youtube.com/watch?v=emAhLzVG9bM
2) Second method is to use collections. Above method is the easiest, but if it does not work try this.
Check this video for this:
https://www.youtube.com/watch?v=coB688qd00c
3) Third method is to send json response. For this check the below video:
https://www.youtube.com/watch?v=WsPtZSPW4B4
I hope this helps 🙂
MS.Ragavendar
27
mmbr1606
14
Super User 2025 Season 1
EE-04041031-0
11