Line Message API : push message & reply
Ready for 3.0What this workflow does
This workflow has 6 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- If: checks a condition and branches into true / false
- Edit Fields (Edit Fields (Set)): sets 1 field: line_uid
- Line : Reply with token (HTTP Request): calls api.line.me (POST)
- Line : Push Message (HTTP Request): calls api.line.me (POST)
HTTP calls to: api.line.me
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set
From the author
Workflow Description This workflow demonstrates how to use the LINE Messaging API to handle two scenarios: 1. Replying to a user's message using a reply token. 2. Sending a push message to a specific LINE user using their user ID. --- Key Features 1. Webhook…