Data Converter
Data Converter provides fast and reliable transformation between EML, JSON, and XML formats for seamless data integration.
The Data Converter connector enables seamless data format transformation within Swimlane Turbine, supporting JSON, XML, and EML email files. This connector provides low-code actions to convert between JSON and XML, as well as extract structured data from EML files into JSON. By automating data conversion processes, users can easily integrate disparate systems, normalize data for downstream analysis, and streamline playbook development without manual intervention. Integration with Data Converter enhances interoperability and accelerates automation workflows across diverse security and IT environments.
Capabilities
- Convert from JSON to XML
- Convert from XML to JSON
- Convert from EML to JSON
Actions
Convert JSON to XML
Convert JSON input into XML format for seamless data interchange and integration with other systems.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
json | string | Required | Parameter for Convert JSON to XML |
Input Example
{"json":{"name":"John","age":30,"city":"New York"}}
Output
Parameter | Type | Description |
|---|---|---|
xml | string | Output field: xml |
headers | object | HTTP headers for the request |
reason | string | Response reason phrase |
status_code | number | HTTP status code of the response |
Output Example
{"xml":"string"}
Convert XML to JSON
Convert a valid XML input into structured JSON format for easier data manipulation and integration.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
xml | string | Required | Parameter for Convert XML to JSON |
Input Example
{"xml":"string"}
Output
Parameter | Type | Description |
|---|---|---|
json | object | Output field: json |
headers | object | HTTP headers for the request |
reason | string | Response reason phrase |
status_code | number | HTTP status code of the response |
Output Example
{"json":{"audience":{"id":{},"name":"Shubham"}},"headers":null,"reason":"OK","status_code":200}
EML to JSON
Convert an EML email file into structured JSON data by providing the email file as input.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
file | object | Required | EML file. |
file.file | string | Optional | Parameter for EML to JSON |
file.file_name | string | Optional | Name of the resource |
Input Example
{"file":{"file":"string","file_name":"Example Name"}}
Output
Parameter | Type | Description |
|---|---|---|
success | boolean | Whether the operation was successful |
data | object | Response data |
Output Example
{"success":true,"data":{}}
Response Headers
Header | Description | Example |
|---|---|---|
Content-Type | The media type of the resource | application/json |
Date | The date and time at which the message was originated | Thu, 01 Jan 2024 00:00:00 GMT |