Traductor de artículos de blog
Este es unContent Creation, Multimodal AIflujo de automatización del dominio deautomatización que contiene 10 nodos.Utiliza principalmente nodos como Code, Airtable, HttpRequest, ManualTrigger, GoogleTranslate. Usar Google Translate y Airtable almacenamiento para traducir automáticamente artículos de blog
- •Clave de API de Airtable
- •Pueden requerirse credenciales de autenticación para la API de destino
Nodos utilizados (10)
Categoría
{
"id": "HKTeS8KymXB9q4oR",
"meta": {
"instanceId": "c87a766eb8ed4a39121cf119a5038250a8ca0a11ed90cdd244f6beb7336758b3",
"templateCredsSetupCompleted": true
},
"name": "Blog Post Translator",
"tags": [],
"nodes": [
{
"id": "e490b9c8-89f1-4dd7-8274-1d33e9d89ba8",
"name": "Al hacer clic en 'Ejecutar flujo de trabajo'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-40,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "01266489-c432-402c-afb7-7f945aaf8469",
"name": "Solicitud HTTP",
"type": "n8n-nodes-base.httpRequest",
"position": [
220,
0
],
"parameters": {
"url": "https://dorik.com/blog/what-makes-a-good-website",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "d5b6cbea-9ac9-4378-96a5-ed61456183f8",
"name": "Crear un registro",
"type": "n8n-nodes-base.airtable",
"position": [
800,
0
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appP62U5MtSww1eeP",
"cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP",
"cachedResultName": "N8n experiment"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblHVSfUR71dToSif",
"cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP/tblHVSfUR71dToSif",
"cachedResultName": "Table 1"
},
"columns": {
"value": {
"HTML": "={{ $json.blogContent }}",
"TRANSLATED": "="
},
"schema": [
{
"id": "HTML",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "HTML",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TRANSLATED",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "TRANSLATED",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "create",
"authentication": "airtableOAuth2Api"
},
"credentials": {
"airtableOAuth2Api": {
"id": "5wYsH0BcRUSLs1MQ",
"name": "ABRAR AIRTABLE"
}
},
"typeVersion": 2.1
},
{
"id": "7d4f54ee-0401-4bdb-baea-046b2d05ae9d",
"name": "Código",
"type": "n8n-nodes-base.code",
"position": [
400,
0
],
"parameters": {
"jsCode": "const cheerio = require('cheerio');\n\nconst raw = items[0].json.body || items[0].json.data || items[0].json;\nconst html = typeof raw === 'string' ? raw : JSON.stringify(raw);\n\nconst $ = cheerio.load(html);\n\n// Extract just the visible text\nconst blogContent = $('.dorik-postContent-cnuauoa5').text().trim();\n\nreturn [\n {\n json: {\n blogContent\n }\n }\n];\n"
},
"typeVersion": 2
},
{
"id": "8c4889e9-8782-416f-903c-a84ac396d516",
"name": "Translate a language",
"type": "n8n-nodes-base.googleTranslate",
"position": [
1180,
0
],
"parameters": {
"text": "={{ $json.fields.HTML }}",
"translateTo": "fr"
},
"credentials": {
"googleTranslateOAuth2Api": {
"id": "9rbWLLKvutaCyRvG",
"name": "Google Translate account"
}
},
"typeVersion": 2
},
{
"id": "3985dd10-9486-440e-bf0b-b147889ccbed",
"name": "Actualizar registro",
"type": "n8n-nodes-base.airtable",
"position": [
1440,
0
],
"parameters": {
"base": {
"__rl": true,
"mode": "list",
"value": "appP62U5MtSww1eeP",
"cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP",
"cachedResultName": "N8n experiment"
},
"table": {
"__rl": true,
"mode": "list",
"value": "tblHVSfUR71dToSif",
"cachedResultUrl": "https://airtable.com/appP62U5MtSww1eeP/tblHVSfUR71dToSif",
"cachedResultName": "Table 1"
},
"columns": {
"value": {
"TRANSLATED": "={{ $json.translatedText }}"
},
"schema": [
{
"id": "id",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "id",
"defaultMatch": true
},
{
"id": "HTML",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "HTML",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TRANSLATED",
"type": "string",
"display": true,
"removed": false,
"readOnly": false,
"required": false,
"displayName": "TRANSLATED",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"HTML"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"authentication": "airtableOAuth2Api"
},
"credentials": {
"airtableOAuth2Api": {
"id": "5wYsH0BcRUSLs1MQ",
"name": "ABRAR AIRTABLE"
}
},
"typeVersion": 2.1
},
{
"id": "dd3cf3e0-02e1-4d1c-9baf-321c8d1d51ec",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
140,
-200
],
"parameters": {
"color": 3,
"width": 440,
"height": 520,
"content": "## Extract the HTML and convert to text \n"
},
"typeVersion": 1
},
{
"id": "cc314ca2-028b-45a8-a094-2a803d8868a1",
"name": "Nota adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
-200
],
"parameters": {
"width": 500,
"height": 520,
"content": "## Store the Text \n"
},
"typeVersion": 1
},
{
"id": "13659161-f683-4f81-be40-6ee8c90b1760",
"name": "Nota adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1120,
-200
],
"parameters": {
"color": 6,
"width": 220,
"height": 520,
"content": "## Translate"
},
"typeVersion": 1
},
{
"id": "c1938b28-2ece-4a7f-8026-62d2c52f9858",
"name": "Nota adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1360,
-200
],
"parameters": {
"color": 4,
"width": 280,
"height": 520,
"content": "## Store Translated Blog"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "e67c0089-8e80-4640-a0ea-b6f22adbb439",
"connections": {
"Code": {
"main": [
[
{
"node": "d5b6cbea-9ac9-4378-96a5-ed61456183f8",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"d5b6cbea-9ac9-4378-96a5-ed61456183f8": {
"main": [
[
{
"node": "8c4889e9-8782-416f-903c-a84ac396d516",
"type": "main",
"index": 0
}
]
]
},
"8c4889e9-8782-416f-903c-a84ac396d516": {
"main": [
[
{
"node": "3985dd10-9486-440e-bf0b-b147889ccbed",
"type": "main",
"index": 0
}
]
]
},
"e490b9c8-89f1-4dd7-8274-1d33e9d89ba8": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Creación de contenido, IA Multimodal
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Compartir este flujo de trabajo