Workflow: Manualtrigger Workflow
Integrations: code, httpRequest, manualTrigger, noOp, set, stickyNote

{"meta": {"instanceId": "workflow-ad008248", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:48.980188", "updatedAt": "2025-09-29T07:07:48.980201", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "nodes": [{"id": "f2ec712a-5120-44d8-9581-285d8b866322", "name": "When clicking \"Execute Workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [-160, 320], "parameters": {}, "typeVersion": 1, "notes": "This manualTrigger node performs automated tasks as part of the workflow."}, {"id": "b16a56a5-0b0c-43cc-952c-f6db1b63d1e9", "name": "Sticky Note2", "type": "n8n-nodes-base.stickyNote", "position": [20, 60], "parameters": {"color": 7, "width": 199.37543798209555, "height": 420.623805972039, "content": "1] In ElevenLabs, add a voice to your [voice lab]({{ $env.WEBHOOK_URL }} and copy its ID. Open this node and add the ID there"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "08e26051-58e9-42c5-b198-7854ab3e58d6", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [240, 60], "parameters": {"color": 7, "width": 212, "height": 418, "content": "2] Get your ElevenLabs API key (click your name in the bottom-left of [ElevenLabs]({{ $env.WEBHOOK_URL }} and choose \u2018profile\u2019)\n\nIn this node, create a new header auth cred. Set the name to `xi-api-key` and the value to your API key"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "de6eb950-862e-472b-8776-b45e3109561a", "name": "Sticky Note4", "type": "n8n-nodes-base.stickyNote", "position": [480, 60], "parameters": {"color": 7, "width": 392, "height": 415, "content": "3] In the 'credential' field of this node, create a new OpenAI cred with your [OpenAI API key]({{ $env.API_BASE_URL }}"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "e1d8158a-ad82-4b65-a2a8-a8f86cafd970", "name": "Sticky Note", "type": "n8n-nodes-base.stickyNote", "position": [-280, 20], "parameters": {"color": 7, "width": 230.39134868652621, "height": 233.3354221029769, "content": "### About\nThis workflow takes some French text, and translates it into spoken audio.\n\nIt then transcribes that audio back into text, translates it into English and generates an audio file of the English text"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "9614bb02-3b9c-4c5d-b596-8f94704cdb8b", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [0, 0], "parameters": {"color": 7, "width": 906, "height": 498, "content": "### Setup steps"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "69ebcaf8-58ab-48ba-967a-a1f0497524bb", "name": "Transcribe audio", "type": "n8n-nodes-base.httpRequest", "position": [720, 320], "parameters": {"url": "{{ $env.API_BASE_URL }}", "method": "POST", "options": {"lowercaseHeaders": false}, "sendBody": true, "contentType": "multipart-form-data", "sendHeaders": true, "authentication": "{{ $credentials.predefinedCredentialType }}", "bodyParameters": {"parameters": [{"name": "file", "parameterType": "formBinaryData", "inputDataFieldName": "data"}, {"name": "model", "value": "whisper-1"}]}, "headerParameters": {"parameters": [{"name": "Content-Type", "value": "multipart/form-data"}]}, "nodeCredentialType": "YOUR_CREDENTIAL_HERE"}, "credentials": {"openAiApi": {"id": "8gccIjcuf3gvaoEr", "name": "OpenAi account"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "4109bccb-2bfd-454b-accb-074bd6980897", "name": "OpenAI Chat Model1", "type": "n8n-nodes-base.noOp", "position": [940, 500], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4o-mini"}, "options": {}}, "credentials": {"openAiApi": {"id": "8gccIjcuf3gvaoEr", "name": "OpenAi account"}}, "typeVersion": 1.2, "notes": "This lmChatOpenAi node performs automated tasks as part of the workflow."}, {"id": "5178a17e-737c-4ad1-8f56-95707430e892", "name": "Set ElevenLabs voice ID and text", "type": "n8n-nodes-base.set", "position": [60, 320], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "c0f610ff-e200-4e55-a140-e8a4d6fa0eed", "name": "voice_id", "type": "string", "value": "Xb7hH8MSUJpSbSDYk0k2"}, {"id": "6755d8ae-e3df-465c-97ef-4f0187c31824", "name": "text", "type": "string", "value": "=Apr\u00e8s, on a fait la sieste, Camille a travaill\u00e9 pour French Today et j\u2019ai \u00e9tudi\u00e9 un peu, et puis Camille a propos\u00e9 de suivre une visite guid\u00e9e de l\u2019Abbaye de Beauport qui commen\u00e7ait \u00e0 17 heures. On a march\u00e9 environ vingt minutes, et je m\u2019arr\u00eatais souvent pour prendre des photos : la baie de Paimpol est si jolie ! Mais Camille m\u2019a dit : \u00ab D\u00e9p\u00eache-toi Sunny\u202f! La visite guid\u00e9e commence dans cinq minutes. \u00bb Donc, j\u2019ai boug\u00e9 mes fesses et on est arriv\u00e9es \u00e0 l\u2019abbaye"}]}, "includeOtherFields": true}, "typeVersion": 3.4, "notes": "This set node performs automated tasks as part of the workflow."}, {"id": "7aafe155-28da-43f4-8305-2dc834f0d95a", "name": "Generate French Audio", "type": "n8n-nodes-base.httpRequest", "position": [300, 320], "parameters": {"url": "{{ $env.BASE_URL }}", "method": "POST", "options": {"response": {"response": {"responseFormat": "file"}}}, "jsonBody": "={\"text\":\"{{ $json.text }}\",\"model_id\":\"eleven_multilingual_v2\",\"voice_settings\":{\"stability\":0.5,\"similarity_boost\":0.5}}", "sendBody": true, "sendQuery": true, "sendHeaders": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth", "queryParameters": {"parameters": [{"name": "optimize_streaming_latency", "value": "1"}]}, "headerParameters": {"parameters": [{"name": "accept", "value": "audio/mpeg"}]}}, "credentials": {"httpHeaderAuth": {"id": "wXsJ55OgKMW01nWm", "name": "ElevenLabs API Key"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "a8e75db9-4164-4332-bec3-01f91f40127f", "name": "Translate Text to English", "type": "n8n-nodes-base.noOp", "position": [960, 320], "parameters": {"text": "=Translate to English:\n{{ $json.text }}", "promptType": "define"}, "typeVersion": 1.5, "notes": "This chainLlm node performs automated tasks as part of the workflow."}, {"id": "57ea8bc0-a372-41f8-9b7c-6aef0350d9eb", "name": "Translate English text to speech", "type": "n8n-nodes-base.httpRequest", "position": [1320, 320], "parameters": {"url": "{{ $env.BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={\"text\":\"{{ $json[\"text\"].replaceAll('\"', '\\\\\"').trim() }}\",\"model_id\":\"eleven_multilingual_v2\",\"voice_settings\":{\"stability\":0.5,\"similarity_boost\":0.5}}", "sendBody": true, "sendQuery": true, "sendHeaders": true, "specifyBody": "json", "authentication": "{{ $credentials.genericCredentialType }}", "genericAuthType": "httpHeaderAuth", "queryParameters": {"parameters": [{"name": "optimize_streaming_latency", "value": "1"}]}, "headerParameters": {"parameters": [{"name": "accept", "value": "audio/mpeg"}]}}, "credentials": {"httpHeaderAuth": {"id": "wXsJ55OgKMW01nWm", "name": "ElevenLabs API Key"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "d6bb0022-8c51-41f1-9159-139a45457201", "name": "Add Filename", "type": "n8n-nodes-base.code", "position": [540, 320], "parameters": {"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n  item.binary.data.fileName = \"audio.mp3\";\n}\n\nreturn $input.all();"}, "typeVersion": 2, "notes": "This code node performs automated tasks as part of the workflow."}], "pinData": {}, "connections": {"69ebcaf8-58ab-48ba-967a-a1f0497524bb": {"main": [[{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-15c17e09", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-6ac5217e", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-375db95b", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-358cb2ee", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-3ced262a", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-d661b50f", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-59feb4da", "type": "main", "index": 0}], [{"node": "error-handler-69ebcaf8-58ab-48ba-967a-a1f0497524bb-9fd8e90c", "type": "main", "index": 0}]]}, "7aafe155-28da-43f4-8305-2dc834f0d95a": {"main": [[{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-6327a435", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-2c3a22fa", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-fdae5503", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-001dd6b0", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-2647593f", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-0c2c5123", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-55961615", "type": "main", "index": 0}], [{"node": "error-handler-7aafe155-28da-43f4-8305-2dc834f0d95a-e975124c", "type": "main", "index": 0}]]}, "57ea8bc0-a372-41f8-9b7c-6aef0350d9eb": {"main": [[{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-6897c3da", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-b4364dc4", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-4278cadc", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-1093d559", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-5eb12491", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-92c65937", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-dcfaec1f", "type": "main", "index": 0}], [{"node": "error-handler-57ea8bc0-a372-41f8-9b7c-6aef0350d9eb-43c032c0", "type": "main", "index": 0}]]}, "4109bccb-2bfd-454b-accb-074bd6980897": {"main": [[{"node": "error-handler-4109bccb-2bfd-454b-accb-074bd6980897-246fb822", "type": "main", "index": 0}]]}}, "name": "Manualtrigger Workflow", "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "description": "Automated workflow: Manualtrigger Workflow. This workflow integrates 8 different services: stickyNote, httpRequest, code, chainLlm, set. It contains 20 nodes and follows best practices for error handling and security.", "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "notes": "Excellent quality workflow: Manualtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}