Is it possible to run the smart campaign within 5 minutes via calling Schedule Campaign API?

Anonymous
Not applicable

Is it possible to run the smart campaign within 5 minutes via calling Schedule Campaign API?

Hi,

We are building the Marketo integration with external CMS system, and would like to trigger the email send from the external system. The behavior is that when a user press a button, we will call Schedule Campaign REST API to run the smart campaign to send the email, and would like the campaign can run immediately or within 1 minute. However, if we set the runAt parameter to be shorter than 5 minutes, Marketo still schedules the campaign after 5 minutes, so we have to wait at least 5 minutes for each trigger, and if we make the sequence of calls, we will wait (at least) several 5 minutes for all campaigns running.

And we do not want to use Request Campaign API, because passing lead ID is needed for this, that means we need to make another call to get the recipient list first.

Is it possible to run the campaign via API in shorter time or other alternatives to achieve this?

Thank you in advance.

Vivian

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Is it possible to run the smart campaign within 5 minutes via calling Schedule Campaign API?

I think you're expecting more real-time behavior than the platform can reasonably promise, even when initiating sends via the UI.

What is the nature of these emails? Are they more transactional?

Anonymous
Not applicable

Re: Is it possible to run the smart campaign within 5 minutes via calling Schedule Campaign API?

Actually, not more real-time behavior than the platform. We just expect to use API to run the campaign like pressing "Run Once" on the UI to send the email. It's not transactional emails, but news notifications.

SanfordWhiteman
Level 10 - Community Moderator

Re: Is it possible to run the smart campaign within 5 minutes via calling Schedule Campaign API?

Run Once and Schedule Campaign aren't really the same command. Run Once and Request Campaign are more aligned, though you've ruled out using Request Campaign above.

Anonymous
Not applicable

Re: Is it possible to run the smart campaign within 5 minutes via calling Schedule Campaign API?

Thank you for clarifying this, Sanford.