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,593 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
    6,454 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard