Chinese translator via Line x OpenRouter (Text & Image)
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.line.me and openrouter.ai over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Line Loading Animation (HTTP Request): calls api.line.me (POST)
- Switch: routes items into 4 branches
- OpenRouter: qwen/qwen-2.5-72b-instruct:free (HTTP Request): calls openrouter.ai (POST)
- Get Image (HTTP Request): calls an HTTP API
- Line Reply (Not Supported 1) (HTTP Request): calls api.line.me (POST)
- Line Reply (Not Supported 2) (HTTP Request): calls api.line.me (POST)
- Line Reply (Text) (HTTP Request): calls api.line.me (POST)
- Extract from File: extracts data from a file (binary to propery)
- OpenRouter : qwen/qwen2.5-vl-72b-instruct:free (HTTP Request): calls openrouter.ai (POST)
- Line Reply (image) (HTTP Request): calls api.line.me (POST)
HTTP calls to: api.line.me, openrouter.ai
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 (4)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Extract from File
n8n-nodes-base.extractFromFile
From the author
This workflow template, "Chinese Translator via Line x OpenRouter (Text & Image)" is designed to provide seamless Chinese translation services directly within the LINE messaging platform. By integrating with OpenRouter.ai and advanced language models like…