Skip to main content

Business tech · Beginner · 18 min

Design an Airtable base with linked records for bookings

By Padding · Updated 18 Nov 2026
Airtable (web) · November 2026

You will have an Airtable base for a clinic's community classes where each booking links one patient to one session, and each session's places-left count updates itself.

On this page

Larkfield Clinic, the community clinic from earlier tutorials, runs free classes: a healthy-back group, diabetes self-care, antenatal sessions and a walking club. Bookings live in one shared spreadsheet. Every row holds a patient's name and phone number, the class, the date, the room, the room's capacity and a status. When a patient books three classes, their phone number is typed three times. When they change it, one row gets updated and two do not. Nobody can say how many places are left on Thursday's session without counting rows by hand.

In this tutorial you build the same information as an Airtable base with three tables: Patients, Sessions and Bookings. A booking is a small record that points to one patient and one session. Airtable then works out how many confirmed bookings each session has and how many places are left, so the count is never typed and never drifts. You also add views for reception and facilitators and decide who can change what.

If you have built tables in a database before, this is the same idea as a join table between two entities. The tutorial on normalising a spreadsheet into tables explains the reasoning in SQL terms. You do not need it to follow along here.

Use made-up names and numbers while you build. Add real patient details only once the permissions in the last step are in place.

Step 1 · Sketch the three tables before you open Airtable

Start on paper or in a note. Write down every column in the current spreadsheet, then ask of each one: is this a fact about the person, about the class session, or about this one booking?

For Larkfield the answer looks like this:

  • About the person: name, phone, email, preferred language, consent to receive text reminders.
  • About the session: which class, when it starts, which room, how many people it can hold.
  • About the booking: who, which session, its status (confirmed, waitlist, cancelled, attended, no-show), when it was made, any note such as "needs a chair with arms".

Each group becomes a table. The booking table is the one that connects the other two. A patient can have many bookings, a session can have many bookings, but each booking belongs to exactly one patient and exactly one session.

Diagram: a single wide spreadsheet where a patient's name and phone repeat on every booking row, split into three tables. Patients and Sessions each hold their own facts once, and a Bookings table in the middle links one patient to one session and holds the status.
Every fact lives in one table. Bookings only point to the other two.

Leave "places left" out of your sketch. It is not a fact anyone should type; Airtable will calculate it in a later step.

Check it worked

Your sketch has three lists of fields under the headings Patients, Sessions and Bookings. No field appears in more than one list, and the Bookings list contains no names, phone numbers, rooms or capacities, only a reference to a patient, a reference to a session and booking details.

Step 2 · Create the base and set up the Patients table

In Airtable, create a new base from scratch and name it "Larkfield class bookings". It opens with one table. Rename that table to Patients.

Every table has a primary field in its first column. It cannot be deleted or hidden, and it is the text Airtable shows whenever another table links to this record, so make it something a person recognises. Rename the primary field to Name and keep it as Single line text.

Delete any sample fields Airtable added, then add these, choosing the field type shown:

  • Phone: Phone number
  • Email: Email
  • Preferred language: Single select, with the options your community uses (for Larkfield: English, French, Swahili, Yoruba, Other)
  • Text reminders OK: Checkbox
  • Notes: Long text

A note on phone numbers. Airtable's Phone number field formats a 10-digit string as a US or Canada number. Type numbers in full international form instead, such as +234 803 000 0001 or +254 712 000 000. That keeps them readable for staff in any country, and it is the form SMS and WhatsApp tools expect when you automate reminders later.

Add three made-up patients so you have something to link to.

Check it worked

The Patients table shows a Name column first, then Phone, Email, Preferred language, Text reminders OK and Notes. Clicking a Preferred language cell gives you a dropdown with your options rather than free text, and your three test patients each show a phone number starting with + and a country code.

Step 3 · Build the Sessions table with typed fields

Add a second table called Sessions. Leave its primary field as Single line text for now; you will turn it into a formula once the other fields exist.

Add these fields:

  • Class: Single select (Healthy back, Diabetes self-care, Antenatal, Walking club)
  • Starts: Date & Time, with the time shown, set to the clinic's time zone
  • Room: Single select (Hall, Room 2, Garden)
  • Capacity: Number, formatted as an integer, with Allow negative numbers turned off

Field types are the closest thing Airtable has to validation in the grid. A single select stops "Room 2", "room2" and "Rm 2" becoming three different rooms. An integer Number field with negatives off means a capacity has to be a number and cannot be negative.

Now go back to the primary field, change its type to Formula and rename it Session. Enter:

Text
{Class} & " · " & DATETIME_FORMAT(SET_TIMEZONE({Starts}, 'Africa/Lagos'), 'D MMM, HH:mm')

Field names go inside curly brackets. This builds a label such as "Healthy back · 3 Dec, 10:00", which is what reception will pick from when they create a booking.

Replace Africa/Lagos with your clinic's own time zone identifier, such as Africa/Nairobi, Africa/Johannesburg or Europe/London. The SET_TIMEZONE part matters: DATETIME_FORMAT on its own writes the time in GMT, whatever time zone the Starts field is set to. Without it, a 10:00 class in Nairobi would be labelled 07:00 and reception would book from the wrong time. If your staff prefer a 12-hour clock, use h:mm A instead of HH:mm.

Add four or five sessions over the next two weeks, with capacities between 8 and 20.

Check it worked

Each row in Sessions shows a readable label in the first column, such as "Walking club · 6 Dec, 07:30", that you did not type, and the time in the label matches the time in the Starts column. If you try to type letters into a Capacity cell, Airtable will not accept them. If any label shows an error, check the field names in the formula match your field names exactly.

Step 4 · Link bookings to patients and sessions

Add a third table called Bookings. Change its primary field to Autonumber and rename it Booking ID. Each new booking then gets a number of its own, so you never have to invent one.

Add a field, choose Link to another record, pick the Patients table and name the field Patient. In its settings, turn off Allow linking to multiple records, then create the field. Do the same again for a field called Session that links to the Sessions table, with multiple records turned off too.

Turning that option off is what makes a booking mean one person at one session. If reception need to book a mother and her sister, they make two bookings.

When you create a link, Airtable adds a matching field in the other table. Open Patients and Sessions: each now has a Bookings field at the end. You did not create those; they are the other side of the same link.

Add the remaining booking fields:

  • Status: Single select (Confirmed, Waitlist, Cancelled, Attended, No-show)
  • Booked on: Created time
  • Notes: Long text

Create five or six test bookings. In the Patient and Session cells, Airtable opens a record picker that searches by the primary field, which is why you made those readable.

Check it worked

Open any session in the Sessions table. Its Bookings field lists the booking numbers you linked to it. Open a patient in the Patients table and you see the same booking numbers in their Bookings field. Try to add a second patient to one booking's Patient cell: the cell holds only one patient, and Airtable will not let you add a second alongside the first.

Step 5 · Show patient details on bookings with lookups

A booking row that shows only "#12, Amina Bello, Healthy back · 3 Dec" is not enough when reception needs to call someone. Instead of copying the phone number into Bookings, look it up.

In the Bookings table, add a field of type Lookup. Under Select lookup source choose the Patient link, then choose Phone as the field to look up. Name it Patient phone. Add a second lookup through the Session link to Room, named Room, so the booking shows where to send the patient.

A lookup copies nothing. It reads the value from the linked record every time, so when a patient's number changes in Patients, every booking shows the new number straight away.

Do the reverse in Sessions: add a lookup through Bookings to the bookings' Patient field, named Booked patients. Turn on the lookup's condition option and add Status is Confirmed, so the list shows only patients who are actually coming, not cancelled or waitlisted ones. Facilitators can then see who is coming without opening every booking.

Check it worked

Change one test patient's phone number in the Patients table. Switch to Bookings: every booking for that patient shows the new number in Patient phone, and you only edited it in one place. Then set one test booking's Status to Cancelled: in Sessions, that patient drops off the session's Booked patients list. Set it back to Confirmed and they return.

Step 6 · Count places left with a rollup and a formula

This is the step that replaces counting rows by hand. You need two fields in Sessions: one that counts confirmed bookings, and one that subtracts that from the capacity.

In Sessions, add a field of type Rollup and name it Confirmed. Set it up like this:

  • Select rollup source: the Bookings link.
  • Field you want to roll up: Booking ID.
  • Turn on Only include linked records that meet certain conditions and add the condition Status is Confirmed.
  • Aggregation formula: COUNTALL(values).

The condition matters. Without it, a cancelled booking would still take up a place. Waitlist and cancelled bookings stay linked, so you keep the history, but they are not counted.

Then add a Formula field named Places left:

Text
{Capacity} - {Confirmed}

A rollup can only see the linked records, and a formula can only see the current record, so you need both: the rollup gathers the count and the formula does the subtraction.

Diagram: four bookings for one session, three confirmed and one cancelled. A rollup counts only confirmed bookings, going from 2 to 3 when a new confirmed booking is added. A formula subtracts that from a capacity of 12, so Places left goes from 10 to 9.
The new booking raises Confirmed by one and Places left falls by one. Nobody types either number.

Check it worked

Note the Places left value for one session, for example 10. In Bookings, add a new booking for a test patient on that session with Status set to Confirmed. Back in Sessions, Confirmed has gone up by one and Places left has gone down by one, to 9. Change that booking's Status to Cancelled and Places left returns to 10.

Step 7 · Add views for each role and catch mistakes

A view is a saved way of looking at a table: which records, which fields, in what order. Filters hide records in that view only; they never delete anything. Create views with + Create new in the views sidebar and choose Collaborative so the whole team sees the same view.

Make these views:

  • Bookings → Reception: upcoming. Grid view. Filter: Status is any of Confirmed, Waitlist. Group by Session. Show Booking ID, Patient, Patient phone, Room, Status and Notes; hide the rest.
  • Sessions → Facilitators. Grid view. Filter: Starts is on or after today. Sort by Starts, earliest first. Show Session, Room, Capacity, Places left and Booked patients. Leave out contact details to keep the screen focused on the class.
  • Sessions → Upcoming sessions. Grid view. Filter: Starts is on or after today.
  • Bookings → Needs attention. Grid view. Filter, with Or between the conditions: Patient is empty, or Session is empty, or Status is empty.
  • Sessions → Overbooked. Grid view. Filter: Places left is less than 0.

Airtable cannot stop someone confirming a booking on a full session, so the Overbooked view is your safety net: check it each morning and move the latest booking to Waitlist.

Now narrow the record picker. Open the Session field settings in Bookings and set Limit record selection to a view to Upcoming sessions. Reception then only see future sessions when they book. This narrows what the picker suggests; it does not block a past session, which is why Needs attention exists.

Personal views (only you can change them) and locked views (nobody can change the filters until an Owner or Creator unlocks them) need a paid Airtable plan. On the Free plan, agree as a team not to edit shared view filters, and name views clearly so it is obvious what each one is for.

Check it worked

Create a booking with no Session set. It appears in Needs attention and nowhere in Reception: upcoming. Open the Facilitators view: it lists only future sessions, soonest first, with only the five fields you chose. Click a Session cell in Bookings: the picker lists only upcoming sessions.

Step 8 · Share the base with the right permissions

Invite people to the base, not to the whole workspace, unless they work across your other bases too. Pick the lowest level each person needs:

  • Creator for the one or two people who maintain the base. Only Owners and Creators can add, change or delete fields and tables, so this is what protects the Confirmed and Places left fields from being broken by accident.
  • Editor for reception staff. They can add, edit and delete records and use every view, but cannot change fields or tables.
  • Read only for facilitators who only need to see who is coming, or Commenter if they should leave notes on records.

Anyone you invite to the base, at any level, can see every table and field, including Patients. Hiding fields in a view only tidies the screen; it is not access control, and a Read only collaborator can still open the Patients table and download its records as a CSV. If facilitators must not see phone numbers, give them an interface instead of base access (see Build an internal tool for staff with Airtable Interfaces).

On the Free plan a workspace can have up to five people with Editor or Creator access, and each base holds up to 1,000 records. A busy clinic adds a few hundred bookings a term, so plan to archive old terms into a separate base, or move to a paid plan, before you reach that limit.

Patient phone numbers and the classes they attend are sensitive personal and health information. Store only what booking needs, and do not create public view share links for any view that shows patient names or contact details. If you must share a view outside the base, Airtable's paid plans let you protect a share link with a password or limit it to one email domain.

Check it worked

Open the base's share settings and read the collaborator list: every person has a named permission level, and only the people who maintain the base are Creators. Ask a reception colleague to open the base: they can add a booking but, when they open a field's menu, the options to change its type or delete it are not available to them.

Next steps

You now have a base where a booking is a link between a patient and a session, and the number of places left is calculated rather than typed. Before you add real patients, delete your test records and check that Places left matches each session's capacity.

Need this done for you?

Padding does this work for growing companies, from the first diagnosis to a system that keeps working.

Digital Transformation

Get new tutorials

New tutorials, about twice a month.