Handle LINE support in Slack with Claude and Google Gemini embeddings
Ready for 3.0What this workflow does
This AI workflow has 66 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Slack, Anthropic and Embeddings Google Gemini. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Compute signature (Crypto): hashes or encrypts values
- Learning settings (Edit Fields (Set)): sets 1 field: keep_contacts
- Get learned Q&A (Data table): get (row)
- Reminder settings (Edit Fields (Set)): sets 5 fields: wait_minutes, max_reminders, business_start_hour…
- Signature valid? (If): checks a condition and branches into true / false
- Staff thread replies only (Filter): keeps only the items that match a condition
- Drop empty rows (Code): runs custom JavaScript code
- Within business hours? (If): checks a condition and branches into true / false
- Config (Edit Fields (Set)): sets 3 fields: auto_reply, similarity_threshold, acknowledgment
- Find customer (Data table): get (row)
…plus 47 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 (20)
- Slack Trigger
n8n-nodes-base.slackTrigger - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Anthropic
@n8n/n8n-nodes-langchain.anthropic - Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - 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 - Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n Trigger
n8n-nodes-base.n8nTrigger
From the author
Quick overview This workflow routes LINE customer inquiries into Slack threads, uses Anthropic Claude plus an in-memory vector store (Google Gemini embeddings) to suggest or send replies, and learns from staff replies tagged learn after masking personal data,…