Sending a mail using Adobe Campaign API

Accepted Solutions (1)

Accepted Solutions (1)

Amit_Kumar

MVP

27-03-2017

Shachar Optimove wrote...

Thank you!

i saw that API, but still couldn't get the full picture.

the flow i'm trying to create is 

1. Fetching the templates from Adobe campaign- meaning all the available mailing/push that could be sent.

2. passing a list of recipients to Adobe Campaign, and the template ID, and a time to send. that would actually send the e-mails.

 

is that possible?

Thanks!

 

1. use scheduler to schedule the execution of the flow

2. use query def or query activity in workflow to get required template and recipient ids

3. use the following code to send the email

nms.delivery.QueueNotification("emailTemplateInternalName", <delivery> <targets> <deliveryTarget> <targetPart type='query' exclusion='false' ignoreDeleteStatus='false'> <where> <condition expr={'@id ='+  "put yours recipientId here or change condition to included in for comma seprated values or any logic"}/> </where> </targetPart> </deliveryTarget> </targets> </delivery>);

Regards,

Amit

Answers (5)

Answers (5)

blair_elzinga

11-05-2017

I find the JSAPI CHM documentation not very helpful.  It often lacks any useful detail.  Sometimes there is an explanation or an example - those *are* useful.  But when not there, it isn't helpful at all.

For example - for the xtk->sqlSchema->UpdateSchema call, here is the documentation:

UpdateSchema
Update a schema
UpdateSchema (
    XML          content
)
Parameters
content
Content
Return values
None.
Features
Schema: xtk:sqlSchema
Static: Yes

 

That isn't much different that what the WSDL already gave me.  The API needs better documentation IMHO!

florentlb

21-03-2017

Hi Shachar,

Do you have access to the JSAPI CHM documentation? It should be available on the download center of the support site. Depending on your license, you can ask the support team to grant you access to this document.

Hope this helps,

Florent.

shachar_optimov

04-03-2017

Thank you!

i saw that API, but still couldn't get the full picture.

the flow i'm trying to create is 

1. Fetching the templates from Adobe campaign- meaning all the available mailing/push that could be sent.

2. passing a list of recipients to Adobe Campaign, and the template ID, and a time to send. that would actually send the e-mails.

 

is that possible?

Thanks!