In my flow, I pull data from a .tsv file we host, then split it into rows and then grab the headers from the first line and it all works fine.
The problem I have it trying to convert 2 of the values from String to Integer. The value should be a price so 1000.00 for example.

I get the value from the .tsv using the expression: split(item(),' ')?[4]
This works and pulls it as a string. I've tried many ways to convert this into a integer but nothing seems to be working. The most obvious way to me is int(split(item(),' ')?[4]) but this doesn't work.
This is the error I get: The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
Any help would be appreciated. 🙂