cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Geometry
New Member

Text in columns with powerautomate

Hello

 

I need to know how can I turn text in columns from a csv file using powerautomate.

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Rhiassuring
Super User
Super User

Hi there,

 

You can use a split() on the delimiter (comma), and then build an array to format it in the way you want to put it into your SharePoint list. 

For example .. split(CSV,',')

Then, I'm lazy, so I'd run the flow - copy the JSON - then use a Parse JSON action.

 

Then, you can create a "Create Item" SharePoint action, and use the outputs from the Parse JSON - it'll turn into an apply to each, which is perfect for your needs.

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



View solution in original post

2 REPLIES 2
Rhiassuring
Super User
Super User

Hi there,

 

You can use a split() on the delimiter (comma), and then build an array to format it in the way you want to put it into your SharePoint list. 

For example .. split(CSV,',')

Then, I'm lazy, so I'd run the flow - copy the JSON - then use a Parse JSON action.

 

Then, you can create a "Create Item" SharePoint action, and use the outputs from the Parse JSON - it'll turn into an apply to each, which is perfect for your needs.

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



Geometry
New Member

thank you for you help, I tried it and it was great

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,021)