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 / Send email with data f...
Power Automate
Unanswered

Send email with data from both outcomes of the Condition, Yes and No.

(0) ShareShare
ReportReport
Posted on by 8

Creating a flow for when a user drops 2 files in a folder:

 

  • One is a .pptx file that needs a digital signature
  • Second file is supporting data file for the .pptx that could be .xlsx or .pdf

Using Condition to determine if it is a .pptx or not and then gathering data from both sides of Condition (Yes and No) and then inputting data in one email to send to personnel.

 

Problem is that I get two email, one has all the data for the .pptx file the other has the data for the other support file.

 

How do I create one email with both sides of Condition data?

 

FLOW:

Pic 1.png

Pic 2.png

 

EMAIL SENT:

Pic 3.png  

Pic 4.png

Thanks in advance for any support.

Categories:
I have the same question (0)
  • Afurness23 Profile Picture
    31 on at

    I wonder if something like this would work for what you need?EmailYesNo.PNG

  • Dlehman3750 Profile Picture
    8 on at

    Afurness23 -

    Are you running that after the Send Email? I cannot see top but it looks like it starts from my final Send Email.

    Wouldn't that still send out the original two email?

    I will test and let you know results.

     

  • Afurness23 Profile Picture
    31 on at

    No--I added some quick placeholder steps for testing, but basically get the file data, use filter array instead of a condition to split on .pptx or another file extension, then initialize a variable for each outcome that can then be referenced in your e-mail. 

  • Dlehman3750 Profile Picture
    8 on at

    So it did work, it sent one email with both of the files data, but it sent ALL the data collected.

     

    How can I just pull the link to open the file and use file name as the name for the link in the email?

     

     

  • Afurness23 Profile Picture
    31 on at

    When you tested, did you copy the formula from your original flow in compose/compose 2 to recreate the hyperlinks in the initialize variables steps?

  • Dlehman3750 Profile Picture
    8 on at

    What would I use in the formula to select the proper data? 

     

    Dlehman3750_0-1668005792441.png

     

  • Afurness23 Profile Picture
    31 on at

    Hi!  I did some more thinking on this, and am wondering if this needs another trigger since it should be multiple files being uploaded and not just one.  I had success with this:

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