Layer 1 Output: Flat Qualified Leads Array
Pure data query selecting only leads where sequence_status === 'active' and next_attempt_date <= reference_date. Notice: no UI grouping, no CSS styling, no overdue flags leaked into the query.
Layer 2 Output: Bucketed & Overdue-Sorted Object
Presentation pass grouping into Day 1, 3, 5, 7 buckets and sorting overdue leads strictly ahead of on-time leads within each bucket.
Raw Underlying Leads Store
Contains all active, paused, completed, and future scheduled records.