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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Send an email when a file is created but unable to open file

(0) ShareShare
ReportReport
Posted on by 29

I am currently testing with only myself as a recipient. The files that should be sent is always a pdf. once per day. and file naming format is always the same with the only change being the date. 

 

The purpose of this is that when a file is added to the specified folder, the an email will be sent to the intended recipients, with the attached file/pdf. 

 

The main issue I am unable to open and read the file thats attached. the email is sent and received quickly. but I am unable to open the file.

 

a second smaller issue I'm having trouble with is how to change the message portion. I can get a message on there, but I cant seem to put an image of a logo to send as part of that message.

 

I am very unfamiliar with power automate., if it makes a difference.

I have the same question (0)
  • shinegull Profile Picture
    29 on at
    Re: Send an email when a file is created but unable to open file

    Flow 1.png

     

    picture didnt seem to have been uploaded

  • Verified answer
    Rhiassuring Profile Picture
    8,690 Moderator on at
    Re: Send an email when a file is created but unable to open file

    Hi there @shinegull , 

     

    In the second spot where you put your attachment context, you need to use the "File Content" - not the name again. This will be the issue. To get that, you'll need to add another action.

     

    Rhiassuring_0-1650086771565.png


    Now, to add images into your email body, you could give this a try:

    https://powerusers.microsoft.com/t5/Building-Flows/Insert-image-in-Send-Email-V3/td-p/958368

     

    Note that the user says that your image(s) must be loaded into OneDrive, then use Get File Content, and place that formula into the body of the email.

    R

     

  • shinegull Profile Picture
    29 on at
    Re: Send an email when a file is created but unable to open file

    Thank you for this. I got the file attachment working. still having some trouble with the image bit. but i'll keep working on that

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard