Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Email notification with attachment using Power Automate

(0) ShareShare
ReportReport
Posted on by 11,633

Hi All,

Is there a way to email business document as an attachment using email notification connector in Power automate. I have implemented a simple email notification mechanism using BusinessEvent framework and Power automate, but have a requirement to send business document like Sale order invoice or Purchase order confirmation as an attachement in email notification. Is it possible or has someone done this before ?

Thanks,

Baber.

  • syed baber Profile Picture
    11,633 on at
    RE: Email notification with attachment using Power Automate

    Thanks Ludwig. Will give it a go.

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Email notification with attachment using Power Automate

    Hi Baber,

    What I regularly do is defining the name with the help of electronic reporting (ER).

    As an example, you can define via a simple ER formula that invoices have a structure such as CompanyId-CustomerId-InvoiceId.

    This principle can be applied basically for all ER reports.

    Once you have that you can then user PowerAutomate to separate and identify the customerid, group all invoices that belong to the same customer in the same company and send all invoices out as a single attachment.

    Best regards,

    Ludwig

  • syed baber Profile Picture
    11,633 on at
    RE: Email notification with attachment using Power Automate

    Hi Ludwig,

    Thanks for your suggestion. One question though, how I am going to provide the filename to Power Automate? Does that needs to be included in the Schema using customization ?

    Thanks,

    Baber.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Email notification with attachment using Power Automate

    Hi Baber,

    What you can do is creating the documents with the help of electronic reporting and define SharePoint as the output destination. Once the documents are created on SharePoint, PowerAutomate can grab the file, attach it to an email and send it out to your customer.

    Posted a couple of those examples on my blog.

    Maybe have a look.

    Best regards,

    Ludwig

  • Suggested answer
    saurabh bharti Profile Picture
    15,033 Super User 2025 Season 1 on at
    RE: Email notification with attachment using Power Automate

    Hi Baber,

    Yes it is possible, you might need to add meta data in business event which can be easily customize.

    docs.microsoft.com/.../home-page

  • Suggested answer
    Christoph Thaler Profile Picture
    5,442 on at
    RE: Email notification with attachment using Power Automate

    Hi,

    Is is mandatory to use power automate? You can send documents by email within D365 as well. You can find an example here: www.sikich.com/.../

    You can use it for sales order confirmation as well.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,190 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans