Send SMS to on-call staff at 9pm each day

Recipe ToolsDocument/FileData Parser

What it does

When 9pm arrives each day, this automation searches Google Sheets for on-call staff and sends each person an SMS message. Someone receives the message only when the mode is set to Prod so test runs do not alert the team.

Who it's for

Operations teams who need to notify on-call staff at a set time without manual reminders.

How teams use this

Notify on-call staff at shift start

Send an SMS to each on-call person at 9pm so they know their shift is active and can prepare to respond to incidents. The spreadsheet row determines who gets the message each day.

Test notifications without alerting staff

Set the mode to a value other than Prod so the SMS does not send during testing. Switch it back to Prod when ready to notify the team in production.

Escalate to managers for missed responses

Add a second SMS step that sends to a manager if no one acknowledges the first message within a time window. This requires adding a delay and a condition to check for a response.

Rotate on-call schedules by week

Filter the Google Sheets rows to only include staff assigned to the current week so the right person gets notified each day. Add a week column to the spreadsheet to enable this filter.

How it works

  1. Run at 9pm daily. This automation starts on a specified schedule, firing at 9pm each day to begin the on-call notification process.
  2. Search for on-call staff. Search rows in a Google Sheets spreadsheet to find all on-call team members and their phone numbers for the day.
  3. Parse contact data from spreadsheet. Parse the spreadsheet data using Csv Parser to extract phone numbers and other details needed to send SMS to each person.
  4. Send SMS when mode is Prod. Send an SMS message to each on-call team member when the mode equals Prod, so the notification only goes out in production.