cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rev_Ed
Helper I
Helper I

Sending Attachments in Email with Attachments in OneDrive

I am trying to send an emails with each email having a different attachment. I have put the attachments in a onedrive folder. I have created an excel spreadsheet with the email addresses and the name of the attachment. Now when I run the flow, it sends every email every attachment! Here is the flow... Can anyone help?

 

Screen Shot 2021-07-12 at 12.11.44 PM.pngScreen Shot 2021-07-12 at 12.12.43 PM.pngScreen Shot 2021-07-12 at 12.12.30 PM.png

 

3 REPLIES 3
Rev_Ed
Helper I
Helper I

Sorry Flow Pics out of order.

 

Screen Shot 2021-07-12 at 12.11.44 PM.png

Screen Shot 2021-07-12 at 12.12.30 PM.png

Screen Shot 2021-07-12 at 12.12.43 PM.png

@Rev_Ed , there's some disconnect between the two apply to each actions. Could you produce your desired result with just one apply to each?  I find it useful to look at the inputs/outputs of a test run of the flow. This could help you visualize your problem. 

If I separate the "Get File Metadata" and "Get File Contents" and "Send Email" it will not let me select the "File Content" Dynamic Content in the "Send Email" section. 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,183)