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 / Pass an array an retur...
Power Automate
Unanswered

Pass an array an return an array in power automate

(0) ShareShare
ReportReport
Posted on by

Dear community, I am looking for an example where I have to pass an array of emails in flow. The emails are from SharePoint list columns. I have to check each value against another list. If there exists a replacement for an email, replace in the original array else keep the email value as is. After every email is processed, return an array back to calling flow. Thanks in advance.

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @Vaibhav_k 

     

    need some clarification 🙂

     

    1. Are you attaching emails to a sharepoint list items?

     

    2. what does list contains to which you comparing each email ?

     

    3. what you meant by return an array back to calling flow ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Vaibhav_k Profile Picture
    on at

    Hi @Nived_Nambiar 

     

    1. Are you attaching emails to a sharepoint list items? Yes

     

    2. what does list contains to which you comparing each email ? It contains information about delegation users when user is on leave, user email, delegated to email, from date and to date

     

    3. what you meant by return an array back to calling flow ? Basically create an array with new updated values

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @Vaibhav_k 

     

    How you are trying to compare each email with list, still not getting that point ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Vaibhav_k Profile Picture
    on at

    Hey @Nived_Nambiar basically email contained in array should be searchable in username column under the list. if there exists user email which is also part of array then pick up corresponding email from delegate to email and replace it in the original array in place of original user email. If there is no occurrence, the item at that index in array should remain as is.

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @Vaibhav_k 

     

    so its like comparision b/w two list and the updating attachments accordingly in first list , am i right ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Vaibhav_k Profile Picture
    on at

    Hi @Nived_Nambiar that’s correct. Constructing an array of emails from first list columns and then compare against the second list and updating first list column values

  • Vaibhav_k Profile Picture
    on at

    Hi @Nived_Nambiar is there a way to achieve this?

  • Vaibhav_k Profile Picture
    on at

    Dear community, I am struggling a bit here. Can someone assist here?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard