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

Notifications

Announcements

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 Super User 2025 Season 2 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
    555 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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard