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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Subscribe to the newsletter from an external website

Avatar

Level 2

Hello everybody,

I have an external website that is running a survey. At the end of this survey, an email should be sent via an interface in Adobe Campaign Classic.

For this purpose, a recipient should be created with the email address
a) receives a delivery via a workflow or
b) Subscribe to a newsletter

What is the best solution to solve the problem?

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hello @gunnark17854189 ,

There are multiple ways to do it.
First you will have to create a API Endpoint on your website which will return the users who have taken the survey.
Then you will create a scheduled workflow in ACC which will run every minute.
In the workflow you will write the code to fetch the data from the API.
Then you will create the recipients with queryDef and you can finally trigger another workflow to send deliveries and subscribe them to existing subscription.

manojepsilon_0-1585560776710.png

 

Thanks,

Manoj

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

Hello @gunnark17854189 ,

There are multiple ways to do it.
First you will have to create a API Endpoint on your website which will return the users who have taken the survey.
Then you will create a scheduled workflow in ACC which will run every minute.
In the workflow you will write the code to fetch the data from the API.
Then you will create the recipients with queryDef and you can finally trigger another workflow to send deliveries and subscribe them to existing subscription.

manojepsilon_0-1585560776710.png

 

Thanks,

Manoj

 

Avatar

Level 2
Hello Manoj Thanks for the idea. I haven't even thought about this solution with the API for the survey tool. However, I would prefer it to be able to pass the recipient on to the Campaign API using JavaScript.