Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Array variable not showing up as available to attach to email

(0) ShareShare
ReportReport
Posted on by 241

I have a powerapps form that allows the user to add an attachment. This flow pulls the data that they've submitted and puts it into a table, and then forwards it to those who require the data. 

 

I found a guide suggesting that attachments need to be put into an array first, and then they can be added as an attachment to an email.

 

The problem is that the array variable does not display as an option under the Attachments Name or Attachments Content (I assume this is the correct option) sections.

 

 

1.PNG

2.PNG

3.PNG

  • rsparks Profile Picture
    241 on at
    Re: Array variable not showing up as available to attach to email

    EDIT: Solved. Had to input body('Get_attachment_content').$content as an expression, not just as plaintext.

     

     

    @v-bacao-msft 

     

    I'm now getting another error. I don't understand, the 'To', 'Subject' and 'Body' fields clearly have data in them. What are the "required input parameters" that flow needs?

     

    1.PNG

    2.PNG

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Array variable not showing up as available to attach to email

     

    Hi @rsparks ,

     

    You need to click the "T" icon, then the type of this field will become array, then you can fill the array variable here.

     

    Best Regards,

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492