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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to send email noti...
Power Automate
Answered

How to send email notification with attachment when new item added.

(0) ShareShare
ReportReport
Posted on by 2

Dear Experts,

 

I would like to create a flow for sending email notification with attachment when new item added. 

I can put Name, Created field on the email body, but not attachment. 

 

May I have advise how can I send an email with all attachments ? 

 

Thank you

Kevin 

 

Attachment.JPG

 

 

 

Categories:
I have the same question (0)
  • Jay-Encodian Profile Picture
    2,920 on at

    Hi Kevin,

    The attachment's array is expecting two pieces of data:

    • Attachment Name: (String) the filename of the attachment
    • Attachment Content: Base 64encoded representation of the file to be attached

    There are loads of flow actions which can be used to obtain the 'Attachment Content', I've used the 'Get File Content using path' action... but there are lots more.

    I've attached an example flow which is triggered when a new document added to a library, the file is converted to a PDF document (Using the Encodian flow action) and attached to an email.

     

    example.jpg

    Hope this helps

     

  • Jay-Encodian Profile Picture
    2,920 on at

    Hey @Gtilam,

    You need to provide two pieces of data to add an attachment:

    • Attachment Name: (string) the filename of the attachment
    • Attachment Content: A Base64 encoded representation of the file.

    I've included an example flow below which is triggered when a new file is added to SharePoint library, the flow retrieves the 'File Content' (Base64 encoded representation of the file) using one of the many get file content actions, converts to PDF (using the Encodian connector) and adds the file to the email.

    Hope this helps demonstrate how to add the attachment.

    example.jpg

  • ScottShearer Profile Picture
    25,278 Most Valuable Professional on at

    @Gtilam:

     

    The solution provided by @Jay-Encodian should work for you.  However, I do want to mention that the action to convert to PDF is optional - you can skip that step and simply attach the file in the original format as saved in the SharePoint library.

     

     

  • Jay-Encodian Profile Picture
    2,920 on at

    @ScottShearer good shout! absolutely optional and was just for demonstrable purposes 🙂

  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @Gtilam,

     

    Do you want to get the attachments contained in the list item and send them as attachment to the email?

    You could refer to this method:

    Use Get attachments to get all the attachments that the item contains, then create an array, store the attachment contents in the array.

    The output of the variable is populated in Attachments field.

    Image reference:

    24.PNG

    25.PNG

    26.PNG

    Email with list item attachments:

    27.PNG

    Please take a try.

     

    Best Regards,

    Barry

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard