Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards
SOLVED

queueing API requests in Campaign workflow to not clog Target Delivery API

Avatar

Level 10

I have workflow like that.

Michael_Soprano_0-1724313263565.png

In JS node I write the request to Target delivery API. Then it responds with JSON with products for a particular user. 

Delivery API has such a constraint. Do you have any ideas how I can workaround this in Campaign workflow? I am a little newbie to Campaign that's why I am asking:

Michael_Soprano_1-1724313397201.png

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

@Michael_Soprano Implementation of Rate-Limiting or Throttling within Campaign is not straightforward, and it is recommended to have it via a Middleware or another application.

 

However, there is a JS method provided by Adobe Campaign JS-API like sleep() which can used to suspend processing, but getting the right milliseconds delay is difficult to achieve. You may give it a try.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

@Michael_Soprano Implementation of Rate-Limiting or Throttling within Campaign is not straightforward, and it is recommended to have it via a Middleware or another application.

 

However, there is a JS method provided by Adobe Campaign JS-API like sleep() which can used to suspend processing, but getting the right milliseconds delay is difficult to achieve. You may give it a try.