Skip to content

Data to XML

Data to XML turns the data coming from an earlier step into XML text. XML is a format that organises information with tags, such as <customer><name>Ana</name></customer>, and many management, invoicing and public administration systems still use it.

Use it when you have to deliver information to a system that only understands XML.

When to use it

  • Send orders to an ERP or a supplier that receives data as XML.
  • Prepare a file for an invoicing or government platform that asks for XML.
  • Connect your flow with older services that don’t accept other formats.
  • Keep a copy of your records in a format any system can read.

Configuration

FieldWhat it does
Data (required)The data you want to convert. You can connect one or several records.

Output

The Data output returns one record for each incoming record. Each one has an xml field with the XML text.

  • All the content sits inside a main <root> tag.
  • Each field becomes a tag with its name.
  • If a field contains a list, its tag is repeated once for each item.

Connect the output to the component that sends or stores the information, for example API Request.

Example

Your flow receives an order with its number, date and list of items. Data to XML turns it into text with one <items> tag per item, and API Request sends it to your logistics provider’s system.