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 Automate / Excel row invoices for...
Power Automate
Answered

Excel row invoices for multiple creditors into word template

(0) ShareShare
ReportReport
Posted on by 97

Hi all

 

I am trying to build the following flow:

 

  1. excel list with a multiple rows per creditor and sorted by creditor
  2. build an array to get all of the rows for the creditor 
  3. merge these into a word template with a repeat function
  4. convert the doc to pdf and email it

the bit that I am struggling with is how to get the apply to each for the list rows function to build the array and then merge the information into the word doc at each creditor change.

 

I have tried using variables to set and reset the creditor but i keep running into issues. I have followed the process outlined in How to: Populate a Word Template with repeating content control (bythedevs.com) but this doesnt appear to allow for the mulitple creditor situation.

 

help! 

 

Screenshot 2022-02-21 141227.pngScreenshot 2022-02-21 141215.pngScreenshot 2022-02-21 141149.png

Categories:
  • Verified answer
    JemmaKSS Profile Picture
    97 on at

    Here is the solution I finally found for anyone else.

     

    I initialised variables, set them on the first run and had the apply to each condition change when the creditor changed, this way it would apply the correct variables to the 'no' run, clear the array and then apply the new variables for the next batch.

     

    image.pngimage.png

     

     

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 Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard