Update Available On Call Agents Lookup Table from Airtable

Project ManagementMarketingRecipe Tools

What it does

When a new record is submitted to On Call Updates in Airtable, this automation searches for all on-call agent records and refreshes the lookup table. The lookup table stays current so downstream workflows always have the latest agent availability.

Who it's for

IT teams who manage on-call rotations and need the lookup table to sync automatically when schedules change.

How teams use this

Keep on-call schedules in sync

When someone updates an agent's availability in Airtable, the lookup table refreshes automatically so workflows that check agent status always see the latest information.

Route incidents to available agents

Incident management workflows query the lookup table to find available on-call staff. Keeping the table current ensures incidents route to the right person without manual intervention.

Filter agents by team before syncing

Add a condition to filter Airtable records by team field so only agents from a specific team populate their dedicated lookup table. Each team maintains its own roster independently.

How it works

  1. Detect a new on-call update. A new record is added to the On Call Updates table in Airtable, starting this automation.
  2. Fetch all on-call agent records. Search Airtable for all records in the on-call agents table to get the current roster and availability status.
  3. Clear the lookup table. Truncate all entries from the Available On-Call Agents IT Operations lookup table in preparation for fresh data.
  4. Repopulate with current agents. Loop through each agent record from Airtable and add an entry to the Available On-Call Agents IT Operations lookup table for each one.