Execute a Javascript in client variable | Community
Skip to main content
February 28, 2020
Solved

Execute a Javascript in client variable

  • February 28, 2020
  • 1 reply
  • 3273 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang

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

1 reply

bisswangAdobe EmployeeAccepted solution
Adobe Employee
February 29, 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