TransWikia.com

The same Fire event more than once in one Marketing Cloud Automation?

Salesforce Asked on March 1, 2021

In Journey Builder, we need to evaluate entries to a Data Extension every 15 minutes.

We programmed a sequence in Automation Studio which includes:

  1. SQL Query – Adds new data to the Data Extension which is the JB Entry source
  2. fire event
  3. 15 min. wait
  4. SQL Query
  5. fire event
  6. 15 min. wait
  7. SQL Query
  8. fire event
  9. 15 min. wait
  10. SQL Query
  11. fire event

But the fire events do not inject the new contacts to the Journey.

Any idea of why, or how this can be achieved?

Thanks!

One Answer

Journey Builder, when configured in the entry event accordingly, listens to the run of an automation, not individual activities.

Your automation schema contains multiple automation activities from which you expect a result. This expectation is incorrect. You should get ONE injection into the journey once the automation is finished, which is your step 11.

So what are your options?

Either: question the latency requirement. Run hourly, inject hourly with one automation.

Or: Run four automations in a 15 minute offset. They do not "wait" for each other but run independently. Caution. automation runs are technically billable, although not currently enforced. This seems to be a safeguard against abuse at this time, which is not guaranteed to stay like this. To give you an idea, one hourly automation consumes around 8.7k runs per year. Corporate Edition offers 45k. So you have around 5 hourly automations in that contractual setup. This pattern would use four for one single process.

Or: Run two alternating automations that call each other via SSJS and execute the sql + fire sequence, and you can even save yourself the wait, theoretically. automation runs are still technically billable, and this could be a LOT of automations, even more than in the previous pattern. Use this VERY sparingly. How to trigger an automation from another automation

Or: Question the pattern of using sql / automations entirely and instead leverage the API & API Events.

Answered by Jonas Lamberty on March 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP