Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Convert Data xml-json and send email

This example shows how easy it is, to convert the data from one format to other format. We can pass any xml data in the rest api call and get that converted to json format.


Have some XML data handy to convert to Json


  1. Go ahead and get started creating a blank workflow. If you need a refresher on how to get to this point, this guide can be a great introduction. Your starting point should resemble CreateWorkFlow

  2. In the search dialog lookup "xml to json" service and select "XML to JSON" service, drag and drop it into the flow canvas. XML to JSON Connect the arrows automatically from start to the XML to JSON service icon. This inserts the 'XML to JSON' step in the flow. Hardcode the XML data which need to be converted to JSON.

  3. Under XML to JSON service mapping map the input body to XML Data Mapping

  4. We can configure send email if the converted data need to be sent over email to the respected audience. In the search dialog lookup "send an email" service and select "Send an Email" service, drag and drop it into the flow canvas. SendEmail

5.Under Send an Email configuere the to address, cc, subject and map the body to Json data. SendEmailMapping

6.Your complete flow should looks like this.CompleteFlow

  1. Now test the flow by clicking on Test button. We can view the result in Action tab.Testing
You can’t perform that action at this time.