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 Platform Community / Forums / Power Automate / Excel row invoices for...
Power Automate
Unanswered

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:
I have the same question (0)
  • Verified answer
    JemmaKSS Profile Picture
    97 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard