🎯 Purpose
Build channel reports with filters and sorting.
📥 Input fields
request_user_email: strusers_emails: List[str]domains: List[str]channel_names: List[str]channel_ids: List[int]start_date: Optional[str]end_date: Optional[str]sorting_by: strsorting_order: str
🧩 Workflow steps
- SSO →
REQUEST_ACCESS_FOR_USERS - Manager →
GET_CHANNELS_WITH_DOMAINS - Statistics →
CHANNELS_STATISTICS
📤 Result
Channel statistics (from the statistics service).
📄 Code
apps/workflows/collections/channel_reports.py