# Build an AI receptionist that actually books the appointment

AlphaForge Practical AI · proposed replacement kit · November 29, 2026.

This is an implementation recipe for a single-location, single-service pilot. The instructions below follow current vendor documentation. The existing SQLite demonstration verifies local booking logic only. This Retell/Cal.com configuration has **not** been connected or tested in an account; live proof is still required before calling the revised film complete. No purchase, call, calendar write or message was made preparing this kit.

## 1. Exact stack and account ownership

| Component | Selected configuration | Purpose / official link |
|---|---|---|
| Voice agent | Retell AI, Single Prompt Agent; GPT-4.1 mini, Standard tier; Retell Platform Voice, English | [Retell](https://www.retellai.com/) interprets speech and invokes the configured tools. Save the chosen voice's actual display name/ID and agent version in the build record before recording a tutorial. No particular voice ID is invented here. |
| Phone | One US local **Twilio-backed number purchased inside Retell**, assigned to this inbound agent | [Number instructions](https://docs.retellai.com/deploy/purchase-number). Separate Twilio login/SIP setup is unnecessary for this route. Importing your existing Twilio number is a different configuration. |
| Scheduler | Cal.com Individuals, one owner/one repair-assessment booking link | [Cal.com](https://cal.com/) and [plan details](https://cal.com/pricing). A one-user free-plan baseline is modeled; verify the account's integration access before proceeding. Multi-staff routing is outside this build. |
| Calendar | Owner-authorized Google Calendar linked to Cal.com | [Google Calendar](https://calendar.google.com/). Select calendars used to detect conflicts and the calendar receiving bookings. Existing-account incremental subscription cost is modeled as $0; this does not price a new Workspace subscription. |
| Calendar bridge | Retell's **current Cal.com integration**, using an API-key connection and native tools | [Connection](https://docs.retellai.com/integrations/cal-com) and [functions](https://docs.retellai.com/integrations/cal-com-functions). No custom endpoint, n8n, Zapier, hosting or database is needed for this path. |
| Confirmation | Cal.com's configured standard email/calendar notification | Prove receipt in the owned test inbox. SMS is optional and excluded from this build. |
| Staff route | Retell Transfer Call to an owner-approved staff/voicemail number | [Transfer configuration](https://docs.retellai.com/build/single-multi-prompt/transfer-call). A cold transfer leaves the AI; destination voicemail provides the after-hours route. Do not promise automatic return to the AI. |

Use business-owned accounts. Keep credentials inside the providers' connection controls, never in the agent prompt, screenshots or public downloads. The builder needs authorized access to the test calendar and business-approved number; callers do not need software accounts.

## 2. Fill the business settings before opening the agent builder

Use `BUSINESS-SETTINGS.json` as a worksheet, not an importable Retell export. Example is a fictional bike shop; use your actual business information for a live installation.

- Service: repair assessment, 30 minutes, at the shop. No repair price/completion promise.
- Availability: Monday–Friday 09:00–17:00, `America/New_York`.
- Buffer: 0 minutes before, 15 after; start interval 15 minutes; minimum notice 2 hours; booking horizon 30 days.
- Required details: customer name, confirmed email, callback number and short service description. Make the extra fields required in the booking form and map them in the tool if supported. If the connector cannot submit a required field, stop and fix the mapping or remove that requirement with the owner—do not fake a successful booking.
- Staff/voicemail number: set a real authorized number in E.164 format. Never route back to the receptionist's own number.
- Reschedule authorization: for this low-sensitivity pilot, confirm the booking email, existing date/time and reference. This is not strong identity verification; sensitive uses need a stronger owner-approved verification flow.

## 3. Configure the calendar and booking link

1. Sign in to Cal.com as the authorized owner. Under Apps/calendar connections connect the intended Google account. Read the authorization screen before granting access. Select all calendars that should block busy time and the target calendar that receives appointments.
2. Create one booking link/event type named **Repair assessment**, 30 minutes, in-person at the approved shop address. Set availability and time zone to the worksheet values. Keep it automatically confirmed for the pilot, not “requires confirmation”; otherwise a successful request is not yet a confirmed appointment.
3. Configure the required attendee fields. Keep standard confirmation/reschedule notifications enabled; no paid custom workflow is assumed. Set buffer, notice, start interval and horizon in the link's scheduling/limits settings. [Buffer instructions](https://cal.com/help/event-types/event-buffer).
4. Inspect the public booking page using a future weekday. A busy test event in Google must remove the corresponding slot. This check is a real account test, not something the local SQLite example establishes.
5. Obtain the event identifier. Current Retell docs accept the link ID after `/links/` in the Cal editor URL, or its numeric event-type ID. Do not paste the public slug or full URL into that field. If the current account UI differs, use the identifier procedure in the linked Retell functions documentation.

## 4. Connect Cal.com inside Retell

1. Open Retell's Integrations page, choose Cal.com, and connect the authorized Cal account. This recipe chooses an API-key connection. Create the key in Cal.com Settings → Developer → API Keys, then enter it in Retell's connection form with the matching Cal domain. Choose an expiry/rotation policy appropriate to the owner; the key inherits that Cal account’s access, so use the intended scheduling account and do not publish the key. OAuth is an optional alternative and is not the route costed/configured here.
2. In Retell create a Single Prompt Agent. Select GPT-4.1 mini **Standard**, a Retell Platform Voice in English, and save its actual ID. Do not choose Fast tier or paid add-ons without repricing. Paste `AGENT-PROMPT.txt` after replacing the business-specific fields.
3. Add tools through Functions → Add → your **connected Cal.com account**. The old “built-in Cal.com” tutorials are obsolete. Add Check Availability, Book Appointment, List Bookings, Get Booking and Reschedule Booking. Cancellation is optional and not part of this video's promise.
4. Configure each tool using `TOOL-MAPPING.md`. Use fixed values for event type/time zone, caller-derived inputs for date/name/email, and response variables for saved booking IDs. Test outputs expose the real response fields; select those fields rather than typing an assumed JSON path.
5. Add End Call and Transfer Call. For the simple staff route use a fixed approved destination, Cold Transfer, SIP INVITE and the Retell agent's number as caller ID. Configure the destination voicemail and test what happens when nobody answers. If automatic return to the AI is required, this cold-transfer recipe is insufficient; configure and separately qualify agentic warm transfer.

## 5. Connect the phone — a separately funded step

Retell → Phone Numbers → Add number → Buy new number → Twilio → United States → standard/local. This incurs a recurring fee and needs a payment method. Assign the saved agent as **Inbound agent**. A new local number is sufficient; porting or forwarding a business number is not required for the pilot.

Only after test acceptance should the owner forward an existing business line or use the new number publicly. Forwarding may add charges at the original carrier. Retell telephony and Twilio's own Programmable Voice tariffs are different billing routes: do not add both base rates to this managed-number model.

## 6. Run the acceptance cases and save actual proof

Use only owned test contact details and a dedicated test calendar. `ACCEPTANCE.csv` starts every live case as **not run**. Tool tests can create records/send email; browser voice tests can consume usage even without a telephone leg. A simulation is not a live test.

1. Check availability for a future weekday; offer only returned slots.
2. Book one selected slot after reading back service/date/time/time zone and getting agreement. Save tool status, booking UID, timestamp, event screenshot and received confirmation email. Redact contact details in public captures.
3. Look up that booking, check a new slot and reschedule it. Use the **latest UID returned after the change**, or look it up again. Cal.com may create a new UID; do not carry over the local demo's same-reference guarantee. Verify there is one active appointment and no old active slot, plus an updated calendar event/notification.
4. Try a slot already occupied by a staff booking. On conflict, recheck and offer a fresh slot. Do not promise a database transaction or retry-idempotency behavior the provider has not demonstrated.
5. Test ambiguous “Monday”, a misheard email, no availability, calendar failure, an interrupted call and a customer asking for staff. Verify tool timeout does not produce a false confirmation.
6. Call the phone number, complete a booking and request staff. Transfers work on phone calls, not browser web calls. Inspect destination voicemail/no-answer behavior and call records.
7. Inspect the actual bill: call duration, AI/model/voice/telephony lines, any prompt scaling or transfer leg, fixed number fee and tax. Save values in the cost worksheet; estimates are not bills.

Troubleshooting: empty availability → correct event ID, busy calendars, timezone, notice and future date; booking error → required form fields and slot freshness; lookup empty → spelling, attendee email and time range; wrong hour → convert timestamp into the tool's timezone, never remove a UTC suffix; duplicate uncertainty after timeout → inspect Bookings before attempting another create; transfer failure → correct destination, phone-call test, no loop, supported caller ID.

## 7. Operate and recover

Keep an accountable person reviewing booking errors and call summaries daily during the pilot. At each hours/holiday/service change, update the scheduler and prompt together and rerun relevant tests. If the agent confirms nonexistent appointments, cannot access the calendar or fails handoff, restore the owner's original phone routing/voicemail and investigate the saved call/tool records before resuming.

Budget and credit exhaustion may stop service. Review Retell's current Billing settings with the owner; do not rely on an alert as a guaranteed hard cap. Where a budget control exists, verify what it covers. Number subscriptions remain separately billed. This tutorial does not authorize a top-up or auto recharge.

## 8. Costs, pricing and handover

Open `UNIT-ECONOMICS.md` and `cost_model.py`. Rates are dated November29,2026 and linked to official sources; volumes, labor and selling prices are explicitly modeled. Replace assumptions with account-specific bills before quoting a customer.

Hand over: business settings, agent/version/voice ID, connection owner, event identifier, approved prompt, tool map, tested staff route, acceptance results, cost model, update allowance and pause instructions. For a client pilot agree scope, included minutes, overage, account ownership and response expectations in writing. No claimed customers or earnings accompany this example.

## Resource publication dependency

This is a private draft. The Website session must publish the article, kit and download package and verify the description link before this film can claim the resource is available. Keep reading/downloads open; offer optional email delivery and separate optional updates signup. No live resource URL is asserted here.
