{"product_id":"n8n-workflow-translate-line-chats-to-slack-with-claude","title":"n8n Workflow: Translate LINE Chats to Slack with Claude","description":"\u003ch3\u003eTranslate LINE chat messages into Japanese for Slack—then translate staff replies back (safely) with Claude\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically routes \u003cstrong\u003eLINE customer messages\u003c\/strong\u003e into \u003cstrong\u003eSlack\u003c\/strong\u003e for Japanese-speaking staff, using \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e to detect the customer’s language and translate both directions—while validating \u003cstrong\u003enumbers, URLs, and emails\u003c\/strong\u003e to reduce risky translation mistakes.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives LINE webhook events\u003c\/strong\u003e, verifies the \u003cstrong\u003eLINE signature\u003c\/strong\u003e, and deduplicates any redelivered events.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters input to text messages only\u003c\/strong\u003e, ignoring non-text content.\u003c\/li\u003e\n  \u003cli\u003eUses \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e to:\n    \u003cul\u003e\n      \u003cli\u003eDetect the customer’s language\u003c\/li\u003e\n      \u003cli\u003eTranslate the message into \u003cstrong\u003eJapanese\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003eCreate an \u003cstrong\u003eacknowledgment\u003c\/strong\u003e in the customer’s language\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003eSends the acknowledgment back via the \u003cstrong\u003eLINE Messaging API\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003ePosts to \u003cstrong\u003eSlack\u003c\/strong\u003e in an existing customer thread or creates a new thread, then stores\/updates the mapping (thread and language) in an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eListens for \u003cstrong\u003eSlack staff replies\u003c\/strong\u003e and processes only \u003cstrong\u003ehuman messages\u003c\/strong\u003e inside the existing customer thread (excludes bot posts and messages prefixed with \u003cstrong\u003e\/\/\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003eFinds the matching customer record by \u003cstrong\u003eSlack thread timestamp\u003c\/strong\u003e, translates the staff reply to the customer’s language if needed, and validates that \u003cstrong\u003enumbers, URLs, and emails\u003c\/strong\u003e in the Japanese reply appear in the translation.\u003c\/li\u003e\n  \u003cli\u003eIf validation fails, it posts a \u003cstrong\u003eSlack warning\u003c\/strong\u003e and stops; otherwise it performs a \u003cstrong\u003eblind back-translation\u003c\/strong\u003e of the sent text to Japanese for review, then sends the final message back through the \u003cstrong\u003eLINE Messaging API\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSupport teams handling \u003cstrong\u003einternational LINE inquiries\u003c\/strong\u003e with a Japanese-first internal workflow in Slack.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators needing \u003cstrong\u003eautomated bilingual chat routing\u003c\/strong\u003e with safeguards around links, contact info, and numeric data.\u003c\/li\u003e\n  \u003cli\u003eReducing manual translation work while keeping staff in control of the final Japanese source text.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/nodes:\u003c\/strong\u003e LINE webhook + \u003cstrong\u003eLINE Messaging API\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e, \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n logic:\u003c\/strong\u003e \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eno op\u003c\/strong\u003e, \u003cstrong\u003eslack\u003c\/strong\u003e, \u003cstrong\u003ecrypto\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData handling:\u003c\/strong\u003e stores thread\/language mapping in an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46196307132595,"sku":"N8N-20728","price":77.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/Wffip9gyDYwi_1PANwzzL_eBEKNcbH.png?v=1791623021","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-translate-line-chats-to-slack-with-claude","provider":"N8N Commerce","version":"1.0","type":"link"}