I am working on a Flow that takes values from a SharePoint List multiple lines of text column type and puts into another SharePoint List single line of text column type. This part I have working. The part that is failing for me is I would like to split the multiple lines of text on a carriage return and I cannot figure out to do this. When I attempt to do the following split
split(outputs('Get_items')?['body/value'], '\n')
I get the following error:
"Unable to process template language expressions for action 'Apply_to_each' 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 'Null'. Please see
https://aka.ms/logicexpressions#split for usage details.'.
I have inserted a screenshot of my flow. I am fairly new to Power Automate so I am probably missing something very obvious. Any help you can provide is very much appreciated.