Package Information
Released: 6/15/2025
Downloads: 780 weekly / 3,594 monthly
Latest Version: 0.1.1
Author: elct9620
Documentation
n8n-nodes-line-messaging
This is an n8n community node. It lets you use LINE Messaging API in your n8n workflows.
LINE Messaging API enables developers to build chatbots and integrate messaging features into their services with the LINE platform, which is especially popular in Japan, Thailand, Taiwan, and other parts of Asia.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install @aotoki/n8n-nodes-line-messaging
Operations
This node provides the following operations:
Line Messaging Node
- Reply: Reply to a user's message using the replyToken
Line Messaging Trigger Node
- Webhook: Receive events from LINE Messaging API
Credentials
You need to set up a LINE Bot channel in the LINE Developers Console before using this node.
- Create a new provider and channel in the LINE Developers Console
- Enable the Messaging API option
- Get your Channel Secret and Channel Access Token from the Basic Settings and Messaging API tabs
- Use these credentials when setting up the node in n8n
Compatibility
- Requires n8n version 1.0.0 or later
- Built without external dependencies to comply with n8n verified node requirements
Usage
Setting up a LINE Bot Webhook
- Create a workflow with the LINE Messaging Trigger node
- Configure the node to listen for the events you're interested in
- Copy the webhook URL from the trigger node
- Set this URL as your webhook URL in the LINE Developers Console
- Add a verification step in your workflow to validate the signature using the Channel Secret
Responding to Messages
- When a message is received, your workflow will be triggered
- You can access the
replyTokenfrom the trigger output - Use the LINE Messaging node with the "Reply" operation to send a response
- Set the reply token and add the messages you want to send
Example: Simple Echo Bot
This example workflow receives messages and echoes them back to the user:
- Add a LINE Messaging Trigger node and configure it to listen for "message" events
- Add a LINE Messaging node configured to "Reply"
- Set the "Reply Token" field to use the replyToken from the trigger output:
{{$json.replyToken}} - Add a text message with the content:
You said: {{$json.message.text}}
Limitations
- Currently, only simple text messages are supported due to n8n's UI limitations with complex JSON schemas
- This node is written without external dependencies to meet n8n verified node requirements