I am looking to find a way to pass a big string of text like the one below and parse sections of the string in the outbound script for our employees to greet customers a certain way, leave particular voicemails based on the number of time we have called etc. Is it possible to split and stop based on known keys?
In the example below I would get this string from an integration action, this data gets assigned to a string variable. The idea is I could create text fields that show outgoing call and parse the string variable for all the text in the outgoingcall section.
Purecloud Data:
<outgoingcall></outgoingcall>
<vm1></vm1>
<vm2></vm2>
<vm3></vm3>
<vm4></vm4>
<vm5></vm5>
<vm6></vm6>
<vm7></vm7>