cancel
Showing results for 
Search instead for 
Did you mean: 

Data Transformation Using Workato JS Connector

Patel0786
Deputy Chef I
Deputy Chef I

 i created a recipe for data transformation using JS snippet by workato, in this recipe i have a group of JSON object and i'm doing data transformation like converting firstName, lastName etc  to - (based on requirement) using JS code.

(in this recipe i put the complete json data in logger)

Recipe:-  https://app.workato.com/recipes/54842488?st=22358e2f16126f8b0aa51e349ae0de7633781b47a307c56fdd951d59... 

now i want to use the csv data in place of direct data passing in logger message, how to do i don't have an idea.

i tried by parsing the csv data action but it's throwing error.

 

2 ACCEPTED SOLUTIONS

Hi @Patel0786  the proposed method will use just 2 tasks, no matter how many elements are in the JSON list. There’s no need for For Each or loops to generate the CSV file.

View solution in original post

5 REPLIES 5

shivakumara
Executive Chef I
Executive Chef I

Hi @Patel0786 ,

I am just curious, whether you just wanted convert incoming payload to CSV contents? 

Thanks and regards,
Shivakumara Avadhani