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 / Send an email with an ...
Power Automate
Suggested Answer

Send an email with an attachment based on table contents in Excel

(0) ShareShare
ReportReport
Posted on by
Hello,
 
I would like to use Power Automate to send a series of emails that have a specific PDF file attached. The information for which email address needs which file is saved in a table in an Excel file, and the matching PDF files are in the same SharePoint folder (although I can move this to OneDrive if easier).
 
For example:
EmailAddress FileName
persona@abc.com File1.pdf
personb@abc.com File2.pdf
personc@abc.com File3.pdf
 
The end result will be around 1000 rows so automating it will be much more straightforward than emailing everyone and attaching the files one by one.
 
I would like to build a flow that emails persona@abc.com with the file File1.pdf attached, before looping and going down the column until everyone has been emailed. The file name in the second column of this Excel sheet matches a PDF file with the same name and is stored in the same folder as this Excel sheet.
 
I've managed to get it to work by fixing the PDF file, but not managed to get a dynamic file path to work. It feels like it should be straightforward but I am going round in circles - any help is appreciated!
Categories:
I have the same question (0)
  • Suggested answer
    Amardeep Raj Profile Picture
    74 on at
    Hi, @KS-20051346-0

    Can you try it like this, as I attached in the screenshot? Also, could you please provide some visual attachments showing the exact error you are getting so I can help you better?






    If the issue is resolved, click the "Mark as Answered" button on the helpful reply so others facing the same error can find the answer quickly.
    Thank you

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard