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

Community site session details

Session Id : Rs6e8PB0s4avzlSe/LdG65
Power Automate - Using Flows
Answered

Extra email addresses from Output (array)

Like (0) ShareShare
ReportReport
Posted on 21 Feb 2020 19:17:00 by 178

Hello,

I got a output of an array, like

[

  a@gmail.com,

  b@gmail.com 

]

when create an event, the required field turns out like:

address 1: [a@gmail.com

address 2: b@gmail.com]

I don't know how to remove "[" and ""]" from the email address.

 

Many thanks.Feb20_1.png

 

 

Feb20.png

  • Linda777 Profile Picture
    178 on 22 Feb 2020 at 18:54:02
    Re: Extra email addresses from Output (array)

    Hi Deepaks,

    It works perfectly! 

     

    Can I ask an extra question, about the number of array is already changed, I got it from apply for each,  how can i get the number and put it in variables('Array')[x], I put it on a required (to create event) field, like: 

    Required: variables('Array')[0];variables('Array')[1];.......variables('Array')[x]

     

    once again, thank you very much!😊

    Linda

     
  • Verified answer
    DeepakS Profile Picture
    2,301 Most Valuable Professional on 21 Feb 2020 at 20:53:08
    Re: Extra email addresses from Output (array)

    Hi @Linda777 

     

    If output is Array than you should use following expression to get the value:

     

    variables('Array')[0]  will give you first email
    variables('Array')[1] will give you second email
     
    where variable Array is  => ["a@gmail.com","b@gmail.com"]
     
    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow