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 / Combining Outputs from...
Power Automate
Answered

Combining Outputs from Parallel Branches into One Email Action

(0) ShareShare
ReportReport
Posted on by 132
I'm hoping for some general guidance here. As you can see, I have two parallel branches where I'm running queries against 2 different Power BI datasets. I parse JSONs, get distinct emails, and create HTML tables that I'd like to insert into one email action.
 
I'm trying to understand if it's possible to combine the distinct emails and tables from both branches to be used in one email action.
 
Thanks in advance to anyone who can guide here!
 
p.s. Those are 2 separate pictures from the same flow. The Apply to each and Get distinct email actions are connected.
 
Categories:
I have the same question (0)
  • Building with Why Profile Picture
    351 Moderator on at
    you want to combine the steps at the end to send a single email?  yes.  Turn off the "new" editor and the merge paths will become obvious.
     
  • Suggested answer
    Vejai SH Profile Picture
    560 on at
     
    Initialize an array variable before your BI report query. In both branches, append values to this array. Then, merge the branches and use the array variable to send an email.
     
    Thanks, 
    Vejai SH  
     
    Please mark as answer if my suggestion helps you.
  • Verified answer
    bchager6 Profile Picture
    132 on at
    The solution that worked for me was to deduplicate the emails from both branches with a union, merge the branches used to create the HTML tables after the union, use the Current item from the Apply to each action in the "To" section of the email, and the HTML style and Clean HTML actions in the body of the email. Close to what @Vejai SH recommended.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard