Skip to main content

Notifications

Power Automate - Building Flows
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?
  • takolota1 Profile Picture
    takolota1 4,790 on at
    Split Expression
    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
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    Split Expression
    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).
     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard