Automated CBT Chatbot with LINE and OpenAI

somdn_product_page

This n8n workflow creates an intelligent chatbot that interacts with users via LINE, providing Cognitive Behavioral Therapy (CBT) advice using AI. When a user sends a message, the workflow starts by triggering a webhook that captures the message and initiates a loading animation in LINE, informing the user that their input is being processed. The message is sent to an Azure OpenAI model, which functions as a CBT therapist, generating supportive and helpful responses based on the user’s input. The response is then formatted for clarity and sent back to the user through LINE’s messaging API. The workflow includes conditional logic to handle only text messages and provides fallback messages for unsupported input types. Practical use cases include mental health support chatbots, personal coaching tools, and any service requiring automated, empathetic user interactions in LINE.

Node Count

11 – 20 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmChatAzureOpenAi, httpRequest, if, set, stickyNote, webhook

Reviews

There are no reviews yet.

Be the first to review “Automated CBT Chatbot with LINE and OpenAI”

Your email address will not be published. Required fields are marked *