Turn your LINE inbox into a smart helper that answers questions, checks your calendar, and looks up email details. It keeps chats moving fast and gives clear replies without you switching apps. Great for support teams and small businesses that talk to customers on LINE.
Messages come into n8n from a LINE webhook. A switch checks if the message is text. If not, a friendly reply asks for text. If yes, an AI Agent reads the message and keeps the chat context by user ID. The agent uses GPT 4o mini, can read Gmail, check or create Google Calendar events, and pull facts from Wikipedia. A second OpenAI step condenses the answer into a short and readable message. A text cleaning step removes extra line breaks, then a reply is sent back to LINE using the official API. If anything goes wrong, an error path sends a safe fallback reply.
Setup needs a LINE Messaging API channel, an OpenAI API key, and Google access for Calendar and Gmail. After connecting credentials, set your LINE webhook to the n8n URL and paste your LINE channel access token into the reply nodes. Expect faster first responses, fewer tab switches, and less manual scheduling. Use it for booking, FAQ replies, inbox checks, and simple research in one chat thread.