web
You’re offline. This is a read only version of the page.
close
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 467

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

I have the same question (0)
  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi Babu,

    In the "Send an email (V2)", click "Show advanced options", 

    pastedimage1591341580533v1.png

    Then you can add the attachment.

    pastedimage1591341808216v2.png

  • Narendra Sunkara Profile Picture
    467 on at

    Hi Hao,

    Thanks for your reply.  I have done that now it looks better.

    I have other 2 questions

    1. How to include all the attachments dynamically from Notes section of the case record

    2. What needs to be populated to Attachment content

    Regards

    Babu

  • Verified answer
    LuHao Profile Picture
    40,892 on at

    Hi Babu,

    Please refer to https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

    pastedimage1591347970082v1.png

    pastedimage1591348006633v2.png

    Please note all single and double quotes.

    Click the button to the right of Attachments to switch to the array.

    pastedimage1591349061076v1.png

  • Narendra Sunkara Profile Picture
    467 on at

    Hi Hao,

    I followed all your steps but getting following error. Can you please help me

    pastedimage1591357326782v1.png

    Also, I could not see the "AttachmentArray" from the dynamic list to add it in the attachement attribute of "Send an email"
    pastedimage1591357398771v2.png
    If I add the "Send an email" step inside "Apply to each" step, multiple emails are triggered (one for each attachment) and we get the below error when we open the word document
    pastedimage1591357473441v3.png
    Please help me
    Regards,
    Babu
  • LuHao Profile Picture
    40,892 on at

    Hi Babu,

    Could you provide detailed screenshots of each step?

    I have tested it and the flow runs successfully.

    pastedimage1591583693591v1.png

  • Suggested answer
    Joel CustomerEffective Profile Picture
    445 on at

    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

  • Suggested answer
    Linn Zaw Win Profile Picture
    3,407 on at

    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
  • Narendra Sunkara Profile Picture
    467 on at

    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
    LuHao Profile Picture
    40,892 on at

    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
    467 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans