Sometimes, we need to parse XML data into types other than a string, such as when we need to sum values together to find a total number.
Depending on your action (examples: HTTP Request, or Parse XML Document), you will have to change either your Sample document or Response body example. Simply add type="{desired type}" to the necessary field.
For example:
<number>123</number>
might become
<number type="integer">123</number>
Workato currently supports parsing XML by integer, boolean, datetime, and date.