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 / Split string into arra...
Power Automate
Suggested Answer

Split string into array of objects

(0) ShareShare
ReportReport
Posted on by
Hi, 
 
I am trying to convert a string from a SharePoint column (type text) into an array of objects so that I can put it into another SharePoint column (type choice).
 
The text column holds data like 'APAC, EIMEA' or 'Global'. How can use Power Automate to do this? 
 
Thank you
I have the same question (0)
  • Suggested answer
    Fredrik_A Profile Picture
    3,644 Super User 2026 Season 1 on at
    Hey,
     
    you can try something like this:
     
    split(triggerOutputs()?['body/COLUMNNAME'], ', ')
    And then map it like this to update your choice column:
     
    [{"Value": "value1"}, {"Value": "value2"}]
    If my response solved your issue, please mark it as ✅ Accepted Answer and give it a like.
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,212 Super User 2026 Season 1 on at
     
    Split the text into an array -> Add a Compose action with this expression:
    • split(triggerOutputs()?['body/YourTextColumnInternalName'], ',')

    Add another Compose action for trim spaces

    • select(outputs('Compose'),  trim(item()))
    Add a Select action
    •  From -> Output of Compose 
    • Map: Key: Value, Value: item()
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 411

#3
David_MA Profile Picture

David_MA 337 Super User 2026 Season 1

Last 30 days Overall leaderboard