Skip to content

On-call from a calendar

If your team already plans shifts in a shared Google Calendar or Outlook calendar, Webalert can read it. Each event names who is on call for that time; change the calendar and the next page goes to the new person.

It works through the calendar’s private iCal address, so there is no Google or Microsoft sign-in and Webalert only ever reads. Anything that publishes an iCal (.ics) address works the same way.

How it works

  1. Open a schedule under On-call → Schedules (or create one) and add a layer.
  2. Under Who is on call, pick From a calendar and paste the calendar’s private iCal address.
  3. Press Preview the next 7 days to see who each event puts on call, then save.

Webalert reads the calendar when you save and then every 5 minutes. It keeps the events from the past 7 days to the next 90, and answers “who is on call” from what it read last, so a page never waits for the calendar.

Recurring events, moved and removed occurrences and time zones are read as your calendar app shows them. An all-day event covers midnight to midnight in the schedule’s time zone. Cancelled events don’t count, and neither does a guest who declined. Events marked free do count: rota calendars are often all free so they don’t block anyone’s day.

Google Calendar

  1. In Google Calendar on the web, point at the calendar under My calendars, open its menu (⋮) and choose Settings and sharing.
  2. Scroll to Integrate calendar.
  3. Copy the Secret address in iCal format. It ends in /basic.ics and contains private-.

Use the secret address, not the public one: the public address only works when the calendar is made public, and Google answers it with “not found” otherwise. Using a calendar only for shifts (not someone’s own calendar) keeps everyone else’s meetings out of it.

A Google Workspace admin can turn off secret addresses for the whole organization. If the section is missing, ask your admin, or publish the calendar from another app.

Outlook

  1. In Outlook on the web, open Settings → Calendar → Shared calendars.
  2. Under Publish a calendar, pick the calendar and Can view all details, then Publish.
  3. Copy the ICS link (not the HTML one).

With Can view when I’m busy the events have no titles or guests, so Webalert can’t tell who they name. If Publish a calendar is missing, your Microsoft 365 admin has turned publishing off.

Apple, Fastmail and others

Any calendar with an iCal address works: an iCloud calendar shared as a Public Calendar (the webcal:// link is fine, Webalert reads it over https), Fastmail’s calendar sharing links, Nextcloud, or a file your own tooling publishes. The address must be reachable from the internet; addresses on private networks are refused.

Naming who is on call

Each event puts one member of your Webalert account on call. Webalert looks, in this order:

  1. A guest on the event whose email is a member’s.
  2. A member’s email in the title or description, such as “On call: ana@example.com”.
  3. A title that is exactly a member’s name, such as “Ana Silva” (case and extra spaces don’t matter).

If an event names two members, the first match in that order wins. An event that names nobody puts nobody on call: the schedule page lists it for the next 7 days, so a typo is easy to spot. Someone who leaves your Webalert account stops matching at once.

Overlapping events

When events overlap, the one that started later wins, so a new shift takes over without anyone trimming the old one. With the same start, the shorter one wins: a one-day swap inside a week-long shift puts the swap on call for that day.

With rotations and overrides

  • Layers stack as they always do. A calendar layer above a rotation means “whoever the calendar names, and the rotation when it names nobody”. A calendar on its own leaves a gap wherever it has no event, and the coverage warning says so.
  • Restrictions still apply: a calendar layer limited to nights only reads the calendar at night.
  • Overrides beat every layer, calendar ones included.
  • My shifts and each person’s shifts calendar link show the shifts that came from the calendar too.

Sync and preview

The schedule page shows when the calendar was last read. Sync now reads it at once, so you don’t have to wait up to 5 minutes after changing a shift. In the layer form, Preview the next 7 days reads the calendar without saving anything and shows who each event puts on call.

When the calendar fails

  • A read fails (the calendar is slow, down or sends a broken file): Webalert keeps the events it read last and goes on paging from them. The schedule page says when the last good read was and what went wrong.
  • It keeps failing for 3 hours, or the address is gone (someone reset the secret address): the account’s owners and admins get one email with the schedule and the error.
  • The events it kept run out: the layer puts nobody on call, the same as an empty rotation, and the usual “nobody is on call” warnings apply.

To fix it, edit the schedule, choose Change address and paste the new address.

Security

  • The secret address is stored encrypted and never shown in full again; the app and the MCP server show only its host and ending.
  • Webalert only reads the address. It never writes to your calendar and never asks for a Google or Microsoft sign-in.
  • Only the events’ times, titles and who they name are kept, for the past 7 and the next 90 days. Event descriptions are read to find an email and not stored.
  • Anyone with the secret address can read that calendar. Resetting it in Google or Outlook revokes the old one; then paste the new one into the layer.

Plans and roles

Calendar layers come with on-call schedules (the on-call add-on on Starter and Business, and trials) at no extra price. Owners and admins add, change and sync them; everyone can see the schedule and who is on call.

Troubleshooting

  • “The calendar answered 404: the address no longer works”. With Google this is usually the public address of a private calendar, or a secret address that was reset. Copy the secret address under Integrate calendar again.
  • “The calendar has no events in the next 90 days”. Webalert refuses it, because it would put nobody on call. Add the coming shifts first, or check you copied the right calendar.
  • An event “names nobody”. Add the person as a guest with the email they sign in to Webalert with, or put that email in the title.
  • A change in the calendar hasn’t arrived. Google and Outlook can take a few minutes to update the published address after you edit. Press Sync now on the schedule page.
  • The wrong person around midnight. All-day events use the schedule’s time zone. Check the schedule’s time zone, or use timed events.

Anything else: write to us. See also on-call schedules.