Project Description
My site is essentially complete, but the last mile is proving tricky: I still need the voice-AI flow built with Retellai and Twilio to drop confirmed calls into the site’s own calendar without ever creating a double-booking.
Here’s the current state:
• The calendar is a custom module inside the website—not Google, Outlook, or Apple.
• Calls come in through Twilio, pass to the AI, and are supposed to reserve an open slot.
• Availability isn’t checked correctly, so two clients can land on the same time.
What I need now is straightforward but critical. The Twilio webhook (or a Retellai function, I’m flexible) must query the in-house calendar before offering times, lock the chosen slot atomically, and write the booking back immediately so subsequent callers see it as taken. A quick audit of any race-conditions in the database layer would be ideal, along with a sanity check of the timezone handling.
Acceptance criteria
1. AI proposes only free time slots as verified by the database at request time.
2. Once a caller picks a slot, that slot cannot be taken by another caller in any test we run.
3. Successful bookings appear instantly on the calendar UI and in the Twilio call log.
All the front-end screens, authentication, and payment logic are live; you’ll be working strictly on the integrations and back-end logic. The codebase is Our application uses React, Tailwind CSS, TypeScript, and Deno for backend functions, with Base44 entities for the database., I’m open to that approach as well—whichever guarantees zero double-books.
That’s it: bring the booking flow to bulletproof reliability, give me a short hand-off note, and the project is done.