When X happens, do Y. Tenant-configurable rules that fire on every event. Customer reactivation, loyalty bonuses, follow-up reminders.
A good place to start if you want the shortest path into this module.