Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Javascript node in workflow in ACS

Avatar

Level 1

Hi,

in AC Classic you can have a javascript node in the workflow where you can write any code you want.

I don't find the equivalent in ACS? Does it exist for ACS?

Screen Shot 2019-01-22 at 11.07.01.png

3 Replies

Avatar

Level 1

Hi! Thanks for the reply. Is there any way to accomplish the same functionality somehow? I'm using it in AC Classic for e.g. sending data to Slack. Like after an email sendout, send to slack how many it was sent to, I would like to be able to do the same in ACS.

Example:

vars.Antal=vars.recCount;

var http = new HttpClientRequest("https://hooks.slack.com/services/XXXXXX");

http.header["Content-Type"] = "application/json";

http.body=JSON.stringify({

"text": vars.Antal + " newsletter sent"

});

http.method="POST";

http.execute();

var response=http.response;

Avatar

Community Advisor

You can't do outbound API calls  in ACS.

Thanks

David



David Kangni