{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/b2ee8c5450444d45bf7b2d3c5b4bfb25\" frameborder=\"0\" width=\"1912\" height=\"1434\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1434,"width":1912,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1434,"thumbnail_width":1912,"thumbnail_url":"https://cdn.loom.com/os/loom-media-content/loom/d7213939-ee11-4aa7-8bf9-d0d26f7b6948/b162abfa-df15-4cec-af84-d12ce6a0653c/sessions-thumbnails-b2ee8c5450444d45bf7b2d3c5b4bfb25-d3b4fa6162fbccaa.gif/binary?authToken=eyJraWQiOiJtaWNyb3MtZ3JvdXAvdGRwLW9zLWFyY2hldHlwZS9iNmJibGw0OGo3cm9zbDByIiwiYWxnIjoiUlMyNTYifQ.eyJicyI6Imxvb20tbWVkaWEtY29udGVudCIsImF1ZCI6InRkcC1vcy1hcmNoZXR5cGUiLCJuYmYiOjE3OTIxNTM2NzYsInRpIjoiYmRiMjIwMGMtMTY3Ni00OTA3LTllNTYtOTJiN2ExMTJkZjBjIiwiYWRpIjoibG9vbS9sb29tIiwiaXNzIjoibWljcm9zLWdyb3VwL3RkcC1vcy1hcmNoZXR5cGUiLCJwaWQiOiJiZjVkZWIwNy1iNjAyLTRkNzYtYjliNi0yZTRmZTJjNmE3NDEiLCJ3YSI6ImZhbHNlIiwib2lkIjoic2Vzc2lvbnMtdGh1bWJuYWlscy1iMmVlOGM1NDUwNDQ0ZDQ1YmY3YjJkM2M1YjRiZmIyNS1kM2I0ZmE2MTYyZmJjY2FhLmdpZiIsImV4cCI6MTc5MjE1NDI3NiwiaWF0IjoxNzkyMTUzNjc2LCJqdGkiOiIyZTYwYmM4Ny1kMzEyLTQ3ZGItODcwZS0yZDQ3YzgxMmY1YTEifQ.IR59zYAlmZqzbIA1HmHeUUd2MmxgySzc79qHL3hnxxQxIHlT382w8mOi6Q9GCXuhdRm4aOIgzUVmqR-6YKd05QK5hFGtc2x9MrgW20t0rSZHZBwZ3onWOxqQ4z86GEEYydICVzgjd8PNVAo9v18Ankl66_DhtnbphBldYSZ83IU5IKi3KGT7O4fIIntK1xCqS2gLFRH8boyCi_497E4uLHFy3cWumY6npN9YUR5DNKA7KBdh-mCI7ton9jmZDsuqoq-EuhrpqcQyp2Ue5xbHdFTwMIDo66nl3VSDGnkyajR30fwy0cTWDWjaNRc-AdSlcfxcQxxx07fpmcIIxNdr0g&Expires=1792154276&Signature=BZCxpHNbSCBJltLQOu4cIgHfCRNc3VYGAe0Ep6Az7QSGCW%7EwZd-YIWQeC4VpDGozGbdiV2%7EEJu38faZCTkPsOT29Mc7O97nEZI0AimvonaQNL1gzRoEFsmiJDdGS-WGq7%7E5-hpEFDpQIMv73BhpLMh-iTQ6Nhqe7JkqIVjjjH7N8%7EriWaDSI3TrrfAeBG0LWr%7En4KtQBZwQp0mshWHumxJDhu0pSDsKAY38ud-xQVtS0%7EEawvuBGvmJGb8P6y5mjmZvOi9EA6m%7ERFa4e5cHLc-e0qL5W4QP%7EgsDU3%7EpGnI0fv92koW0Gkl3bGbGWfnHyhcJs0pTA%7ErS%7EPdJSh0nYPA__&Key-Pair-Id=KQOSYIR44AIC0","duration":163.233,"title":"AI Voice Scheduling Architecture","description":"This Loom walks through an AI-packed webhook architecture for a WAPI-powered voice assistant that automates clinic scheduling with low latency. It splits the workflow into three webhook paths: get-availability-webhook uses custom JavaScript to parse the tool call payload, queries Google Calendar, and uses a Gemini 2.5 Flash model with a system prompt limited to a spoken-friendly string under 25 words, then restructures output for WAPI. book slot webhook uses a second AI agent to calculate start and end times with a default 30-minute window, books on Google Calendar, and returns a short text-to-speech confirmation. The logging data webhook uses JavaScript to insert lead name, phone number, date, and time into Google Sheets without an AI agent to keep latency near zero."}