Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Re: Best approach to target and send large volume email via SOAP API (Adobe Campaign Classic)

$
0
0

Hi

 

I can suggest exporting this list into the file, upload file into Adobe server, then call xtk.workflow.SpawnWithParameters to spawn a workflow from a template:

 

var parameters = <variables file={pathToFile} />

//  all parameters will be visible in workflow as vars.*  In this case file will become vars.file

 

xtk.workflow.SpawnWithParameters(

        workflowId,

        parameters);

 

Inside the workflow, load the file into a temporary table and spawn a delivery.

 

Alternatively, one can configure delivery to be spawn from a CSV file, call nms.delivery.SubmitNotification and spawn a delivery directly from the memory context:

 

var ctx = loadFile(csvFilePath)

 

nms.delivery.SubmitNotification(notificaionTemplate,

      <delivery>

        <targets fromExternalSource='true'>

          <externalSource>{ctx.toString()}</externalSource>

        </targets>

      </delivery>

    )

 

But in this case, delivery might require lots of memory to process.


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>