How to import recipients from XML file using Adobe Campaign workflow




I have a XML file containing profile data and I would like to import it through a workflow. I've read in the documentation that importing XML can be done using JS in a workflow and that the data loading (file) activity is designed to handle flat formats like css rather than XML.

So does anyone have an example of JS that I could use to import my XML file?

Let's say my XML is simple as this (assuming it could get more complicated later): 

<?xml version="1.0" encoding="UTF-8"?> <recipients> <recipient> <lastname>Doe</lastname> <firstname>John</firstname> <email></email> <birthdate>12/17/1976</birthdate> <address> <line1>xxx</line1> <line2>xxx</line2> </address> </recipient> <recipient> <lastname>Doa</lastname> <firstname>Johna</firstname> <email></email> <birthdate>12/17/1978</birthdate> <address> <line1>xxx</line1> <line2>xxx</line2> </address> </recipient> </recipients>

Thank you,


Accepted Solutions (0)

Answers (0)