n8n Workflow: Log LINE Official Account Messages to Google Sheets
n8n Workflow: Log LINE Official Account Messages to Google Sheets
Regular price
£53.99
Regular price
£53.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Workflow: Log LINE Official Account Messages to Google Sheets
Regular price
£53.99
Regular price
£53.99
Sale price
Unit price
/
per
Automatically log every LINE Official Account text message to Google Sheets—then auto-reply
This n8n workflow captures incoming messages from your LINE Official Account, saves each text message to a Google Sheet (with timestamp and sender details), and immediately sends a short LINE auto-reply using the official reply token.
What this workflow does
- Receives LINE events via Webhook: The LINE Webhook receives messages from the LINE Messaging API.
- Verifies request authenticity: The Verify LINE Signature node checks the x-line-signature header using HMAC-SHA256 with your Channel secret. If verification fails, it returns 401 and answers LINE with 200 OK right away as LINE expects.
- Processes each event and filters to text only: Split Out Events handles events separately, and Only Text Messages keeps text messages only.
- Enriches with sender info: Get LINE User Profile retrieves the sender’s display name.
- Appends a row to Google Sheets: Append Row to Google Sheet stores timestamp, userId, displayName, message, and replyToken.
- Sends an auto-reply: Send LINE Auto-Reply replies using the replyToken.
Use cases
- Small shops and teams who manage customer chat via LINE OA and want a simple, auditable message log without a full CRM.
- Operational visibility: quickly track inbound requests, questions, or feedback by sender and time.
- Lightweight support intake: log everything first, then respond instantly to confirm receipt.
Technical details
- Integrates with LINE Messaging API using a Webhook and signature verification.
- Uses Google Sheets for appending rows (timestamp, userId, displayName, message, replyToken).
- n8n nodes include: if, code, filter, webhook, split out, plus supporting logic (e.g., sticky notes for guidance).
Setup inputs: In LINE Developers, use your Channel secret and a long-lived Channel access token. In n8n, configure the HTTP Request authentication as Bearer <your token>, paste the secret into the signature verification node, and connect the target Google Sheet.
