Chinesischer Übersetzer
Fortgeschritten
Dies ist ein AI-Bereich Automatisierungsworkflow mit 9 Nodes. Hauptsächlich werden Webhook, HttpRequest und andere Nodes verwendet, kombiniert mit KI-Technologie für intelligente Automatisierung. Chinesische Übersetzung über Line und OpenRouter
Voraussetzungen
- •HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Verwendete Nodes (9)
Kategorie
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
"id": "iFkGAiVn3yBlykIG",
"meta": {
"instanceId": "558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a"
},
"name": "Chinese Translator",
"tags": [
{
"id": "IhTa6egt1w8uqn9Z",
"name": "_ACTIVE",
"createdAt": "2025-03-12T05:07:05.060Z",
"updatedAt": "2025-03-12T05:07:05.060Z"
},
{
"id": "0xpEHcJjNRRRMtEj",
"name": "lin",
"createdAt": "2025-03-12T05:06:24.112Z",
"updatedAt": "2025-03-12T05:06:24.112Z"
}
],
"nodes": [
{
"id": "3ebfb7f1-b655-405b-8bde-0219fa92d09c",
"name": "Line Webhook-Trigger",
"type": "n8n-nodes-base.webhook",
"position": [
-260,
-20
],
"webhookId": "b2b119e6-6de5-4684-9a51-4706a1c20caf",
"parameters": {
"path": "cn",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 2
},
{
"id": "b7fc7675-f8d7-4e7e-bec3-f9c626ba1728",
"name": "OpenRouter verwenden",
"type": "n8n-nodes-base.httpRequest",
"position": [
500,
-20
],
"parameters": {
"url": "https://openrouter.ai/api/v1/chat/completions",
"method": "POST",
"options": {},
"jsonBody": "={\n \"model\": \"qwen/qwen-max\",\n \"messages\": [\n {\n \"role\": \"system\",\n \"content\": \"please provide chinese character, pinyin and translation in english. if the input is in english, you will translate and also provide chinese character, pinyin and translation in english for each word\"\n },\n {\n \"role\": \"user\",\n \"content\": \"{{ $('Line Webhook').item.json.body.events[0].message.text }}\"\n }\n ]\n} ",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "7Y8q0dS2Y1fcvzTl",
"name": "OpenRouter.ai"
}
},
"typeVersion": 4.2
},
{
"id": "fed14d64-d3ea-4a17-98d5-28d889ac4ffa",
"name": "Line Antwort",
"type": "n8n-nodes-base.httpRequest",
"position": [
880,
-20
],
"parameters": {
"url": "https://api.line.me/v2/bot/message/reply",
"method": "POST",
"options": {},
"jsonBody": "={\n \"replyToken\": \"{{ $('Line Webhook').item.json.body.events[0].replyToken }}\",\n \"messages\": [\n {\n \"type\": \"text\",\n \"text\": \"{{ $json.choices[0].message.content.replaceAll(\"\\n\",\"\\\\n\").replaceAll(\"\\n\",\"\").removeMarkdown().removeTags().replaceAll('\"',\"\") }}\"\n }\n ]\n} ",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "3IEOzxKOUr6OEXyU",
"name": "Line @405jtfqs LazyChinese"
}
},
"typeVersion": 4.2
},
{
"id": "63ae844f-dfc3-4e8f-97d0-c0ec4be7858f",
"name": "Line Ladeanimation",
"type": "n8n-nodes-base.httpRequest",
"position": [
120,
-20
],
"parameters": {
"url": "https://api.line.me/v2/bot/chat/loading/start",
"method": "POST",
"options": {},
"jsonBody": "={\n \"chatId\": \"{{ $json.body.events[0].source.userId }}\",\n \"loadingSeconds\": 60\n}",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "3IEOzxKOUr6OEXyU",
"name": "Line @405jtfqs LazyChinese"
}
},
"typeVersion": 4.2
},
{
"id": "7e4cc2a0-958c-4111-909c-fba75a428d5e",
"name": "Notizzettel1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
-100
],
"parameters": {
"color": 4,
"width": 360,
"height": 560,
"content": "**Webhook from Line**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYou need to set-up this webhook at Line Manager or Line Developer Console\n\nYou'll need to copy Webhook URL from this node to put in Line Console\n\nAlso, don't forget to remove 'test' part when going for production\n\nhttps://developers.line.biz/en/docs/messaging-api/receiving-messages/\n"
},
"typeVersion": 1
},
{
"id": "767827b2-fbca-4dbb-b392-749c25a56c93",
"name": "Notizzettel2",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
-100
],
"parameters": {
"color": 4,
"width": 360,
"height": 560,
"content": "**Line Loading Animation**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node is to only give ... loading animation back in Line.\n\nIt seems stupid but it actually tells user that the workflow is running and you are not left waiting without hope\n\nTo authorize, you can fill in the Line Token in the node here, or you can you header authorization (shown at the 'reply message' node)\n\nhttps://developers.line.biz/en/docs/messaging-api/use-loading-indicator/"
},
"typeVersion": 1
},
{
"id": "8cdafc15-3bf8-45e9-8081-901d5c5a7880",
"name": "Notizzettel",
"type": "n8n-nodes-base.stickyNote",
"position": [
380,
-100
],
"parameters": {
"color": 2,
"width": 360,
"height": 560,
"content": "**OpenRouter.ai**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis is to call LLMs model at Openrouter.ai \n\nYou can use it to call ChatGPT, Lllama, Qwen, Deepseek, and much more with just standardized API call and top-up only once\n\nhttps://openrouter.ai/docs/quickstart"
},
"typeVersion": 1
},
{
"id": "3e2f4acf-771c-4d55-a13e-b4c874136574",
"name": "Notizzettel3",
"type": "n8n-nodes-base.stickyNote",
"position": [
760,
-100
],
"parameters": {
"color": 4,
"width": 360,
"height": 560,
"content": "**Line Reply**\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThis node is to send reply message via Line\n\nhttps://developers.line.biz/en/docs/messaging-api/sending-messages/\n"
},
"typeVersion": 1
},
{
"id": "b17eddaf-da3e-4e21-ab33-9e71f385d734",
"name": "Notizzettel4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
-200
],
"parameters": {
"color": 5,
"width": 780,
"height": 80,
"content": "## You can test this workflow by adding Line @405jtfqs"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"timezone": "Asia/Bangkok",
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "A8HoJ5iCrAMPbsLh",
"executionOrder": "v1"
},
"versionId": "aba1f2dc-81ea-4144-b88e-5fd37ee6b247",
"connections": {
"Line Webhook": {
"main": [
[
{
"node": "63ae844f-dfc3-4e8f-97d0-c0ec4be7858f",
"type": "main",
"index": 0
}
]
]
},
"b7fc7675-f8d7-4e7e-bec3-f9c626ba1728": {
"main": [
[
{
"node": "fed14d64-d3ea-4a17-98d5-28d889ac4ffa",
"type": "main",
"index": 0
}
]
]
},
"63ae844f-dfc3-4e8f-97d0-c0ec4be7858f": {
"main": [
[
{
"node": "b7fc7675-f8d7-4e7e-bec3-f9c626ba1728",
"type": "main",
"index": 0
}
]
]
}
}
}Häufig gestellte Fragen
Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Künstliche Intelligenz
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Chatbot-KI
Ihren eigenen psychologischen Beratung-Chatbot auf LINE für Gespräche zur psychischen Gesundheit erstellen
If
Set
Webhook
+
If
Set
Webhook
14 Nodeslin@davoy.tech
Sonstiges
Chinesischer Übersetzer
Chinesische Übersetzung über Line und OpenRouter (Text und Bilder)
Switch
Webhook
Http Request
+
Switch
Webhook
Http Request
21 Nodeslin@davoy.tech
Sonstiges
MiniBear Webhook
LINE-Nachrichtenverarbeitung mit GPT: Notizen, Visitenkartendaten und Aufgaben speichern
If
Switch
Webhook
+
If
Switch
Webhook
45 Nodeslin@davoy.tech
Sonstiges
Dankbarkeitsgefäß-Erinnerung
Ein KI-basierter LINE-Dankbarkeitserinnerungs-Workflow
Set
Http Request
Schedule Trigger
+
Set
Http Request
Schedule Trigger
9 Nodeslin@davoy.tech
Sonstiges
YogiAI
Tägliche Trainingspläne und Rich Media-Nachrichten über LINE erhalten
Set
Code
Split Out
+
Set
Code
Split Out
31 Nodeslin@davoy.tech
Sonstiges
KI-Assistent: Konversation mit Supabase-Speicher und Google Drive-Dateien
KI-Smart-Assistent: Konversation mit Dateien in Supabase Storage und Google Drive
If
Set
Wait
+
If
Set
Wait
62 NodesMark Shcherbakov
Engineering
Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes9
Kategorie1
Node-Typen3
Autor
lin@davoy.tech
@linlinmheeExterne Links
Auf n8n.io ansehen →
Diesen Workflow teilen