Design meeting notes and action item extraction
Meeting notetakers are one of the most widely adopted AI products: a bot joins your call, and minutes after it ends you get a summary, decisions, and a list of action items with owners. It is a good interview question because it touches real-time media, batch processing, long-context summarization, structured extraction, integrations and privacy, all in one product. I'll design a notetaker that works across Zoom, Google Meet and Microsoft Teams.
Requirements
Functional
- Join scheduled meetings automatically from the user's calendar (or on demand), record audio, and transcribe with speaker names.
- After the meeting: summary, key decisions, action items (owner, task, due date), and open questions.
- Push action items to task tools (Jira, Asana, Linear) and the summary to email or Slack, after user review.
- Search and ask questions across past meetings ("what did we decide about pricing?").
- Optional live transcript and live captions during the call.
Non-functional
- Notes available within a few minutes of the meeting ending.
- Consent: participants are informed; the bot is visible and can be removed; recording rules per region and per organization.
- Access control: only attendees (and people they share with) can see notes.
- Accuracy on names, numbers and owners, since wrong action items are worse than none.
Scale estimates (assumptions)
| Quantity | Assumption | Result |
|---|---|---|
| Meetings per day | 500,000 | peaks at the top of the hour, so bursts of tens of thousands of joins per minute |
| Average length | 40 minutes | 20M meeting-minutes/day |
| Audio | 16 kHz mono, compressed about 0.5 MB/min | about 10 TB/day of audio |
| Transcript | about 130 words/min, about 175 tokens/min | about 7,000 tokens per meeting |
| LLM processing | 3 passes per meeting | about 1.5M LLM jobs/day |
The top-of-the-hour join spike is the infrastructure problem; everything after the meeting ends is a batch pipeline that can be queued.
High-level architecture
Rendering diagram…
Request flow
Rendering diagram…
Components
| Component | Responsibility | Notes |
|---|---|---|
| Calendar sync | Read events and meeting links via Google and Microsoft APIs | Webhooks for changes; respect per-user opt-in rules |
| Bot scheduler | Launch bots just before start; handle reschedules and cancellations | Pre-warm capacity before the top of the hour |
| Meeting bot fleet | Headless clients that join, record and capture speaker metadata | Many teams buy this layer (for example Recall.ai) rather than maintain clients for each platform |
| Live STT | Streaming transcript and captions | Only if the product needs live features |
| Batch STT and diarization | High-accuracy transcription after the call | Batch models are usually more accurate than streaming |
| Speaker alignment | Map speakers to participant names | Platform active-speaker events or per-participant streams beat audio-only diarization |
| LLM jobs | Summary, decisions, action items, chapters | Structured outputs with JSON schemas |
| Review UI and integrations | Human approval, then push to tools | Draft first, sync second |
Data model
CREATE TABLE meetings (
id UUID PRIMARY KEY,
org_id UUID,
platform TEXT,
title TEXT,
started_at TIMESTAMPTZ,
ended_at TIMESTAMPTZ,
consent_status TEXT, -- announced | objected | stopped
retention_until TIMESTAMPTZ
);
CREATE TABLE participants (
meeting_id UUID,
person_id UUID, -- resolved from calendar or platform
display_name TEXT,
email TEXT,
can_view BOOLEAN
);
CREATE TABLE utterances (
meeting_id UUID,
seq INT,
speaker_id UUID,
start_ms INT,
end_ms INT,
text TEXT,
PRIMARY KEY (meeting_id, seq)
);
CREATE TABLE action_items (
id UUID PRIMARY KEY,
meeting_id UUID,
owner_id UUID, -- null if unclear
task TEXT,
due_date DATE,
evidence_seq INT[], -- utterances that support this item
confidence REAL,
status TEXT, -- draft | approved | rejected | synced
external_ref TEXT -- Jira key etc
);
evidence_seq lets the UI show exactly where in the transcript each action item came from, which is the fastest way for a user to trust or correct it.
Deep dives
Getting good speaker labels
Audio-only diarization guesses "speaker 1, speaker 2" and struggles with overlaps. Meeting platforms know who is talking: active-speaker events, and on some platforms separate audio streams per participant. Use platform signals first, fall back to diarization, and map speakers to calendar attendees by display name and email. Accuracy here directly decides whether action items get the right owner.
Summarizing long transcripts
A 40-minute meeting is about 7,000 tokens, which fits in any modern context window, so for most meetings a single pass is best: whole transcript in, structured notes out. For multi-hour sessions, chunk by topic (detect topic shifts or use time windows), summarize each chunk, then combine. Put the meeting title, agenda from the calendar invite, and attendee list in the prompt; they massively improve relevance.
Structured action item extraction
Use structured outputs (JSON schema) so the result is machine-checked:
from pydantic import BaseModel
from openai import OpenAI
class ActionItem(BaseModel):
task: str
owner_name: str | None
due_date: str | None # ISO date if stated explicitly
evidence_utterances: list[int]
class MeetingNotes(BaseModel):
summary: str
decisions: list[str]
action_items: list[ActionItem]
client = OpenAI()
resp = client.responses.parse(
model="gpt-5-mini",
input=[
{"role": "system", "content": "Extract only commitments someone explicitly made. "
"Cite utterance numbers. Leave owner or date null if unclear."},
{"role": "user", "content": numbered_transcript},
],
text_format=MeetingNotes,
)
notes = resp.output_parsed
Then validate: owners must be attendees, cited utterances must exist and mention the task, and relative dates ("by Friday") are resolved against the meeting date in code, not by the model.
Human in the loop before syncing
Auto-creating Jira tickets from every "we should probably look into that" floods backlogs. The default flow is: draft, organizer reviews (one click to approve, edit or reject), then sync. Track approval and edit rates per extraction prompt version; they are your best quality metric.
Consent and privacy
Recording laws differ by place (some require all-party consent). Build consent into the product: the bot joins with a clear name, posts a chat message, can be removed by anyone, and stops if a participant objects. Org admins set policies (never record external meetings, auto-delete after N days). Notes are visible only to attendees by default.
Q&A across meetings
Index utterances and notes per meeting with participant-based ACLs, and answer questions with retrieval plus citations to timestamps. This is the same permissions-aware RAG pattern as enterprise search, with the meeting attendee list as the ACL.
Trade-offs and pitfalls
- Build vs buy the bot layer. Maintaining headless clients for three platforms that change constantly is a full team's job. Buying it trades margin for focus.
- Streaming vs batch STT. Streaming enables live features but is usually less accurate. Many products do both: streaming for live view, batch for the final transcript.
- Hallucinated commitments. Models infer action items that nobody agreed to. Require explicit evidence and keep a "possible follow-ups" section separate from action items.
- Wrong owners. "I'll send that over" from a misattributed speaker assigns work to the wrong person. Show evidence and allow one-click reassignment.
- Top-of-hour spikes. Under-provisioned bot fleets mean bots join late and miss the start. Pre-scale based on calendar data you already have.
- Retention. Raw audio is the most sensitive artifact. Delete it after transcription unless the user wants playback.
Checklist
- Bots launched from calendar data with pre-scaled capacity for hourly spikes.
- Speaker identity from platform signals first, diarization second.
- Single-pass summarization for normal meetings, hierarchical for long ones.
- Action items extracted with a JSON schema, cited evidence, and code-side validation.
- Human review before anything syncs to external tools.
- Consent built into bot behavior and org policies; attendee-only access by default.
- Retention policy for audio, transcripts and notes.