{"product_id":"n8n-whatsapp-booking-workflow-w-google-calendar-openai","title":"n8n WhatsApp Booking Workflow w\/ Google Calendar \u0026 OpenAI","description":"\u003ch3\u003eInstant WhatsApp appointment booking—automated with Google Calendar + OpenAI\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow turns incoming \u003cstrong\u003eWhatsApp Booking\u003c\/strong\u003e messages into real calendar events. It uses \u003cstrong\u003eOpenAI\u003c\/strong\u003e to understand customer intent (book, reschedule, cancel, or ask a question), checks \u003cstrong\u003eGoogle Calendar availability\u003c\/strong\u003e to avoid double booking, records results in an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e, and escalates unclear cases to \u003cstrong\u003eSlack\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eListens for new WhatsApp messages\u003c\/strong\u003e and normalizes the incoming WhatsApp payload.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses OpenAI\u003c\/strong\u003e to classify intent (book \/ reschedule \/ cancel \/ question \/ unclear) and extract requested date\/time.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFor booking requests:\u003c\/strong\u003e checks Google Calendar availability in the requested window, selects the nearest free slot within business hours, and \u003cstrong\u003ere-checks the exact slot before creating\u003c\/strong\u003e to prevent double booking.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents duplicate bookings\u003c\/strong\u003e by looking up an \u003cstrong\u003eidempotency key\u003c\/strong\u003e (phone number + slot start) in an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e. Then it creates the Google Calendar event, reads it back to verify it exists, and stores the booking record.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends WhatsApp confirmations\u003c\/strong\u003e, and can optionally wait until a configured time to send a reminder.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFor reschedules\/cancellations:\u003c\/strong\u003e finds the customer’s latest booking in the Data Table, updates or deletes the corresponding Google Calendar event, and confirms the change on WhatsApp.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFor unclear intents or errors:\u003c\/strong\u003e posts an alert with context to a \u003cstrong\u003eSlack\u003c\/strong\u003e channel for human review (e.g., missing bookings or calendar write\/verification issues).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCustomers text “Book tomorrow at 3pm” and receive an automatic Google Calendar-confirmed WhatsApp reply.\u003c\/li\u003e\n  \u003cli\u003e“Reschedule to next week” triggers an update of the latest booking and confirmation back to WhatsApp.\u003c\/li\u003e\n  \u003cli\u003eIf the request is ambiguous or booking fails verification, your team gets a Slack alert with the details.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e WhatsApp Business (Busi credentials), \u003cstrong\u003eGoogle Calendar\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI:\u003c\/strong\u003e \u003cstrong\u003eOpenAI\u003c\/strong\u003e for intent classification and date\/time extraction\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore logic:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e, \u003ccode\u003ewait\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eState management:\u003c\/strong\u003e \u003cstrong\u003en8n Data Table\u003c\/strong\u003e for idempotency and booking records\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eSetup:\u003c\/strong\u003e Connect credentials for WhatsApp Busi, then run the workflow to start booking appointments from WhatsApp messages.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45949947019443,"sku":"N8N-19188","price":47.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/k_QavN_WwSa7OkvAaGoY3_hEXUrucK.png?v=1788512510","url":"https:\/\/buyflowscripts.com\/products\/n8n-whatsapp-booking-workflow-w-google-calendar-openai","provider":"N8N Commerce","version":"1.0","type":"link"}