Your LINE OA takes the bookings
A LINE Official Account assistant that takes bookings in chat, checks Google Calendar, confirms the slot and sends a reminder the day before
The problem
Salons, clinics, restaurants and repair shops in Thailand take bookings through LINE chat, so a staff member reads every message, checks the paper book or calendar, types a reply and later remembers to send a reminder. Evenings and busy hours leave customers waiting, double bookings happen, and no-shows cost the slot.
How the agent works
The shop's LINE Official Account has the Messaging API enabled, auto-reply off and response mode set to chat, with the webhook pointed at a small server built on LINE's official SDK. When a customer writes 'ขอจองตัดผมพรุ่งนี้บ่ายสอง', Gemini extracts the service, date, time and party size and asks for anything missing. The agent checks free slots in the shop's Google Calendar, offers the closest options as quick replies, and on confirmation creates the Calendar event and replies with a confirmation card. A scheduled job pushes a reminder the day before with a reschedule or cancel option, which runs through the same flow. Requests the model cannot parse, special requests and complaints are left for staff, who answer in the same chat because response mode is chat. Staff still own the day's list in Google Calendar and can block or move anything.
Worked example
No single public build covers the whole flow, so this one is assembled from three open repositories. LINE's own archived sample, line-api-use-case-reservation-restaurant (Unlicense, Python backend on AWS SAM with a Vue front end), implements restaurant booking inside the LINE app and states that a LINE message reminder to stop customers forgetting their visit comes as standard; its README points to a sibling hair salon sample. wuyenlin/calbot shows the calendar half: a Node bot that reads a day's appointments from Google Calendar and posts them to LINE as a Flex message. kkdai/linebot-gemini-pro shows the Gemini half: a LINE bot that handles text and image messages, with the setup steps for turning off auto-reply, setting response mode to chat and enabling the webhook. LINE's official Python SDK supplies the signature check and reply methods. None of these publish booking volumes or no-show figures.
Get a new agent use case every week
Join the Agent OS Club: every week a new use case with the exact prompts, skill files and setup steps, so you can build your own team of AI agents to run the work for you. It is how The Agentiv runs, on a team of 40 agents and growing. USD 15 a month, cancel any time.
Join the Agent OS ClubBuilding this for an organization? Learn more at theagentiv.com