Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Help wit Compose expression

(0) ShareShare
ReportReport
Posted on by

I would like to take this compose action below and change it from [ "email1", "email2"] to email1; email2. Please help! 

 

PDT2017_0-1650393890582.png

 

  • PDT2017 Profile Picture
    on at
    Re: Help wit Compose expression

    Thank you! That worked great. 

  • abm abm Profile Picture
    32,488 Most Valuable Professional on at
    Re: Help wit Compose expression

    Hi @PDT2017 

     

    I got a better one for you try the below

     

    join(outputs('Compose'),';')
  • PDT2017 Profile Picture
    on at
    Re: Help wit Compose expression

    Thanks! I would use the split() function to turn it into an Array, is that correct?

  • Verified answer
    abm abm Profile Picture
    32,488 Most Valuable Professional on at
    Re: Help wit Compose expression

    Hi @PDT2017 

     

    Here is the expression

     

    replace(replace(replace(string(outputs('Compose')),'[',''),']',''),'"','')
     
     
    If you need to convert that comma to semi-colon then use the below expression
     
    replace(replace(replace(replace(string(outputs('Compose')),'[',''),']',''),'"',''),',',';')
  • abm abm Profile Picture
    32,488 Most Valuable Professional on at
    Re: Help wit Compose expression

    Hi @PDT2017 

     

    Use replace() expression to remove the other characters.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492