Reply to LINE inquiries with Claude Haiku 4.5 and Gmail staff approval
Ready for 3.0What this workflow does
This AI workflow has 33 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model and Gmail. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Compute signature (Crypto): hashes or encrypts values
- Signature valid? (If): checks a condition and branches into true / false
- Config (Edit Fields (Set)): sets 5 fields: staffEmail, ackMessage, timezone…
- Split events (Split Out): splits a list into separate items
- Skip redelivered events (Remove Duplicates): removes duplicate items
- Extract message fields (Edit Fields (Set)): sets 5 fields: userId, replyToken, messageType…
- Keep text and images (Filter): keeps only the items that match a condition
- Send acknowledgment (HTTP Request): calls api.line.me (POST)
- Text or image? (Switch): routes items into 2 branches
- Use text as inquiry (Edit Fields (Set)): sets 1 field: inquiry
…plus 17 more steps. See the full node list below.
Services it uses
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 (17)
- Webhook
n8n-nodes-base.webhook - Crypto
n8n-nodes-base.crypto - If
n8n-nodes-base.if - Split Out
n8n-nodes-base.splitOut - Remove Duplicates
n8n-nodes-base.removeDuplicates - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - No Operation, do nothing
n8n-nodes-base.noOp - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Data table
n8n-nodes-base.dataTable - Aggregate
n8n-nodes-base.aggregate - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow receives LINE Messaging API webhooks, drafts customer replies with Anthropic Claude using n8n Data Tables for stock and visit availability, and emails the draft to staff in Gmail for approval before sending the approved response…