Templates / Reply to LINE inquiries with Claude Haiku 4.5 and Gmail staff approval

Reply to LINE inquiries with Claude Haiku 4.5 and Gmail staff approval

Ready for 3.0

by 久保田 卓磨 ✓ · 1 views · created 2026-10-03 · Support Chatbot, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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.

  1. Compute signature (Crypto): hashes or encrypts values
  2. Signature valid? (If): checks a condition and branches into true / false
  3. Config (Edit Fields (Set)): sets 5 fields: staffEmail, ackMessage, timezone…
  4. Split events (Split Out): splits a list into separate items
  5. Skip redelivered events (Remove Duplicates): removes duplicate items
  6. Extract message fields (Edit Fields (Set)): sets 5 fields: userId, replyToken, messageType…
  7. Keep text and images (Filter): keeps only the items that match a condition
  8. Send acknowledgment (HTTP Request): calls api.line.me (POST)
  9. Text or image? (Switch): routes items into 2 branches
  10. Use text as inquiry (Edit Fields (Set)): sets 1 field: inquiry

…plus 17 more steps. See the full node list below.

Services it uses

Anthropic Chat ModelGmail

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)

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…

Excerpt from 久保田 卓磨's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.