JSON to CSV V2

Discover more about the JSON to CSV V2 component and how to use it on the Digibee Integration Platform.

JSON to CSV V2 allows the creation of files and CSV structures from an input JSON.

Parameters

Take a look at the configuration options for the component. Parameters supported by Double Braces expressions are marked with (DB).

Messages flow

Input

It's necessary to inform an array of objects in the Body field and inform in the Header field the headers that correspond to the keys of these objects. Example:

Headers: header1,header2,header3

Body:

[{
   "header1": "some_value",
   "header2": "some_value",
   "header3": "some_value"
}]

Output

If the Output as File option is enabled:

{
   "success": true,
   "fileName": FILE_NAME
}
  • success: property that indicated if the execution has been successful or not

  • fileName: name of the generated file

If the Output as File option is disabled:

{
   "success": true,
   "data": [
       "header1,header2,header3",
       "some_value,
       some_value,some_value"
   ]
}
  • success: property that indicated if the execution has been successful or not

  • data: CSV generated as an array of strings

To better understand the flow of messages in the Digibee Integration Platform, read the article about Messages processing.

Last updated