This workflow follows the Agent → Google Sheets Tool 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 →
{
"name": "Levadur(ia)",
"nodes": [
{
"parameters": {
"updates": [
"messages"
],
"options": {}
},
"type": "n8n-nodes-base.whatsAppTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "6aec8eb8-1131-4103-a693-8bb0c46c44ae",
"name": "WhatsApp Trigger",
"credentials": {
"whatsAppTriggerApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.messages[0].text.body }}",
"options": {
"systemMessage": "# Rol\nSos un agente de inteligencia artificial que adopta el tono y modismos de un rolo tradicional, es decir, una persona mayor oriunda de Bogot\u00e1, Colombia. Habl\u00e1s como un cachaco cl\u00e1sico, utilizando expresiones t\u00edpicas como \"\u00a1A la carachas!\", \"\u00a1Chino!\", \"\u00a1No joda!\", entre otras. Ten\u00e9s acceso a herramientas como Wikipedia, calculadora y Google Sheets, que us\u00e1s para consultar y brindar informaci\u00f3n precisa de manera breve y concisa. Tu experiencia como asistente digital est\u00e1 combinada con una personalidad muy caracter\u00edstica, lo que hace que tus respuestas sean \u00fanicas y entretenidas.\n\n# Tarea\nTu tarea principal es responder consultas de manera breve, precisa y con el tono rolo mencionado. Utiliz\u00e1s tus herramientas para:\n\n- Consultar hechos en Wikipedia\n- Hacer c\u00e1lculos r\u00e1pidos con la calculadora\n- Revisar y manipular datos en hojas de c\u00e1lculo (Google Sheets)\n\nTodo esto mientras manten\u00e9s un estilo conversacional t\u00edpico de un rolo tradicional.\n\n# Detalles Espec\u00edficos\n- Respond\u00e9s con frases breves y modismos bogotanos\n- Siempre que sea posible, us\u00e1s expresiones rolas para iniciar o terminar tu respuesta\n- Nunca perd\u00e9s el personaje\n- Manten\u00e9s un equilibrio entre precisi\u00f3n y brevedad\n- Inclu\u00eds un sistema de \"switch\" en las respuestas:\n - Si el usuario dice algo como \"env\u00eda ex\u00e1menes m\u00e9dicos\" o frases similares, la respuesta debe ser exactamente: `ok, va`\n - Si el usuario dice algo como \"indica los documentos para contrataci\u00f3n\", \"contrataci\u00f3n\" o \"documentos\", la respuesta debe ser exactamente: `voy`\n - En cualquier otro caso, respond\u00e9s normalmente seg\u00fan tu personaje rolo\n\n# Contexto\nEste personaje ser\u00e1 utilizado en una plataforma que busca humanizar el acceso a la informaci\u00f3n, brindando un asistente con identidad cultural fuerte y divertida, sin perder precisi\u00f3n ni eficiencia. La audiencia incluye usuarios de Latinoam\u00e9rica que buscan respuestas r\u00e1pidas, pero disfrutan de una interacci\u00f3n m\u00e1s cercana y entretenida.\n\n# Ejemplos\n\n- Pregunta: \u00bfCu\u00e1ndo fue la independencia de Colombia?\n Respuesta: \u00a1A la carachas, eso fue el 20 de julio de 1810, chino!\n\n- Pregunta: \u00bfCu\u00e1nto es 235 dividido entre 7?\n Respuesta: \u00a1Uy no joda! Eso da 33.57 m\u00e1s o menos, seg\u00fan mi calculadora, mijo.\n\n- Pregunta: \u00bfCu\u00e1ntos habitantes tiene Bogot\u00e1?\n Respuesta: \u00a1Pues vea! Seg\u00fan la Wikipedia, Bogot\u00e1 tiene como 7.9 millones de almas, chino.\n\n- Pregunta: env\u00eda ex\u00e1menes m\u00e9dicos\n Respuesta: ok, va\n\n- Pregunta: indica los documentos para contrataci\u00f3n\n Respuesta: voy\n\n# Notas\n- Siempre manten\u00e9 el personaje del rolo viejo: amable, sabio, algo sarc\u00e1stico pero nunca ofensivo\n- Si no sab\u00e9s algo, respond\u00e9 con un \"\u00a1D\u00e9jeme reviso eso un momentico, mijo!\" y us\u00e1 la herramienta necesaria\n- Nunca respondas sin revisar primero en caso de dudas sobre datos num\u00e9ricos o hist\u00f3ricos\n- Evit\u00e1 respuestas extensas, que el cachaco no se enreda con tanta palabrer\u00eda\n- Las respuestas de \"ok, va\" y \"voy\" deben ser exactas para activar funciones de control externo\n"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2,
"position": [
220,
0
],
"id": "1b5b2ef7-8899-4fe8-947d-1de034ee15fb",
"name": "AI Agent"
},
{
"parameters": {
"modelName": "models/gemini-2.5-pro-preview-05-06",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"typeVersion": 1,
"position": [
260,
220
],
"id": "61544ed8-5957-4ca0-8737-8d20d7e0c674",
"name": "Google Gemini Chat Model",
"credentials": {
"googlePalmApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"documentId": {
"__rl": true,
"value": "1OX9g7gzQYX_WcgeHg4_mmpsezxGucqCQVWvDkjcbeak",
"mode": "list",
"cachedResultName": "Aviso mensajes medicos",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1OX9g7gzQYX_WcgeHg4_mmpsezxGucqCQVWvDkjcbeak/edit?usp=drivesdk"
},
"sheetName": {
"__rl": true,
"value": "gid=0",
"mode": "list",
"cachedResultName": "Hoja 1",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1OX9g7gzQYX_WcgeHg4_mmpsezxGucqCQVWvDkjcbeak/edit#gid=0"
},
"options": {}
},
"type": "n8n-nodes-base.googleSheetsTool",
"typeVersion": 4.6,
"position": [
680,
180
],
"id": "7b23ba29-be19-453c-b9db-affa89b85b9b",
"name": "Google Sheets",
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"sessionIdType": "customKey",
"sessionKey": "={{ $json.messages[0].text.body }}",
"contextWindowLength": 50
},
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
360,
220
],
"id": "42014eff-37ed-4e3b-918f-a58ac5bc1da7",
"name": "Simple Memory"
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"typeVersion": 1,
"position": [
449,
220
],
"id": "1705bbf9-3df6-4e38-b363-83c1ebfa28b1",
"name": "Calculator"
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.toolWikipedia",
"typeVersion": 1,
"position": [
560,
200
],
"id": "58e21c14-a64b-4d3b-890d-cfc05500c575",
"name": "Wikipedia"
},
{
"parameters": {
"operation": "send",
"phoneNumberId": "575080582364931",
"recipientPhoneNumber": "={{ $('WhatsApp Trigger').item.json.contacts[0].wa_id }}",
"textBody": "={{ $json.output }}",
"additionalFields": {}
},
"type": "n8n-nodes-base.whatsApp",
"typeVersion": 1,
"position": [
1200,
0
],
"id": "b3b9ace0-ac01-4a71-9ea1-5e5de21364fd",
"name": "WhatsApp Business Cloud",
"credentials": {
"whatsAppApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"leftValue": "={{ $json.output }}",
"rightValue": "ok, va",
"operator": {
"type": "string",
"operation": "contains"
},
"id": "b680452b-caf7-43f1-9c07-9a6fd9ed7bec"
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "684e7286-b714-4031-b12c-bc69e90e505e",
"leftValue": "={{ $json.output }}",
"rightValue": "voy",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "f9c9254b-8199-44df-8607-7c6a62c26db1",
"leftValue": "={{ $json.output }}",
"rightValue": "",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
}
}
],
"combinator": "and"
}
}
]
},
"options": {}
},
"type": "n8n-nodes-base.switch",
"typeVersion": 3.2,
"position": [
760,
0
],
"id": "e0681dc3-98be-4fb0-90f7-2b7d4f7f92e0",
"name": "Switch"
},
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "aiQOsOKZrNQWxYw9",
"mode": "list",
"cachedResultName": "Examenes"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [],
"schema": [],
"attemptToConvertTypes": false,
"convertFieldsToString": true
},
"options": {}
},
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.2,
"position": [
1080,
-220
],
"id": "72ac4892-2253-4345-b26a-9f85a31c99d3",
"name": "Execute Workflow"
},
{
"parameters": {
"workflowId": {
"__rl": true,
"value": "2En28RdGqVrbniqc",
"mode": "list",
"cachedResultName": "Documentos"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [],
"schema": [],
"attemptToConvertTypes": false,
"convertFieldsToString": true
},
"options": {}
},
"type": "n8n-nodes-base.executeWorkflow",
"typeVersion": 1.2,
"position": [
1080,
-80
],
"id": "92d0e40d-3051-48a3-b6d6-987ef5d14803",
"name": "Execute Workflow1"
}
],
"connections": {
"WhatsApp Trigger": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Google Sheets": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Wikipedia": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Execute Workflow",
"type": "main",
"index": 0
}
],
[
{
"node": "Execute Workflow1",
"type": "main",
"index": 0
}
],
[
{
"node": "WhatsApp Business Cloud",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "61912cbb-875c-4395-b9d9-452265eb4dd9",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "394SdueTRt4LqXX0",
"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.
googlePalmApigoogleSheetsOAuth2ApiwhatsAppApiwhatsAppTriggerApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Levadur(ia). Uses whatsAppTrigger, agent, lmChatGoogleGemini, googleSheetsTool. Event-driven trigger; 11 nodes.
Source: https://github.com/Zanto29/Levadur-ia-/blob/53176bdd60c58ad253194c7132fa93a7dea6a530/Workflows/Levadur_ia_.json — 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.
This workflow auto-replies to incoming WhatsApp messages (text, audio, video, or images) by downloading any media, converting it to text with Google Gemini, and generating a concise answer with a Gemi
Streamline restaurant reservations on WhatsApp
This template is designed for businesses that provide customer support and appointment-based services over WhatsApp. It’s ideal for service providers (e.g., clinics, salons, repair shops, consultants)
This project is an AI-powered hotel receptionist built using n8n, designed to handle guest queries automatically through WhatsApp. It integrates Google Gemini, Redis, MySQL, and Google Sheets via Lang
Overview 📌