🎯 Purpose

Get active subscribers by channels for a given date considering user access rights.

📥 Input fields

  • users_emails: List[str]
  • request_user_email: str
  • date: str

🧩 Workflow steps

  1. SSOREQUEST_ACCESS_FOR_USERS
  2. ManagerGET_CHANNELS_FOR_USERS
  3. DirectoryGET_CHANNELS_ACTIVE_SUBSCRIBERS

📤 Result

Directory service response with active subscribers statistics by channel.

📄 Code

apps/workflows/collections/active_subscribers.py