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 / Workflow - Mail Merge ...
Power Automate
Suggested Answer

Workflow - Mail Merge with table or attachment

(1) ShareShare
ReportReport
Posted on by 4
Hello,
I have a excel list of jobs per client. I want to create a workflow that groups the data by client (branch), creates a table of the information and then sends 1 email with a tabled summary of their jobs within the email. 
I also considered splitting the data into separate excel sheets and creating a workflow to send each client an email with their jobs in an attached spreadsheet. 
 
I've managed to get it to a point where the data is grouped and sends an email, but it sends multiple emails to the client based on how many jobs they have e.g. Client A has 4 jobs, so it sends 4 emails etc.  
Also open to any other solutions where I could achieve something similar. 
 
I'm super new to power automate and would appreciate any advice!
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at
    Hi
     
    Can you share please what you work you have done already. Its a fairly basic pattern so lots of examples.
  • PB-15100639-0 Profile Picture
    4 on at
    Attached workflow and more detail:
    • Manually trigger a flow
    • Initialize Variable
      • Name: ClientData
      • Type: Array
      • Value: [Empty]
    • List rows present in a table
      • Data from excel
      • For each = Body/Value (excel data)
    • Filter array
      • From = body/value (excel data)
      • Filter Query = Client (excel data) ‘is equal to’ Client (excel data)
    • Append to array variable
      • Name = ClientData
      • Value = Current item (For each)
    • Create HTML Table
      • From = Body (Filter Array)
      • Custom Columns
        • Unique ID
        • Job title
        • Status
        • Client
    • Send an email (v2)
      • To = Contact Email (Dynamic content)
      • Subject = Vacancies Test email – [Client Name] (Dynamic content)
      • Body = Hi [sender name]
        • Body text
        • [Output HTML Table]
        • Signature
           

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 266 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 134 Super User 2026 Season 2

Last 30 days Overall leaderboard