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 / Extra email addresses ...
Power Automate
Answered

Extra email addresses from Output (array)

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • Verified answer
    DeepakS Profile Picture
    2,301 Most Valuable Professional on at

    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.
  • Linda777 Profile Picture
    178 on at

    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

     

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

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard