The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"version": 1,
"nodes": [
{
"id": "1",
"type": "n8n-nodes-base.manualTrigger",
"name": "Manual Trigger",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"id": "2",
"type": "n8n-nodes-base.set",
"name": "Set Input",
"typeVersion": 2,
"position": [
460,
300
],
"parameters": {
"values": {
"string": [
{
"name": "sentence",
"value": "Hola, \u00bfc\u00f3mo est\u00e1s?"
},
{
"name": "target_lang",
"value": "French"
}
]
}
}
},
{
"id": "3",
"type": "n8n-nodes-base.switch",
"name": "Choose Language",
"typeVersion": 2,
"position": [
700,
300
],
"parameters": {
"property": "={{ $json[\"target_lang\"] }}",
"rules": [
{
"value": "Spanish"
},
{
"value": "French"
},
{
"value": "German"
}
]
}
},
{
"id": "4",
"type": "n8n-nodes-base.openai",
"name": "Translate to Spanish",
"typeVersion": 2,
"position": [
960,
140
],
"parameters": {
"model": "gpt-4o-mini",
"prompt": "Translate the following text to Spanish:\n\n{{ $json[\"sentence\"] }}",
"responseFormat": "json"
}
},
{
"id": "5",
"type": "n8n-nodes-base.openai",
"name": "Translate to French",
"typeVersion": 2,
"position": [
960,
300
],
"parameters": {
"model": "gpt-4o-mini",
"prompt": "Translate the following text to French:\n\n{{ $json[\"sentence\"] }}",
"responseFormat": "json"
}
},
{
"id": "6",
"type": "n8n-nodes-base.openai",
"name": "Translate to German",
"typeVersion": 2,
"position": [
960,
460
],
"parameters": {
"model": "gpt-4o-mini",
"prompt": "Translate the following text to German:\n\n{{ $json[\"sentence\"] }}",
"responseFormat": "json"
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Set Input",
"type": "main",
"index": 0
}
]
]
},
"Set Input": {
"main": [
[
{
"node": "Choose Language",
"type": "main",
"index": 0
}
]
]
},
"Choose Language": {
"main": [
[
{
"node": "Translate to Spanish",
"type": "main",
"index": 0
}
],
[
{
"node": "Translate to French",
"type": "main",
"index": 0
}
],
[
{
"node": "Translate to German",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
O3. Uses openai. Event-driven trigger; 6 nodes.
Source: https://gist.github.com/richardsondx/706d217f2999955b5eb905f7d8c78c73 — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Auto Reply Slack Bot. Uses slackTrigger, openai. Event-driven trigger; 2 nodes.
Hubspot Workflow. Uses hubspotTrigger, hubspot, httpRequest, openai. Event-driven trigger; 22 nodes.
Video Automation Workflow. Uses googleSheetsTrigger, openai, httpRequest. Event-driven trigger; 10 nodes.
This workflow enables users to submit food images to a Telegram bot, which uses OpenAI’s GPT-4 Vision to identify the item and estimate its caloric value. The results are stored in Google Sheets and s
An AI inbox labelling manager that has reasoning attached to the ChatGPT inbox manager within n8n. Super simple yet highly effective automation.