Asistente de notas personales

Avanzado

Este es unPersonal Productivity, AI Chatbotflujo de automatización del dominio deautomatización que contiene 17 nodos.Utiliza principalmente nodos como If, Switch, Telegram, HttpRequest, TelegramTrigger. Crear notas personales con transcripción de voz usando LLaMA local y Telegram

Requisitos previos
  • Bot Token de Telegram
  • Pueden requerirse credenciales de autenticación para la API de destino
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "id": "A97E7YWDFrFl5S1k",
  "meta": {
    "instanceId": "68c78b5f5127dab9c9c85759cf1cc527cbfc0b062ed9029302333429c7a80fff",
    "templateCredsSetupCompleted": true
  },
  "name": "PersonalNotesAssistant",
  "tags": [],
  "nodes": [
    {
      "id": "7871183c-2248-4bb0-a12e-99d5292483bb",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        0,
        280
      ],
      "webhookId": "6029ce63-61e3-4098-8e1f-2907e86d54f0",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {
          "download": true
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "wYYXAzaJrvt3JLAh",
          "name": "TakeMyNotes"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "eeec87eb-f23d-45a6-b053-a5667189a695",
      "name": "Obtener Archivo de Voz",
      "type": "n8n-nodes-base.telegram",
      "position": [
        660,
        380
      ],
      "webhookId": "74c2aa99-cfa0-4835-8524-a0063d6f184e",
      "parameters": {
        "fileId": "={{ $json.message.voice.file_id }}",
        "resource": "file"
      },
      "credentials": {
        "telegramApi": {
          "id": "wYYXAzaJrvt3JLAh",
          "name": "TakeMyNotes"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "08a2ade9-f7c7-44b5-acfa-463e8f0a3e0e",
      "name": "Cadena Básica LLM",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1100,
        -120
      ],
      "parameters": {
        "text": "=You are my personal assistant that helps me note my ideas. Summarize in bullet points this text to be saved in my notes and do not invent anything (give me no introduction or explanation, just the bullet points with the summary): \n'{{ $json.message.text }}'.",
        "batching": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "dc84d96d-5b4e-44c6-932f-5fa2ef5cfe99",
      "name": "Ollama Model",
      "type": "@n8n/n8n-nodes-langchain.lmOllama",
      "position": [
        1188,
        100
      ],
      "parameters": {
        "model": "llama3.2:1b",
        "options": {}
      },
      "credentials": {
        "ollamaApi": {
          "id": "1gnjAn8BMXTjWvEX",
          "name": "Ollama account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "b969e8f8-d467-47e3-8c31-894d67ddd3b7",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        440,
        180
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "text",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "a2d6691c-beed-44d8-a67f-be43b28155df",
                    "operator": {
                      "type": "string",
                      "operation": "exists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.message.text }}",
                    "rightValue": ""
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "voice",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "6ce5f222-d555-470b-862d-e132b9a5fb72",
                    "operator": {
                      "type": "string",
                      "operation": "exists",
                      "singleValue": true
                    },
                    "leftValue": "={{ $json.message.voice.file_id }}",
                    "rightValue": ""
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "aecff81f-1688-4aa5-9405-d474d2041a27",
      "name": "Cadena Básica LLM1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1100,
        380
      ],
      "parameters": {
        "text": "=You are my personal assistant that helps me note my ideas. Summarize in bullet points this text to be saved in my notes and do not invent anything (give me no introduction or explanation, just the bullet points with the summary): \n{{ $json.data }}",
        "batching": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "0e49f038-14e0-4f06-85e8-1fec21a2cca6",
      "name": "Ollama Model1",
      "type": "@n8n/n8n-nodes-langchain.lmOllama",
      "position": [
        1188,
        600
      ],
      "parameters": {
        "model": "llama3.2:1b",
        "options": {}
      },
      "credentials": {
        "ollamaApi": {
          "id": "1gnjAn8BMXTjWvEX",
          "name": "Ollama account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "fbefcf9b-6af5-4a4b-8bed-878e9a4c0b82",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        220,
        280
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "d2e36e10-3ffc-47ab-bf1a-3c9639b0106a",
              "operator": {
                "type": "number",
                "operation": "equals"
              },
              "leftValue": "={{ $json.message.from.id }}",
              "rightValue": 1460980649
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "3e95c679-b0dd-41bc-861e-e3c11e2be99f",
      "name": "Enviar mensaje de texto",
      "type": "n8n-nodes-base.telegram",
      "position": [
        440,
        380
      ],
      "webhookId": "f7dff382-0768-47c8-9203-7611d9ad2174",
      "parameters": {
        "text": "I am sorry, you have no access to my services.",
        "chatId": "={{ json.message.from.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "wYYXAzaJrvt3JLAh",
          "name": "TakeMyNotes"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "92fa3ec1-9b9b-49f1-90fb-a825d20f4f68",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        880,
        380
      ],
      "parameters": {
        "url": "http://localhost:9000/asr",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "bodyParameters": {
          "parameters": [
            {
              "name": "audio_file",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "c2abe1ff-805c-443b-af79-f408bd495417",
      "name": "Enviar mensaje de texto1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1476,
        180
      ],
      "webhookId": "3a560bdd-dec3-40b6-a2cc-bea226d8751f",
      "parameters": {
        "text": "={{ $json.text }}",
        "chatId": "telegramChatId",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "wYYXAzaJrvt3JLAh",
          "name": "TakeMyNotes"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "29aa8c0b-37db-4f27-ac7a-175687529cab",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        100
      ],
      "parameters": {
        "content": "## Telegram Trigger\nStart automation when receiving a Telegram message"
      },
      "typeVersion": 1
    },
    {
      "id": "2f92b3be-f888-41ac-87de-83e8118326f8",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        440
      ],
      "parameters": {
        "content": "## If\nDetect if message comes from admited user"
      },
      "typeVersion": 1
    },
    {
      "id": "d7e1d568-d28d-49ce-abf2-7e20612d8a92",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -40
      ],
      "parameters": {
        "content": "## Switch\nCheck if message is a text or audio message"
      },
      "typeVersion": 1
    },
    {
      "id": "b183602b-0a0c-4a2d-9a80-97944b825fe3",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        780,
        560
      ],
      "parameters": {
        "content": "## Transcription\nTranscribe audio locally with Whisper API"
      },
      "typeVersion": 1
    },
    {
      "id": "962f8b82-b2fc-4fd5-8e09-639bacbcbcec",
      "name": "Nota Adhesiva4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        200
      ],
      "parameters": {
        "content": "## AI Agent\nGenerate answer from AI Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "e6caefea-909f-4db1-970b-365faafdbc31",
      "name": "Nota Adhesiva5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1500,
        -20
      ],
      "parameters": {
        "content": "## Telegram \nSend response with elaborated note to the user"
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "bdd5e15f-5374-4329-b45d-b1683d01f454",
  "connections": {
    "fbefcf9b-6af5-4a4b-8bed-878e9a4c0b82": {
      "main": [
        [
          {
            "node": "b969e8f8-d467-47e3-8c31-894d67ddd3b7",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "3e95c679-b0dd-41bc-861e-e3c11e2be99f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b969e8f8-d467-47e3-8c31-894d67ddd3b7": {
      "main": [
        [
          {
            "node": "08a2ade9-f7c7-44b5-acfa-463e8f0a3e0e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "eeec87eb-f23d-45a6-b053-a5667189a695",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "92fa3ec1-9b9b-49f1-90fb-a825d20f4f68": {
      "main": [
        [
          {
            "node": "aecff81f-1688-4aa5-9405-d474d2041a27",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dc84d96d-5b4e-44c6-932f-5fa2ef5cfe99": {
      "ai_languageModel": [
        [
          {
            "node": "08a2ade9-f7c7-44b5-acfa-463e8f0a3e0e",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "0e49f038-14e0-4f06-85e8-1fec21a2cca6": {
      "ai_languageModel": [
        [
          {
            "node": "aecff81f-1688-4aa5-9405-d474d2041a27",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "eeec87eb-f23d-45a6-b053-a5667189a695": {
      "main": [
        [
          {
            "node": "92fa3ec1-9b9b-49f1-90fb-a825d20f4f68",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "08a2ade9-f7c7-44b5-acfa-463e8f0a3e0e": {
      "main": [
        [
          {
            "node": "c2abe1ff-805c-443b-af79-f408bd495417",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aecff81f-1688-4aa5-9405-d474d2041a27": {
      "main": [
        [
          {
            "node": "c2abe1ff-805c-443b-af79-f408bd495417",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7871183c-2248-4bb0-a12e-99d5292483bb": {
      "main": [
        [
          {
            "node": "fbefcf9b-6af5-4a4b-8bed-878e9a4c0b82",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿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?

Avanzado - Productividad personal, Chatbot de IA

¿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.

Información del flujo de trabajo
Nivel de dificultad
Avanzado
Número de nodos17
Categoría2
Tipos de nodos8
Descripción de la dificultad

Adecuado para usuarios avanzados, flujos de trabajo complejos con 16+ nodos

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34