Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to import recipients from XML file using Adobe Campaign workflow

Avatar

Avatar
Validate 1
Level 2
dannycollins
Level 2

Likes

15 likes

Total Posts

10 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
dannycollins
Level 2

Likes

15 likes

Total Posts

10 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
dannycollins
Level 2

18-05-2017

Hello,

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>johndoe@doedoe.com</email> <birthdate>12/17/1976</birthdate> <address> <line1>xxx</line1> <line2>xxx</line2> </address> </recipient> <recipient> <lastname>Doa</lastname> <firstname>Johna</firstname> <email>johnadoa@doadoa.com</email> <birthdate>12/17/1978</birthdate> <address> <line1>xxx</line1> <line2>xxx</line2> </address> </recipient> </recipients>

Thank you,

Danny

Accepted Solutions (0)

Answers (0)