web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email Attachments in Flow
Power Automate
Unanswered

Email Attachments in Flow

(1) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • rookie Profile Picture
    2 on at
    Re: Email Attachments in Flow

    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
    on at
    Re: Email Attachments in Flow

    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
    on at
    Re: Email Attachments in Flow

    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
    on at
    Re: Email Attachments in Flow

    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
    on at
    Re: Email Attachments in Flow

    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
    on at
    Re: Email Attachments in Flow

    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
    on at
    Re: Email Attachments in Flow

    Hi, Alice. 

     

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

  • Karen-Miller Profile Picture
    4 on at
    Re: Email Attachments in Flow

    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
    on at
    Re: Email Attachments in Flow

    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
    Re:Email Attachments in Flow

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard