Execute a Javascript in client variable

Avatar

Avatar
Level 1
saraschez
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
saraschez
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
saraschez
Level 1

28-02-2020

Hello,

 

I wonder if the following steps are possible to do in adobe campaing and how could I do it.

 

Step 1: Select a set of clients based on criteria
Step 2: On each of those clients, execute a javascript, which will return a different result for each client (this JS will do a call to the API and get a code).
Step 3: Insert the data of each client, including the data obtained in step 2 (the code), in the email template and send it.

 

I really appreciate if someone helps me with this doubt.

Thanks,

Sara

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 250
Employee
ramon_bisswanger
Employee

Likes

271 likes

Total Posts

397 posts

Correct reply

199 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
View profile

Avatar
Boost 250
Employee
ramon_bisswanger
Employee

Likes

271 likes

Total Posts

397 posts

Correct reply

199 solutions
Top badges earned
Boost 250
Affirm 100
Give Back 25
View profile
ramon_bisswanger
Employee

29-02-2020

If you consider Campaign Standard (as you posted in ACS forum) then No, it won't work in that way.

You could do a single call to a web service including al relevant profile information needed. The web service then needs to return e.g. 1 row per profile which can be joined back.

Potentially an in-between script (Adobe I/O, Amazon Lambda, ..) may be needed.

 

If using Campaign Classic, yes you could loop in a JS activity, do a web service call and update the work table via a Sql call

Answers (0)