How to convert a text string delimited by a pipe to json

I have text data delimited by a pipe “|” as shown below and need to separate the values to store them into different variables or a JSON file to use them as variables.

Data = 00292|120230155|NETC1.2023.155-1|4385529|20520|20240601102113|PAID

make.com_1

Thanks

Hey @Milton_Bengui

Welcome to make community

You can use the split function here

Where? Can you please be more precise?
Thanks

Hey @Milton_Bengui, you can use the split() function. This is how you would write it:

split(map_your_data_field;|)

2 Likes

It is returning…
make.com_3

The setup:

Thanks

@Milton_Bengui

mapping

output

I managed to get it right, by parsing the text value from the converted encoding.
It seems to get the string directly from the module Convert encoding is not accepted.
Thanks

2 Likes