{"product_id":"n8n-gmail-trigger-auto-schedule-appointments-with-gpt-4","title":"n8n Gmail Trigger: Auto Schedule Appointments with GPT-4","description":"\u003ch3\u003eAutomatically turn Gmail appointment emails into scheduled-ready replies (with GPT-4 + Google Calendar)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors your unread \u003cstrong\u003eGmail\u003c\/strong\u003e messages, uses \u003cstrong\u003eOpenAI (GPT-4)\u003c\/strong\u003e to detect appointment requests, checks your \u003cstrong\u003eGoogle Calendar\u003c\/strong\u003e availability for the next month, and then emails back a proposed meeting time—complete with a buffer around your existing events.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePolls Gmail every minute\u003c\/strong\u003e for unread emails (excluding spam and trash).\u003c\/li\u003e\n  \u003cli\u003eSends the email \u003cstrong\u003esubject\u003c\/strong\u003e and \u003cstrong\u003esnippet\u003c\/strong\u003e to \u003cstrong\u003eOpenAI\u003c\/strong\u003e to classify whether the message is an \u003cstrong\u003eappointment\u003c\/strong\u003e or a \u003cstrong\u003ecall\u003c\/strong\u003e request.\u003c\/li\u003e\n  \u003cli\u003eIf it’s an appointment request, an \u003cstrong\u003eOpenAI agent\u003c\/strong\u003e retrieves your \u003cstrong\u003eupcoming confirmed Google Calendar events\u003c\/strong\u003e for the \u003cstrong\u003enext month\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eFilters, formats, and sorts the calendar data, then returns it to the agent as a \u003cstrong\u003eJSON string of busy time ranges\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eThe agent drafts an email reply proposing a \u003cstrong\u003especific meeting time\u003c\/strong\u003e, including a \u003cstrong\u003e15-minute buffer\u003c\/strong\u003e around existing meetings.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReplies to the original Gmail thread\u003c\/strong\u003e and \u003cstrong\u003emarks the message as read\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSpeed up scheduling when prospects email you with “Can we meet next week?”\u003c\/li\u003e\n  \u003cli\u003eReduce back-and-forth by automatically suggesting time slots based on real availability.\u003c\/li\u003e\n  \u003cli\u003eFor SaaS operators and automation engineers: standardize appointment handling across a mailbox.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n Gmail Trigger\u003c\/strong\u003e: polls every minute for unread messages (excluding spam\/trash).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eif \/ set\u003c\/strong\u003e: routing and message preparation for classification and reply logic.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e (GPT-4): classifies appointment vs call, then powers the scheduling agent.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Calendar (OAuth2)\u003c\/strong\u003e: pulls confirmed busy events for the next month from the configured calendar identifier (currently `your_email@gmail.com`).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFiltering \u0026amp; JSON formatting\u003c\/strong\u003e: converts calendar events into structured busy ranges the agent can use.\u003c\/li\u003e\n  \u003cli\u003eReply \u0026amp; mark-as-read: sends the proposed times and updates Gmail message status.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45865757868211,"sku":"N8N-18384","price":37.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/H1dm_RX4rWWcrQWfFDG3D_71A45Hy5.png?v=1787043960","url":"https:\/\/buyflowscripts.com\/products\/n8n-gmail-trigger-auto-schedule-appointments-with-gpt-4","provider":"N8N Commerce","version":"1.0","type":"link"}