Log LINE Official Account messages to Google Sheets with auto-replies
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Verify LINE Signature (Code): runs custom JavaScript code
- Signature Valid? (If): checks a condition and branches into true / false
- Respond 200 OK (Respond to Webhook): sends the response back to the webhook caller
- Respond 401 Invalid Signature (Respond to Webhook): sends the response back to the webhook caller
- Split Out: splits a list into separate items
- Only Text Messages (Filter): keeps only the items that match a condition
- Get LINE User Profile (HTTP Request): calls an HTTP API
- Append Row to Google Sheet (Google Sheets): append
- Send LINE Auto-Reply (HTTP Request): calls api.line.me (POST)
Services it uses
Other LINE + Google Sheets templates (33)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview Save every text message your LINE Official Account receives to a Google Sheet, and reply with a short automatic message. For small shops and teams that use LINE OA for customer chat and want a simple log of incoming messages without paying for…