Clasificador de correo simple
Este es unAI Summarization, Multimodal AIflujo de automatización del dominio deautomatización que contiene 8 nodos.Utiliza principalmente nodos como Gmail, GmailTrigger, LmChatOpenAi, TextClassifier. Clasificación automática de correos de Gmail basada en la clasificación de GPT-4 Mini
- •Cuenta de Google y credenciales de API de Gmail
- •Clave de API de OpenAI
Nodos utilizados (8)
Categoría
{
"id": "GW8BgSXuDRHwmSI6",
"meta": {
"instanceId": "e73c77a832a4af1fdbfd95e61201dd65dffb85871e88031e3f1475c5661e7b54",
"templateCredsSetupCompleted": true
},
"name": "Simple emails classifier",
"tags": [],
"nodes": [
{
"id": "a06f8baa-e67e-49ed-b471-74fc05fc6b38",
"name": "Gmail Trigger",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-560,
192
],
"parameters": {
"filters": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"credentials": {
"gmailOAuth2": {
"id": "2B6GbcGNkQi4VDzQ",
"name": "Gmail account"
}
},
"typeVersion": 1.3
},
{
"id": "fc3e3e26-d404-412c-8d2d-03988214773c",
"name": "Clasificador de Texto",
"type": "@n8n/n8n-nodes-langchain.textClassifier",
"position": [
-352,
160
],
"parameters": {
"options": {},
"inputText": "=subject: {{ $json.Subject }}\nMessage: {{ $json.snippet }}",
"categories": {
"categories": [
{
"category": "Business",
"description": "Anything from friends or co-workers related to work"
},
{
"category": "Sales",
"description": "Anything sounds like a cold email or someone trying to sell you something soft or hard way"
},
{
"category": "Meetings",
"description": "anything mentioning a meeting or a schedule or maybe a reminder"
},
{
"category": "Random",
"description": "Anything that doesn't fall into our 3 categories"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "8eb5fcae-9d32-445f-88a1-4203585be43a",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-352,
384
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "iuyzWhX2JGVK5PCn",
"name": "OpenAI Hostinger"
}
},
"typeVersion": 1.2
},
{
"id": "1a4ea43d-2cc5-4931-bd5f-8adeebe20334",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"position": [
0,
368
],
"parameters": {},
"typeVersion": 1
},
{
"id": "190c147b-d1e0-4aa0-ad3f-eadc012ff546",
"name": "Negocios",
"type": "n8n-nodes-base.gmail",
"position": [
0,
0
],
"webhookId": "f69cb642-4f22-4d3a-8107-af33f3760576",
"parameters": {
"labelIds": [
"IMPORTANT"
],
"resource": "thread",
"threadId": "={{ $('Gmail Trigger').item.json.id }}",
"operation": "addLabels"
},
"credentials": {
"gmailOAuth2": {
"id": "2B6GbcGNkQi4VDzQ",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "780c4ca1-a6c6-404b-8643-498a4badb9bf",
"name": "Correos Fríos",
"type": "n8n-nodes-base.gmail",
"position": [
192,
96
],
"webhookId": "0a6b8d61-f922-4462-b8b3-26bb6d6aec27",
"parameters": {
"resource": "thread",
"threadId": "={{ $json.id }}",
"operation": "delete"
},
"credentials": {
"gmailOAuth2": {
"id": "2B6GbcGNkQi4VDzQ",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "6ca3d75f-410b-49a1-a685-7bbbad760074",
"name": "Reuniones",
"type": "n8n-nodes-base.gmail",
"position": [
192,
256
],
"webhookId": "f69cb642-4f22-4d3a-8107-af33f3760576",
"parameters": {
"labelIds": [
"YELLOW_STAR"
],
"resource": "thread",
"threadId": "={{ $('Gmail Trigger').item.json.id }}",
"operation": "addLabels"
},
"credentials": {
"gmailOAuth2": {
"id": "2B6GbcGNkQi4VDzQ",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "4befbb3e-c00c-443d-b216-90f61cf5ac64",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-928,
128
],
"parameters": {
"color": 6,
"width": 272,
"height": 240,
"content": "## Guide\n\nSetup your openai credentials: https://platform.openai.com/settings/organization/api-keys\n\nSetup your gmail credentials\nand you are ready to go: https://console.cloud.google.com/"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "72a6698f-fc14-4c0a-8838-3f08023a5220",
"connections": {
"a06f8baa-e67e-49ed-b471-74fc05fc6b38": {
"main": [
[
{
"node": "fc3e3e26-d404-412c-8d2d-03988214773c",
"type": "main",
"index": 0
}
]
]
},
"fc3e3e26-d404-412c-8d2d-03988214773c": {
"main": [
[
{
"node": "190c147b-d1e0-4aa0-ad3f-eadc012ff546",
"type": "main",
"index": 0
}
],
[
{
"node": "780c4ca1-a6c6-404b-8643-498a4badb9bf",
"type": "main",
"index": 0
}
],
[
{
"node": "6ca3d75f-410b-49a1-a685-7bbbad760074",
"type": "main",
"index": 0
}
],
[
{
"node": "1a4ea43d-2cc5-4931-bd5f-8adeebe20334",
"type": "main",
"index": 0
}
]
]
},
"8eb5fcae-9d32-445f-88a1-4203585be43a": {
"ai_languageModel": [
[
{
"node": "fc3e3e26-d404-412c-8d2d-03988214773c",
"type": "ai_languageModel",
"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 - Resumen de IA, 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
Ilyass Kanissi
@ilyassI design and build custom no-code and low-code automations using n8n to help businesses save hours of manual work, streamline operations, and create clean, scalable workflows.
Compartir este flujo de trabajo