XML_PARSE

Takes text containing XML and parses to an object

Syntax 

XML_PARSE(text)

Usage examples 

Example 1

Input

1
{
2
"my_action": "<message>\n<to>World</to>\n<from>Tines</from>\n<body>Hello World!</body>\n</message>"
3
}

Formula

XML_PARSE(my_action)

Output

1
{
2
"message": {
3
"body": "Hello World!",
4
"from": "Tines",
5
"to": "World"
6
}
7
}

Sample Actions 

Event transform
My Action
Event transform
XML_PARSE

Select an action to inspect.

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?