Book and manage LINE OA appointments with OpenAI, Google Calendar and Sheets
Ready for 3.0What this workflow does
This AI workflow has 40 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Google Calendar and Google Sheets. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Verify LINE Signature (Code): runs custom JavaScript code
- Read All Bookings from Google Sheets (Google Sheets): uses Google Sheets
- Is Signature Valid? (If): checks a condition and branches into true / false
- Keep Bookings Due Within 24 Hours (Code): runs custom JavaScript code
- Acknowledge LINE with 200 OK (Respond to Webhook): sends the response back to the webhook caller
- Reject Invalid Signature with (Respond to Webhook): sends the response back to the webhook caller
- Push Appointment Reminder on LINE (HTTP Request): calls api.line.me (POST)
- Set Booking Settings (Edit Fields (Set)): sets 6 fields: timezone, openingHour, closingHour…
- Mark Booking as Reminded (Google Sheets): update
- Split Webhook Events (Split Out): splits a list into separate items
…plus 27 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Calendar + Google Sheets templates (193) · Other Google Calendar + OpenAI templates (184)
HTTP calls to: api.line.me
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Google Calendar
n8n-nodes-base.googleCalendar - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview This workflow lets customers book, reschedule, or cancel appointments by messaging your LINE Official Account, uses OpenAI to extract booking details, checks availability in Google Calendar, logs bookings in Google Sheets, and sends automated…