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 Apps / Attaching PDF to Email...
Power Apps
Answered

Attaching PDF to Email automatically

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

@Anonymous 

 

I am currently using a Flow to create a PDF from HTML produced within the app. I'm looking for a way to click a button and attach that PDF to an email from Powerapps. 

 

The button is currently set to: 

Launch("mailto:myemailaddress@outlook.com");

but I can't seem to find any documentation on how to attach the created PDF to the email automatically. 

Any suggestions? Is this even possible? 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    you could start the flow from within powerapps, this way you could send the email address as a variable to flow, then in the flow after the creation of the pdf you could add it as an attachment to your email.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So I tried to do this and during testing everything worked until it got to the email portion. I'm very new to Flows so I'm not sure what I'm doing wrong.... the email address will always be the same, the subject will always be the same, it's only the PDF that will change. 

     

    Here is the current flow: 

    1.png

    2.png

    It works great to this point. 

     

    Here is what I attempted to add to it (this is where it fails): 

     

    3.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Does your file name also had the extension in it, like .Pdf?

    Also you could make the email variable by giving a emailadress as a parameter grom powerapps, somewhere states "ask in powerapps"
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous 

     

    Yes, the file name includes the file extension. 

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

    Hi @Anonymous 

     

    Do you want to send PDF by email?

    https://clavinfernandes.wordpress.com/2018/04/13/convert-powerapps-data-to-pdf-and-send/

     

    Best Regards.

    Yumia

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-yuxima-msft Yes, I want to send PDF by email but I'm not able to use the program in that tutorial. 

  • Merlijn Profile Picture
    128 on at
    Hi, I see some similarities with my app when sending an image as an an attachment without the use of flow.

    See this topic and change the image .jpg to .PDF and it might work!

    https://powerusers.microsoft.com/t5/General-Discussion/send-image-via-email/td-p/103464

    Let me know if this solution works, then I can make use of it when I'm trying to send emails with a pdf attachment. I'm interested in your 'pdf generator' 😉
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I found an article that said it was necessary to completely rebuild the Flow for it to be able to work again. This worked. I'm not sure why since it's identical to the other Flow but it's working now. Thanks for all the help 🙂

  • rebeccas Profile Picture
    2,591 on at

    @Anonymous 

     

    Try following these notes. These will allow you send to multiple attachments on one email via Flow.

     

    See attached.

     

     

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard