Announcements
I want to automate a Microsoft Word document, but one of the fields would be a table that might have between 1 and 30 line-items.
Can the Power Automate Flow create the Word table dynamically based on a Gallery/Collection/Table inside of Powerapps?
Hi @jlr89 ,
You can do it using JSON(CollectionName) and then json again on this in the Flow to convince Word it is a Table but you need to ensure the field names are exactly what is in your Word Merge tags.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Alternatively, you can do 'List Rows' can fetch related Line Items and loop the item into a variable.
When you are populating that in Word Document, you can pass the item in repeating control from Word File.
This will create dynamic table in your word file.
Hope this helps
How do you pass in the data to the List Rows?
Suppose I have a table like: Product | Quantity | Price
What do I send to the flow to populate the table?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 220 Super User 2026 Season 2
WarrenBelz 189 Most Valuable Professional
Mohsin Ali 139