Reminder to Vote
Part of Notifications Milestones
This issue addresses active users being reminded to vote in the general elections.
What defines an active user?
Slack periodically computes the list of AMU (active monthly users) based on their own set of parameters.
We use this to filter out voting for those who aren't meaningfully active in the community.
The flow to determine this user list, is as follows:
- Slack API: get all users from: https://api.slack.com/types/user
- Slack API: get all billing status's from: https://api.slack.com/methods/team.billableInfo
- Filter billing status for only ones where
billing_active is true
- Take billing status list, filter user list against those ID's.
Now that we have the active users, we will then take this list and filter it again, against the users who have voted, based on the poll data.
- Get each active poll.
- For active poll, get user list who has voted
- from active users, filter users who don't appear in list of voted for poll.
- For each, PM them via the slack bot reminding them to vote for POLL (and link them the poll)
This should be on a 2 day cron, only during business hours and only on weekdays.
Thanks,
Karl.
Reminder to Vote
Part of Notifications Milestones
This issue addresses active users being reminded to vote in the general elections.
What defines an active user?
Slack periodically computes the list of AMU (active monthly users) based on their own set of parameters.
We use this to filter out voting for those who aren't meaningfully active in the community.
The flow to determine this user list, is as follows:
billing_activeistrueNow that we have the active users, we will then take this list and filter it again, against the users who have voted, based on the poll data.
This should be on a 2 day cron, only during business hours and only on weekdays.
Thanks,
Karl.