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 / Email Attachments in Flow
Power Automate
Answered

Email Attachments in Flow

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I am making a workflow for a SharePoint list. I want to send an email notification when a new item is created. However, I am not able to include attachments from the list to the email. 

 

Below is my flow:

Beginning of My Flow.PNG

 

 

My question is, how do I add the array to the "attachments" section of the email?

 

End of My Flow.PNG

 

I would greatly appreciate an answer from Flow experts! 

 

*Note: I did try using the "Compose" action instead of the "Initialize variable" action, but the emails coming from the Flow do NOT allow me to open documents. With the "Compose" action, I was able to create a variable and include that "Output" in the Attachments Content section of the email... However, that did not function properly (as noted, I was not able to open documents).

Categories:
  • rookie Profile Picture
    2 on at

    Hi,

     

    Now that you have stored the file name and contents of the attachment in a variable, you can configure the variable directly in the Attachments field.

    51.PNG52.PNG

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

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

    Hi @Anonymous,

     

    Have your problem been solved?

     

    As @rookie said, please switch to input entire array for the attachments by click the icon below:

    Capture.PNG 

     

     

    Please let me know if your problem could be solved.

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I attached the Attachment Array as you showed:

     

    AttachmentArray.PNG

     

    However, my problem isn't resolved. Despite attaching the array, I get errors for the Flow. 

    Flow Error.PNG

     

    Am I skipping a step or missing something?

     

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

    Hi @Anonymous,

     

    I have made a test on my side and don't have the issue that you mentioned.

     

    Could you please share more details about the error message in the "Send an email" action when the flow run failed?

    Please share the full error message with me so we would try to provide a proper workaround for you.

    Capture.PNG

     

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here is the full error message: 

     

     {
    "status": 400,
    "message": "No input parameters provided. Please provide required input parameters 'To', 'Subject' and 'Body'.\r\nclientRequestId: 2d6934f6-5b0f-42de-bb0e-367cdc0545fd",
    "source": "office365-ncus.azconn-ncus.p.azurewebsites.net"
    }
     
     
    This is odd, because I have included content in the "To", "Subject", and "Body" sections. 
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    The error message told that you haven't enter information for To, Subject and Body of the email in the Send an email action.

     

    Please make sure to add value to the To, Subject and Body of the email in the Send an email action, make sure to save the flow, and then run the flow to see if the issue still exists.

     

    Please let me know if your problem could be solved.

     

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, Alice. 

     

    I put values into the To, From, and Subject fields but still have the error. 

  • Karen-Miller Profile Picture
    4 on at

    Did this ever get resolved as I have had the same issue.

    All the fields are completed but I get the same error message.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes! The issue has been  resolved. The error was in the "Append to array variable" step. Here is what worked: 

    Capture.PNG

     

     

    Here is the full flow: 
    Full Flow.PNG

  • AlbertoSP Profile Picture
    118 on at

    I'm getting the same error, but nit sure howe to fixe the array.
    Was the a formula used in the expression to get  $content ?

     

     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard