Handle LINE chat messages with an AI that replies in a supportive tone. Incoming texts get fast, helpful answers, while images or other types receive a clear notice. It suits clinics, wellness brands, and support teams that chat with users on LINE.
An incoming message hits a webhook and starts a loading indicator so the user sees activity. A check splits the path by message type. Non text messages get a polite reply that the format is not supported. Text messages go to an AI agent that uses an Azure OpenAI chat model. A format step turns the AI result into a clean output field. The system then sends a reply on LINE using the reply token, which avoids using broadcast quota. This flow keeps users informed and keeps costs under control.
Set up a LINE Messaging API channel and add the webhook URL from n8n in the LINE console. Create an Azure OpenAI deployment and connect it as the chat model. Expect faster replies, fewer missed chats, and steady quality across hours. Helpful for mental health check ins, guided self help, and general customer questions on LINE.