AutomationFlowsAI & RAG › Nextech1

Nextech1

NEXTECH1. Uses chatTrigger, agent, lmChatCohere, memoryBufferWindow. Chat trigger; 9 nodes.

Chat trigger trigger★★★☆☆ complexityAI-powered9 nodesChat TriggerAgentCohere ChatMemory Buffer WindowIn-Memory Vector StoreCohere EmbeddingsMy Sql Tool
AI & RAG Trigger: Chat trigger Nodes: 9 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

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 →

Download .json
{
  "name": "NEXTECH1",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.4,
      "position": [
        0,
        0
      ],
      "id": "be6c3d8c-3350-4426-bf2b-eee72dc01e0b",
      "name": "When chat message received"
    },
    {
      "parameters": {
        "options": {
          "systemMessage": "Voc\u00ea \u00e9 o NexTech E-commerce Assistant, a intelig\u00eancia artificial respons\u00e1vel por gerenciar, consultar dados de vendas e realizar cadastros na NexTech.\n\nSUAS RESPONSABILIDADES:\n\nAtender clientes, responder consultas sobre produtos, pre\u00e7os e estoque.\n\nConsultar status de pedidos, realizar cruzamento de dados de clientes/compras.\n\nRealizar novos cadastros de clientes e registrar sugest\u00f5es de novos produtos para futuras compras.\n\nSempre responder de forma clara, t\u00e9cnica e comercial.\n\nCONSULTA E GEST\u00c3O DE DADOS:\n\nUtilize a ferramenta MySQL para acessar as tabelas clientes, produtos, pedidos e sugestoes_produtos.\n\nSempre que solicitado, busque pre\u00e7os/estoque na tabela produtos, usando url_imagem para respostas visuais.\n\nPara informa\u00e7\u00f5es de compras, cruze IDs de clientes e pedidos para relat\u00f3rios precisos.\n\nREGRAS DE OPERA\u00c7\u00c3O:\n\nFluxo de Cliente: Ao atender, consulte a tabela clientes. Se n\u00e3o encontrar, pergunte educadamente: 'N\u00e3o localizei seu cadastro. Gostaria de se registrar para aproveitar nossos produtos? Se sim, informe Nome, E-mail e Telefone'.\n\nFluxo de Sugest\u00e3o: Se o cliente solicitar um produto n\u00e3o existente, verifique se deseja registr\u00e1-lo como sugest\u00e3o. Se sim, use a ferramenta de cadastro para a tabela sugestoes_produtos.\n\nAo consultar produto, mencione nome, valor e estoque dispon\u00edvel.\n\nSe o cliente pedir informa\u00e7\u00f5es de pedidos, solicite nome ou e-mail.\n\nN\u00e3o invente dados. Se algo n\u00e3o constar nas tabelas, informe a inexist\u00eancia do registro.\n\nTOM DE VOZ:\n\nProfissional, eficiente e focado na experi\u00eancia de compra do cliente NexTech.\""
        }
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 3.1,
      "position": [
        208,
        0
      ],
      "id": "d6cd695f-b447-4ba9-8024-f28255d413ca",
      "name": "AI Agent"
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatCohere",
      "typeVersion": 1,
      "position": [
        64,
        224
      ],
      "id": "df92120b-f05a-44b5-aaec-8ea4cef509de",
      "name": "Cohere Chat Model",
      "credentials": {
        "cohereApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {},
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.4,
      "position": [
        208,
        384
      ],
      "id": "9736b11f-0348-4c78-810e-1e8712214065",
      "name": "Simple Memory"
    },
    {
      "parameters": {
        "mode": "retrieve-as-tool",
        "toolDescription": "Voc\u00ea \u00e9 o assistente virtual da NexTech. Sua miss\u00e3o \u00e9 fornecer suporte, esclarecer d\u00favidas e orientar colaboradores com base no manual interno da empresa.\n\nDiretrizes de Personalidade:\n\nTom: Profissional, t\u00e9cnico, direto e \u00e1gil. Voc\u00ea fala a l\u00edngua de quem entende de c\u00f3digo e inova\u00e7\u00e3o.\n\nEstilo: Minimalista. V\u00e1 direto ao ponto, mas mantenha a cordialidade.\n\nCultura: Voc\u00ea promove a autonomia, a excel\u00eancia t\u00e9cnica e a cultura de 'Tech Sandbox'. Sempre que poss\u00edvel, incentive o aprendizado cont\u00ednuo e a experimenta\u00e7\u00e3o respons\u00e1vel.\n\nRegras:\n\nBaseie todas as suas respostas exclusivamente no documento de RH fornecido (Vector Store).\n\nSe uma pergunta n\u00e3o puder ser respondida pelo documento, direcione o colaborador para o canal de suporte humano da NexTech.\n\nAdote a postura de um hub de tecnologia que prioriza solu\u00e7\u00f5es, n\u00e3o apenas burocracia.\"",
        "memoryKey": {
          "__rl": true,
          "mode": "list",
          "value": "vector_store_key"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "typeVersion": 1.3,
      "position": [
        624,
        96
      ],
      "id": "e144378c-885a-42a0-b87c-fea75eeb04fc",
      "name": "Simple Vector Store"
    },
    {
      "parameters": {
        "modelName": "embed-multilingual-v3.0"
      },
      "type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
      "typeVersion": 1,
      "position": [
        800,
        352
      ],
      "id": "6dcca8d8-f92a-40c2-a5f4-e3e0a7070061",
      "name": "Embeddings Cohere",
      "credentials": {
        "cohereApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "select",
        "table": {
          "__rl": true,
          "value": "={{ $fromAI('Table', ``, 'string') }}",
          "mode": "name"
        },
        "where": {
          "values": [
            {
              "column": "=nome",
              "condition": "LIKE",
              "value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('values0_Value', `Sempre use o formato %nome% (com % no inicio e no fim para buscar Exemplo:\n%Jo\u00e3o Silva%`, 'string') }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.mySqlTool",
      "typeVersion": 2.5,
      "position": [
        336,
        320
      ],
      "id": "62009b70-a565-49d7-a67b-c76946ec3f53",
      "name": "Select rows from a table in MySQL",
      "credentials": {
        "mySql": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "table": {
          "__rl": true,
          "value": "clientes",
          "mode": "name"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.mySqlTool",
      "typeVersion": 2.5,
      "position": [
        544,
        320
      ],
      "id": "8efb2b12-2f09-48f2-a841-61c1ecced37b",
      "name": "Ferramenta_cadastro_clientes",
      "credentials": {
        "mySql": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "table": {
          "__rl": true,
          "value": "sugestoes_produtos",
          "mode": "name"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.mySqlTool",
      "typeVersion": 2.5,
      "position": [
        448,
        496
      ],
      "id": "42b4a934-e8c0-4ce1-9ee6-d0fe4cb1c762",
      "name": "sugestoes de produtos",
      "credentials": {
        "mySql": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cohere Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Vector Store": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings Cohere": {
      "ai_embedding": [
        [
          {
            "node": "Simple Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Select rows from a table in MySQL": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Ferramenta_cadastro_clientes": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "sugestoes de produtos": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "versionId": "1ecf781c-b521-4465-9a88-d1998a3d06ac",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodeGroups": [],
  "id": "4oeVLQPpWhTGFUif",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

NEXTECH1. Uses chatTrigger, agent, lmChatCohere, memoryBufferWindow. Chat trigger; 9 nodes.

Source: https://github.com/Evertonferrg/imersao_agentes_Ia_Programa_ONE_Alura/blob/835b4f6fda0380cfa949e95f68d1efa3c74769ac/projeto/modelos/NEXTECH1.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

oracle-one-imersao-agentes-ia_aula02. Uses chatTrigger, agent, lmChatCohere, memoryBufferWindow. Chat trigger; 7 nodes.

Chat Trigger, Agent, Cohere Chat +4
AI & RAG

HR Buddy — Webhook + Guardrail. Uses telegramTrigger, chainLlm, lmChatGroq, agent. Webhook trigger; 17 nodes.

Telegram Trigger, Chain Llm, Groq Chat +7
AI & RAG

INM_clase_2_flujo_2_raiway. Uses agent, lmChatCohere, memoryBufferWindow, vectorStoreInMemory. Event-driven trigger; 8 nodes.

Agent, Cohere Chat, Memory Buffer Window +5
AI & RAG

oracle-one-imersao-agentes-ia_aula03. Uses agent, lmChatCohere, memoryBufferWindow, vectorStoreInMemory. Event-driven trigger; 8 nodes.

Agent, Cohere Chat, Memory Buffer Window +5
AI & RAG

**Type of data is binary

Chat Trigger, Agent, Memory Buffer Window +6