Adding Oncall members to respective group on a weekly basis and assigning conversations based on shift.

Adding Oncall members to respective group on a weekly basis and assigning conversations based on shift.

On-call schedule sync

The on-call schedule sync functionality is to add on-call engineers to the respective on-call groups based on a weekly schedule, provide them with access to a specific group of vistas, and assign conversations based on their shifts.

Features

  • Adding members through time events: A scheduled trigger is set every Monday at 9:00 PM IST, activating a synchronization function to retrieve designated on-call members for the current week from the Notion page. This process involves removing existing on-call members from their respective country groups and replacing them with newly fetched members. This automated procedure ensures up-to-date and accurate on-call assignments within their country group on a weekly basis.
  • Adding members through slash command: To manually synchronize on-call schedules, users can type the command /syncschedule in the snap-in discussions tab on the right. This command invokes the same function responsible for checking the current day, retrieving on-call members for the respective week, and updating the respective groups. Notably, even if the command is executed on a Monday if the time is before 9:00 PM, the previous week's schedule is considered. The synchronization process involves removing existing members and adding new ones. This manual command provides flexibility for real-time updates and adjustments to on-call schedules as needed.

How to use On-call schedule sync

  1. Create a new integration in the Notion and add it as a connection in the On-Call Schedule / Rotation Notion page which contains the on-call database.
  2. Provide the PAT of the Dev-0 Admin and the Notion secret key as connections to the snap-in.
  3. Also create a connection for SendGrid with the API key of Support mail.
  4. Provide the Database ID, Notifier email ID, and country-group-shift information in JSON format in the configurations.
  5. Also provide the IDs of the vistas that need to be shared with the Oncall engineers every week.
  6. Install the snap-in and type the command /syncschedule to view the members being added to the group.