Skip to main content
Reads a piece of XML text and turns it into structured data you can map field by field. Use this when a value arrives as an XML document, such as an order or product feed pulled from an API response, a file, or a single message field, and you want to work with its elements and attributes as ordinary fields instead of one long string. Each XML element becomes a key, nested elements become nested data, and attributes appear under keys prefixed with @. If the incoming text is in a character set other than UTF-8, you can turn on the encoding option to have it converted first.

Fields

Sample data

FieldValue
Automatically convert value’s typesOn
Input:
{
    "payload": "<order><id>1001</id><customer>Acme</customer><total>49.95</total></order>"
}
Output:
{
    "payload": {
        "id": 1001,
        "customer": "Acme",
        "total": 49.95
    }
}
Each element becomes a field, and because type conversion is on, 1001 and 49.95 come back as numbers rather than text.