n8n-nodes-linewebhook
v0.1.50
Published
Line n8n webhook & messaging nodes
Downloads
152
Maintainers
Readme
n8n-nodes-linewebhook
This is an n8n Line support. It lets you create a line chatbot with n8n without any coding.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Installation
Community Nodes (Recommended)
- Go to Settings > Community Nodes.
- Select Install.
- Enter n8n-nodes-linewebhook in Enter npm package name.
- Agree to the risks of using community nodes: select I understand the risks of installing unverified code from a public source.
- Select Install. After installing the node, you can use it like any other node. n8n displays the node in search results in the Nodes panel.
Manual installation
To get started install the package in your n8n root directory:
npm install n8n-nodes-linewebhook
For Docker-based deployments, add the following line before the font installation command in your n8n Dockerfile:
RUN cd /usr/local/lib/node_modules/n8n && npm install n8n-nodes-linewebhook
Operations
Line Webhook
Supported event types:
message
- text
- audio
- sticker
- image
- video
- location
postback
join
leave
member join
member leave
Compose Line Message Types
Line Messaging APIs
Send Message
Specify either replyToken to reply message or targetRecipient to send message to a group or a user. You can link the output of the previouse message node to be the content of message property of this node.
Get Message Content
When receive multimedia message from webhook, you need to use this node to retrieve the content of the file. For example, if user sends you an image, you can use this node to retrieve the image, and send it to AWS S3.
Get Group Chat Summary
Retrieve the group chat summary with a group chat id.
Get User Profile
Retrieve the user's profile with a user id.
Credentials
Webhook
- Sign up on Line Developer Console
- Create a messaging API channel, and then copy the channel secret
- Paste the channel secret in node's credential setting
- Configure the Webhook URL in the messaging API settings
Messaging API
- Go to page "Messaging API" setting page in the line developer console.
- Copy
Channel access token
. Create a new credential in the messaging api node and paste this access token in the "Channel Access Token" property.