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 / 2 array Attachments in...
Power Automate
Answered

2 array Attachments in one email.

(0) ShareShare
ReportReport
Posted on by 57

Hi Thank you above video. In my flow there 2 Array, I want to send in one email with an attachment of 2 array, How can I attach 2 array in send email action?

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Paul-2020 ,

     

    Please check this blog and refer to the method in this blog to achieve your requirements:

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

     

    If you encounter the error "No input parameters provided. Please provide required input parameters 'To', 'Subject' and 'Body'", you could check the comments below the article and get the solution to this issue.

     

    Feel free to let us know if you have any questions.

     

    Best Regards,

  • Paul-2020 Profile Picture
    57 on at

    Hi, 

    Thank you for your reply.

    Actually I created a flow to create pdf and send an email. Now I added this attachment array also. so In send email action it is not sending an email both (The created PDF file and Attachment array). Could you please advise me on what to do to get both The created PDF file and Attachment array in one email.

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

     

    Hi @Paul-2020 ,

     

    Could you please show me the configuration so that we could provide a proper workaround for you?

     

    Best Regards,

  • Paul-2020 Profile Picture
    57 on at

    1.png2.png3.png

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

     

    Hi @Paul-2020 ,

     

    You only need initialize an array variable, after you got the file content or attachment content, you could append the file name/attachment name and file content/attachment content to this array.

    This is a similar thread:

    https://powerusers.microsoft.com/t5/Building-Flows/2-different-attachments-in-one-array-possible/m-p/519607

    Hope that makes sense.

     

    Best Regards,

  • Paul-2020 Profile Picture
    57 on at

    Hi, 

    I have tried this way but still I am receiving an email without attachment only.

    Kindly refer the Screenshot.

    2020-05-05 (3).png

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

     

    Hi @Paul-2020 ,

     

    It seems that you understood my meaning. You only need to initialize an array variable.

    And append all attachment name/Filename and Attachment content/File content to this array by using Append to array variable.

    {

    "Name": "",

    "ContentBytes":""

    }

     

    Best Regards,

  • Paul-2020 Profile Picture
    57 on at

    2020-05-05 (4).png

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

     

    123.PNG124.PNG125.PNG

    Only one variable.

     

     

  • Paul-2020 Profile Picture
    57 on at

    Thank you so much.

    You made my day.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 484

#2
11manish Profile Picture

11manish 282

#3
David_MA Profile Picture

David_MA 280 Super User 2026 Season 1

Last 30 days Overall leaderboard