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 Automate
Suggested Answer

Split Expression

(0) ShareShare
ReportReport
Posted on by 14

Hi, I am developing a flow that obtains the content of a csv file in sharepoint to convert into excel xlsx. However, when dividing the file contents and a new line, this error appears:
 
"Unable to process template language expressions in action 'splitByLines' inputs at line '0' and column '0': 'The template language function 'split' expects its first parameter to be of type string. The provided value is of type 'Object'. Please see https://aka.ms/logicexpressions#split for usage details.'."
 
Could You help me?
csv format.JPG
split.jpg
Categories:
I have the same question (0)
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
    Can you share the output of the SharePoint action? I can check.
    The error you’re encountering occurs because the split() function in Power Automate expects a string as input, but you're passing an object (the CSV file content is likely being read as an object rather than a string).
     
  • takolota1 Profile Picture
    4,978 Moderator on at
    If you need to go from a CSV to a new Excel table, then this template may help, or at least show you some actions & expressions you may need

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard