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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Answered

Variable not passing

(1) ShareShare
ReportReport
Posted on by
Hello,
 
I'm trying to build a flow that sends an email with an attachment from a network folder.  I'm struggling to get the Output variables from the Filter_array to become available in get file content.
 
 
List files in folder \\ filter array \\ Get file content \\ Send Outlook email V2
 
 
Any help would be greatly appreciated.
 
Thanks,
 
Tim
Categories:
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at
    Hi, Try this expression instead
     
     
    body('Filter_array')?['Name']
     
    OR
     
    outputs('Filter_array')?['body/Name']
     
     
    Let me know if it works or not !
     
    Thanks & Regards,
    Nived N 
    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs
     Found my answer helpful? Please consider marking it as the solution!
     Your appreciation keeps me motivated. Thank you!

     
  • Maverick79 Profile Picture
    on at
    unfortunatley it didn't work
  • Verified answer
    Maverick79 Profile Picture
    on at
    I think I need Parse JSON action to resolve it but I can't to get it to work
  • Suggested answer
    AbbyRausch Profile Picture
    on at
    Hi, Tim!

    The outputs of "Filter Array" is still an array (called "body"), so if you're trying to do this for only one item you probably need to grab just the first item in the array like this:

    first(outputs('Filter_array')['body'])

    Which should bring back just the first object. Then you can get any property in that object, so the whole expression to get just the Name would be 

    first(outputs('Filter_array')['body'])['Name']
     
    Hope that helps!

    Abby
  • Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at
    Thanks for pointing out @AbbyRausch
     
    I missed that :)
     
     

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
David_MA Profile Picture

David_MA 223 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 205 Most Valuable Professional

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard