Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to include attachments in Flow Email step

(0) ShareShare
ReportReport
Posted on by 465

Hi All,

 

I am using Microsoft flow to send a email when a case is updated. 

How can I include/add attachments in the email. Can someone please share some flow screenshots for this task

 

Thanks in Advance

Regards,

Babu

  • _nanu2208 Profile Picture
    _nanu2208 105 on at
    RE: How to include attachments in Flow Email step

    Hi,

    Thanks for the solution. I tried these steps. and the flow is working perfectly.  but the document which I attaching from notes, I want to convert it into pdf and then send . How can I achieve this in this flow?

    Thanks in Advance

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: How to include attachments in Flow Email step

    Hi Hao,

    There is small button to change the view, then I could able to see "attachmentArray" option. See the screen shot below

    Thanks for your entire help

    pastedimage1591749797430v1.png

    Regards,

    Babu

  • LuHao Profile Picture
    LuHao 40,876 on at
    RE: How to include attachments in Flow Email step

    Hi Babu,

    If you refer to this screenshot, then it really is not as I introduced.

    pastedimage1591680165270v1.png

    Please set it as follow.

    pastedimage1591680692677v2.png

    If I set it to File Name and Current item, then I will see the error you see.

    pastedimage1591680758968v3.png

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: How to include attachments in Flow Email step

    Hi Hao,

    I have already attached detailed screen shots in my previous reply. Please check the thread.

    Regards,

    Babu

  • LuHao Profile Picture
    LuHao 40,876 on at
    RE: How to include attachments in Flow Email step

    Hi Babu,

    Can you provide a screenshot of "Send an Email"?

    It should be like this.

    pastedimage1591673156267v1.png

    If I use File Name and Current item, then I can reproduce the error you encountered.

    pastedimage1591673322471v2.png

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: How to include attachments in Flow Email step

    Hi Hao,

    Thanks for your reply

    Getting following error , 

    If I add the "Send an Email" step outside "Apply to each", the flow could not be saved due to the below error message.

    pastedimage1591671959270v1.png

    Regards,

    Babu

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,876 on at
    RE: How to include attachments in Flow Email step

    Hi Babu,

    The reason why you see no AttachmentArray in the attachment of Email is that "send an email" should not be in "Apply to each".

    pastedimage1591666948018v1.png

     We add the step outside "Apply to each".

    pastedimage1591669374389v1.png

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: How to include attachments in Flow Email step

    Hi All,

    Thanks for your replies

    I tried all your answers

    Here are my detailed flow steps, Please have a look and find out the issue if anyone can

    pastedimage1591666434036v1.png

    pastedimage1591666452033v2.png

    pastedimage1591666472245v3.png

    pastedimage1591666484450v4.png

    Regards,

    Babu

  • Suggested answer
    Linn Zaw Win Profile Picture
    Linn Zaw Win 3,407 on at
    RE: How to include attachments in Flow Email step

    Hi Babu

    Please refer to my blog below on how to Send Email from Dynamics 365/CDS with Attachment from Notes Using Flow

    http://linnzawwin.blogspot.com/2020/05/send-email-from-dynamics-365cds-with.html

    In the blog post, you can see step by step instructions on

    • how to retrieve all the attachments dynamically from Notes section of the record and
    • how to populate null to Attachment field of the ActivityMIMEAttachment entity using CDS standard connector
  • Suggested answer
    RE: How to include attachments in Flow Email step

    Which email sending step are you using? Send mail or outlook?

    Where is your file you are attaching stored?

    I recommend saving the file you wish to attach in onedrive then you can do something like this powerusers.microsoft.com/.../116353

    Also check out Elaiza Benitez YouTube channel. She has lots of great flow email content www.youtube.com/.../UCeIIWnODcCXaN-ERLzeOScA

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans