Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vOjqmIgPU4oSkOq0yym6tU
Power Apps - Building Power Apps
Answered

Creating multiple text inputs for a power automate in power apps

Like (0) ShareShare
ReportReport
Posted on 18 May 2023 15:51:15 by 77

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. 

  • Kristalitt Profile Picture
    77 on 18 May 2023 at 17:00:36
    Re: Creating multiple text inputs for a power automate in power apps

    Thanks Sundeep, 

     

    the json parse is what I needed to use for this example. 

  • mmollet Profile Picture
    3,187 on 18 May 2023 at 16:23:02
    Re: Creating multiple text inputs for a power automate in power apps

    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.

  • Verified answer
    Sundeep_Malik Profile Picture
    6,480 on 18 May 2023 at 16:19:51
    Re: Creating multiple text inputs for a power automate in power apps

    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.

    Sundeep_Malik_0-1684426669368.png

     

    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 🙂

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 27

#2
mmbr1606 Profile Picture

mmbr1606 14 Super User 2025 Season 1

#3
EE-04041031-0 Profile Picture

EE-04041031-0 11

Overall leaderboard
Loading started