1 comment

  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Sergio Garcia fundamentally, everything within a Celigo flow has to be JSON. When an api returns CSV, EDI, XML, etc, we convert it to JSON and that JSON goes through the flow. If you then need to send XML to a destination, you would set the connection to XML or override the media type to XML and then build the XML structure in the request body. You could also go the script route, but the output of the script has a single JSON field with all the XML you've made and then you use a handlebar expression in the request body that is the XML field of your JSON record. Here is an example:


Please sign in to leave a comment.