Getting Started
Basic Concepts
Advanced Concepts
How-to Guides
Building integration flows
Data transformation
Integration patterns
Developing Components
Tenant Management
CRM Components
ERP Components
E-Commerce Components
Basic Components
Utility Components
Component Descriptor
Covered in this article
Related articles
Contracts and Workspaces Understanding credentials Data Sample Overview Creating your first integration flow Getting Started What is an integration component? What is an integration flow? What is a tenant? Take a tour of the product Creating a webhook flow Building a component in Java Building a component in Node.js Content-Based Routing Deploying a component How-to Guides Managing flow history Managing OAuth Clients Managing user roles in a tenant Managing Workspaces Mapping data Building real-time flows Sending data to a list of recipients REST API component Managing your SSH keys Managing your Teams/Components Allmysms component Amazon MWS component AMQP component AppDirect Component AWS Lambda component AWS SNS component Bazaarvoice component ChannelAdvisor component Code component Configuration component CSV component Docusign component Dun-and-bradstreet component Ebay component Edifact-parser component Email component Exact Online component Filter component Google PubSub component Google-shopping component Google-translate component Goto-webinar component Google Spreadsheets component Components JDBC Component JDBC Component JDBC Component Jsonata component Key-value-component component Ldap component Lightspeed-ecom component Lightspeed-retail component Lionbridge-translation component Magento1 component Magento2 component Mailchimp component Mandrillapp component Mapper component Microsoft Dynamics CRM component MsSQL component NetSuite component ODATA component Outlook component Petstore-nodejs component Pipedrive component Postgresql component Quickbooks-component component Request-reply component Rest API component Router component Salesforce-cpq component Salesfoce Component Sdl-translate component Sftp component Shopify-admin component Shopware component Simple-trigger component Smarty-streets component Soap component Splitter component Stripe component Sugar-crm component Timer component Twitter component Webhook component Component Descriptor Structure References Sailor compatibility matrix View Classes

Xml component


This is an open source component for Converting XML to and from JSON on platform. Component to be used on the platform, which is able to convert XML to and from JSON.


This component has 3 actions allowing users to pass in either generic but well format XML/JSON string or XML attachment and produces a generic string of the other file type. The output then can be maped and used in other components.

How it works.

Before you can deploy any code into you must be a registered platform user. Please see our home page at to learn how.


Environment variables

No environment variables need to be set.



Takes XML string and converts it to generic JSON object.


input schema \ output schema


Takes the body of message passed into the component and converts to generic XML string


output schema

XML Attachment to Json

Looks at the json array of attachments passed in to component and converts all XML found to generic JSON object

Input field

Pattern to Match Files - enter pattern for filtering files by name or leave this field empty for processing all incoming *.xml files.


output schema

Known limitations

  • The maximum size of incoming file for processing is 5 MiB. If the size of incoming file will be more than 5 MiB, action will throw error Attachment *.xml is to large to be processed my XML component. File limit is: 5242880 byte, file given was: * byte..
  • Action does not support local agents due to current platform limitations.


Apache-2.0 © GmbH Icon made by Freepik from