Skip to main content
How fast your flows run depends on limits — the number of events a flow can process per minute. Here’s which limits apply to each kind of flow, what happens when you hit them, and how to keep your flows running smoothly. Limits adjust automatically to the size of your database: the more customers you have, the higher the limit.

Which limits apply to flows

It depends on the flow type.

What happens when you go over the limit

When load reaches 100%, your flows are using every resource available to them. Events go into a queue and take longer to process.
A short spike to 100% is fine when you start bulk flows for a large audience — it lasts while all the customers are processed. If load stays at 100% for a long time, review your running flows and optimize them.
A warning shows up in the flow and on the campaigns page. Click it to see the current load, broken down by flow. If a flow uses complex conditions, you’ll see a warning about that too. In that case, simplify the filter in the block.

Customers held up in a Wait block

When lots of customers enter and leave a Wait block at once, processing can fall behind. For example, a customer enters a one-day Wait block but, because of heavy load, stays in it longer and their run ends. You can download the list of these customers from the block.

Flow runs that fall too far behind

If a flow can’t process its events within 12 hours because it’s over the limit, customers’ runs end with the note Flow execution fell far behind schedule and is no longer relevant. The block shows the reason the runs stopped and the list of customers.

How to optimize your flows

Event-based flows

  • Combine flows that start on the same event into one. For example, merge your abandoned cart and abandoned browse chains.
  • If an event-based flow is running late, check how many actions are coming into your account. You might want to limit how many times the flow can run for a single customer.

Bulk flows

  • Move every customer condition that sits before the step group into the Schedule block. That saves unnecessary load.
  • Several flows starting at the same time, or close together, can cause heavy load. Spread their start times across the day, at least an hour apart.
  • To speed up the Schedule block, use segments with the conditions you need and recalculate them before the flow starts.
  • A large number of customers entering a segment on recalculation puts heavy load on bulk flows.
  • When data comes in through bulk imports, load on flows triggered by Product in product list changed can climb sharply, because they’re processed in the bulk flow queue. Keep an eye on import volume and, where you can, update data at intervals. The same goes for the Customer data changed and Specified balance changed events.

Transactional flows

A large number of transactional flows can slow them all down. Set up transactional flows only for events where the customer needs to hear from you instantly — for example, sending an authorization code or an order status update.

How to get alerts about heavy load

Set how long load has to stay high before Maestra Platform logs an issue. On the issues page, you can subscribe to email alerts for the Flow health entity.