Turn LINE chats into fast, helpful replies. An AI assistant answers questions, checks Gmail for updates, and creates calendar events without leaving the chat. It suits support teams that handle many customer messages and also book calls or visits.
Messages arrive through a webhook from LINE. A switch checks if the input is text, then a smart agent with user memory and a GPT 4o mini model plans the answer. The agent can read Gmail, check or create Google Calendar events, and pull quick facts from Wikipedia when needed. A second OpenAI step cleans and shortens the text so it is easy to read. If the message is not text or an error happens, a safe fallback reply goes back. A set node removes messy line breaks, then n8n posts the reply to the LINE API.
Setup needs a LINE channel access token, an OpenAI API key, and Google OAuth for Calendar and Gmail. Add the webhook URL in the LINE console and place your token in the HTTP header. Expect fewer manual replies, faster first response, and easy booking inside chat. Many teams cut reply time by over half and reduce context switching between tools. Use it for customer questions, appointment booking, simple order checks, and quick info requests on LINE.