Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow