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 / Array variable not sho...
Power Automate
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

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

     

    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,

  • rsparks Profile Picture
    241 on at

    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

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 412

#2
Vish WR Profile Picture

Vish WR 305

#3
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

Last 30 days Overall leaderboard