Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 6sZmv0jBzp7YBTUqSzg/5C
Power Automate - Building Flows
Suggested answer

Split Expression

Like (0) ShareShare
ReportReport
Posted on 24 Oct 2024 19:11:47 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
    4,831 Super User 2025 Season 1 on 25 Oct 2024 at 16:30:16
    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
    14,292 Most Valuable Professional on 24 Oct 2024 at 21:34:18
    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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading started