Skip to main content

Slack Automation - Channels & Groups

S
Written by Sam Riggleman
Updated over 9 months ago

This article summarizes all Slack automation of channels & groups as it exists today.

Support Channels

  • Support channels are generated for all active staff not in the TR dept who have logged into Slack.

  • Support channels are automatically archived when staff has been deactivated and their end date was more than 7 days ago. This protects for accidental deactivations.

  • Support channels are created with name s_display name_uid

  • Support channels are created with the following members.

    • Person who's support group it is

    • Person's DA

    • If grade of person is red or below, add all the purple level in that department.

    • If grade of person is purple or below, add all the green level in that department.

    • All users in the "Slack Channel Default Members" list that are M5 or higher.

      • This is viewable in EP from Home > Departments & Grade > icon that looks like people under "Slack Channel Default Members" heading for a specific department.

  • Support channel members are not automatically updated. If members change departments or get new DAs, users need to manually be added/removed as needed.

Small Support Channels

  • Small support channels are generated for all active staff not in the TR dept who have logged into Slack.

  • Small support channels are automatically archived when staff has been deactivated and their end date was more than 7 days ago. This protects for accidental deactivations.

  • Small support channels are automatically archived when staff has been deactivated and their end date was more than 7 days ago. This protects for accidental deactivations.

  • Small support channels are created with name small_display name_uid

  • Small support channels are created with the following members.

    • Person who's support group it is

    • Goes up thru DA chain until first DA at green level, then adds them.

    • Adds Echo, Harry, Brian, & Missi.

  • Small support channel members are not automatically updated. If members change departments or get new DAs, users need to manually be added/removed as needed.

Department Channels

  • We create and maintain channels by department and grade according to the checkboxes selected in the Department's table. The options are Green, Purple, Red, Broadcast, All.

    • This is viewable in EP from Home > Departments & Grade
      ​

  • Department channels are named as follows:

    • Green: d_dept_green

    • Red: d_dept_red

    • Purple: d_dept_purple

    • Broadcast: d_dept_broadcast

    • All: d_dept_all

  • Department channels include the following people:

    • All in that department at that grade or higher.

    • All users in the "Slack Channel Default Members" list that are at that grade or higher.

      • This is viewable in EP from Home > Departments & Grade > icon that looks like people under "Slack Channel Default Members" heading for a specific department.

    • All users in the exception list for the specific channel name.

      • This is viewable in EP from Home > Departments & Grade > Job Grade > Slack Exceptions

    • Any user who is marked on their Employee Detail as "Slack Automation Exempt" will not be added or removed from any dept. channels.

  • Department channels are automatically updated daily. If members need to be in the channel that do not fall into the categories above, they will be removed from the channel. To remain in the channel, they need to be added to the Slack Exceptions list described above, or marked as slack automation exempt if they need to be exempt from all slack automation.

Department User Groups

  • We create and maintain user groups by department and grade according to the checkboxes selected in the Department's table. The options are Green, Purple, Red, All.

    • This is viewable in EP from Home > Departments & Grade
      ​

  • Department user groups are named as follows:

    • Green: dept_green

    • Red: dept_red

    • Purple: dept_purple

    • All: dept_all

  • Department user groups include the following people:

    • All in that department at that grade or higher.

    • All users in the exception list for the specific user group name.

      • This is viewable in EP from Home > Departments & Grade > Job Grade > Slack Exceptions

    • Any user who is marked on their Employee Detail as "Slack Automation Exempt" will not be added to any department user groups.

  • Department user groups are automatically updated daily. If members need to be in the user group that do not fall into the categories above, they will be removed. To remain in the user group, they need to be added to the Slack Exceptions list described above.

Grade Channels and User Groups

  • We create and maintain user groups as specified in the SGC_SlackGradeChannel table. This table is only viewable by developers.

  • Grade channels and user groups include the following people:

    • All at that grade level or higher who are not in one of the following departments:

      • KF

      • EBH

      • BMS

    • All users in the exception list for the specific channel name.

      • This is viewable in EP from Home > Departments & Grade > Job Grade > Slack Exceptions

    • Any user who is marked on their Employee Detail as "Slack Automation Exempt" will not be added or removed from any dept. channels.

  • Grade channels are archived every 6 months (Jan 1 and June 1) and new ones are created. If desired, a developer can set the "archive" flag in the SGC_SlackGradeChannel table which will archive and recreate the channel before any users are added/removed the next day. This feature is often used when there are lots of promotions and there is a desire for the channels to start fresh.

  • Grade channels and user groups are automatically updated daily. If members need to be in that do not fall into the categories above, they will be removed. To remain in, they need to be added to the Slack Exceptions list described above, or marked as slack automation exempt if they need to be exempt from all slack automation.

Team TLC Eswatini Channel

  • We update the team_tlc_eswatini channel daily with all Active users who are not in the following departments:

    • EBH

  • We do not remove users from this channel automatically. Users must be removed manually as desired.

On Call Roster Channel

  • We update the a_oncallroster channel daily with all Active users who are not marked as Slack Automation Exempt, and who are not in the following departments:

    • EBH

  • We do not remove users from this channel automatically. Users must be removed manually as desired.

Other User Groups

  • We manage a variety of user groups based on department, grade, and shift position that are updated daily.

  • These can be viewed and updated by developers in the SUG_SlackUserGroups table.

  • Options are:

    • A list of shift positions that will always add those who are in those shifts that day to the tag.

    • A list of the following that adds if a user falls in ANY of these categories, and they are not marked as Slack Automation Exempt:

      • Selectable Department list.

      • Minimum grade

      • EID list to include

      • EID list to exclude

Did this answer your question?