Route and translate LINE chats between Slack and LINE with Claude
Ready for 3.0What this workflow does
This AI workflow has 42 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack and Anthropic. 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).
- Compute signature (Crypto): hashes or encrypts values
- Translation settings (Edit Fields (Set)): sets 2 fields: tone, glossary
- Signature valid? (If): checks a condition and branches into true / false
- Staff thread replies only (Filter): keeps only the items that match a condition
- Config (Edit Fields (Set)): sets 3 fields: acknowledgment_ja, low_confidence, acknowledgment_en
- Find customer (Data table): get (row)
- Split events (Split Out): splits a list into separate items
- Prepare reply (Code): runs custom JavaScript code
- Skip redelivered events (Remove Duplicates): removes duplicate items
- Needs translation? (If): checks a condition and branches into true / false
…plus 29 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.
- Still check Slack Trigger requires a signing secret on the Slack API credential (Slack message).
Nodes used (15)
- Slack Trigger
n8n-nodes-base.slackTrigger - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Anthropic
@n8n/n8n-nodes-langchain.anthropic - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook - Crypto
n8n-nodes-base.crypto - No Operation, do nothing
n8n-nodes-base.noOp - Split Out
n8n-nodes-base.splitOut - Remove Duplicates
n8n-nodes-base.removeDuplicates - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow routes LINE customer messages into Slack for Japanese-speaking staff, using Anthropic Claude to detect language and translate messages to Japanese, then translating staff replies back to the customer’s language with number/URL…