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 / How to pass more than ...
Power Apps
Unanswered

How to pass more than 20 TextInput records from PowerApps to HTML table within Flow

(0) ShareShare
ReportReport
Posted on by 6

I have built an app where I have more than 20 Inputs in my PowerApps. I cannot use PowerApps (v2) trigger because it only accepts up to 20 parametres. Do you have any good idea on how to pass more than 20 Inputs in my HTML table?

 

Many thanks

Alex

Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @AlexisChch ,

     

    Try generating (part of) the HTML code in Power Apps and passing it as a single parameter.

  • AlexisChch Profile Picture
    6 on at

    Hi @BCBuizer ,

     

    thank you for the input. How can I generate the HTML code in Power Apps and how can I pass it as a single parameter?

     

    I don't know how to translate this practically.

     

    Many thanks

    Alex

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @AlexisChch ,

     

    Easiest way is to make an HTML template, and populate the dynamic content in PowerApps using string interpolation.

     

    This can then be included in the parameter sent to the flow, for example:

    PowerAutomateFlow.Run(
     $"
     <!DOCTYPE html>
     <html>
     <body>
     <h1>Hello World</h1>
     <p>Generated by {User().DisplayName}</p>
     </body>
     </html>
     "
    )
    

     

  • AlexisChch Profile Picture
    6 on at

    Hi @BCBuizer, 

     

    thank you for your help.

     

    I'm trying to follow your guide but I'm failing, I'm sorry. I'm a bit confused as I originally had my HTML table within the flow under the Compose step. I will try to put some screenshots.

     

    Let's say I have 21 TextInputs.

    TextInputs.jpg

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    What should I write to the "OnSelect" under the button to pass 21 TextInputs to my HTML table?

     

    TextInputs3.jpg

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    My HTML table is the following:

     

     

    <!DOCTYPE html>
    <html>
    <body>
    
    <h2>A basic HTML table</h2>
    
    <table>
     <tr>
     <td>Column 1</td>
     <td>..."I want my TextInput1 here"...</td>
     </tr>
    </table>
    
    <table>
     <tr>
     <td>Column 1</td>
     <td>..."I want my TextInput2 here"...</td>
     </tr>
    </table>
    
    <table>
     <tr>
     <td>Column 1</td>
     <td>...."I want my TextInput3 here"...</td>
     </tr>
    </table>
    </body>
    </html>

     

     

     

     

    • Where should I put my HTML table and
    • what should I write within the "<td> ...... </td>" ?

     

    Once I trigger the flow, what type of user input should I choose? I guess "Text" but what should I write within the Input?

    TextInput4.jpg

     

     

     

     

     

     

     

     

     

     

     

     

    What is the next step/action/Operation under the PowerApps (V2) - image above?

     

    Many thanks in advance for your help and apologies for the long post.

     

    Any help would be much appreciated

     

     

     

     

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @AlexisChch ,

     

    Thanks for the detailed post, it helps a lot in understanding where you run into issues.

     

    What I'd do is to leave the trigger as it is, so with one text type parameter. Then set the OnSelect property of the button to:

     

    YourFlowName.Run(
    	$"
    	<!DOCTYPE html>
    	<html>
    	<body>
    
    	<h2>A basic HTML table</h2>
    
    	<table>
    	 <tr>
    		<td>Column 1</td>
    		<td>...{TextInput1.Text}...</td>
    	 </tr>
    	</table>
    
    	<table>
    	 <tr>
    		<td>Column 1</td>
    		<td>...{TextInput2.Text}...</td>
    	 </tr>
    	</table>
    
    	<table>
    	 <tr>
    		<td>Column 1</td>
    		<td>....{TextInput3.Text}...</td>
    	 </tr>
    	</table>
    	</body>
    	</html>
    	"
    )

     

    Like this, the whole HTML code is passed to Power Automate as a single string, which you can then use as it is.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard