List Stale Followups
Customers
List Stale Followups
Customers in caller’s scope with no recent activity and no open task.
Used by the tasks.html “Suggested follow-ups” panel. Filters to:
- customers within the caller’s customer_view_scope
- last_activity_at older than
daysdays (or NULL → also stale) - NO open customer_tasks row (status pending/in_progress) assigned to caller
Returns stalest first. Empty result returns [] with status 200.