web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Excel row invoices for multiple creditors into word template

(0) ShareShare
ReportReport
Posted on by 95

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

I have the same question (0)
  • Verified answer
    JemmaKSS Profile Picture
    95 on at
    Re: Excel row invoices for multiple creditors into word template

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard