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 email with PDF at...
Power Automate
Answered

Send email with PDF attachment from SharePoint Library

(0) ShareShare
ReportReport
Posted on by

I've built a flow that creates a list item from a PowerApp, populates a Word template, converts this to a PDF (this all works OK).

 

I want the next step to attach this PDF to an email using Send an email (V2). I did have this working but now can't work out the correct fields to add into the 'Attachments' section to have it attach correctly. The email sends OK and does attach what looks like a PDF but won't open. Any help would be great.

Bonniedog2_0-1700028786922.png

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Bonniedog2 ,

     

    I've made a test for your reference :

    vbofengmsft_0-1700029871611.png

     

    vbofengmsft_1-1700029905538.png

    vbofengmsft_2-1700029931734.png

     

     

    Best Regards,

    Bof

     

  • Bonniedog2 Profile Picture
    on at

    Thanks for the response. My flow creates a Word doc in a SharePoint Library and then converts it to a PDF in the same library. This works OK - I see both docs in the Library (this PDF opens correctly). In the 'Content' field of 'Attachments' I've used dynamic content 'body/Id' which attaches what looks like a PDF but when trying to open Reader, comes up with an error - 'can't open, may be damaged (emailed and wasn't correctly decoded)'. I wan't to keep the flow as is, but need to put the correct details in the 'Content' field. Thanks

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Bonniedog2 ,

     

    Could you please show me your flow?

     

    Best Regards,
    Bof

  • Bonniedog2 Profile Picture
    on at

    Below is the flow:

    Bonniedog2_0-1700099824234.png

    Below is the details for the 'Create PDF' step (this works correctly and creates a correct PDF:

    Bonniedog2_1-1700099860899.png

    Details in the 'Send an email' step:

    Bonniedog2_2-1700099901575.png

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Bonniedog2 ,

     

    The create file action do not return file content , please try:

    vbofengmsft_0-1700100988400.png

     

    Best Regards,

    Bof

     

  • Bonniedog2 Profile Picture
    on at
    Spoiler (Highlight to read)
    Thanks for your patience Bof - this is working perfectly now.
    Thanks for your patience Bof - this is working perfectly now.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard