-
Notifications
You must be signed in to change notification settings - Fork 52.2k
Description
Describe the problem/error/question
I am using the n8n form, after populate all data, and submit, the node is not receiving any data. Weird, because it doesn't throw any error message. Just like freezing.
I check the documentation in the chat n8n helper bot, i configure variables extra in my railways instance, redeploy, but nothing changed.
What is the error message (if any)?
Please share your workflow/screenshots/recording
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.
{
"nodes": [
{
"parameters": {
"documentId": {
"__rl": true,
"value": "1nawLZtRLbPxJ2NZa5FSnZ-VBE1-NuQeIgxDS0B6t_1E",
"mode": "id"
},
"sheetName": {
"__rl": true,
"value": 502252899,
"mode": "list",
"cachedResultName": "Vendedores",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1nawLZtRLbPxJ2NZa5FSnZ-VBE1-NuQeIgxDS0B6t_1E/edit#gid=502252899"
},
"options": {}
},
"type": "n8n-nodes-base.googleSheetsTool",
"typeVersion": 4.7,
"position": [
-112,
208
],
"id": "b4506353-1a69-452f-9579-5a14625d614e",
"name": "leer vendedores",
"credentials": {
"googleSheetsOAuth2Api": {
"id": "qeYYbxVjpuBYw9gW",
"name": "Google Sheets Mariana GLX"
}
}
},
{
"parameters": {
"operation": "appendOrUpdate",
"documentId": {
"__rl": true,
"value": "1nawLZtRLbPxJ2NZa5FSnZ-VBE1-NuQeIgxDS0B6t_1E",
"mode": "id"
},
"sheetName": {
"__rl": true,
"value": 502252899,
"mode": "list",
"cachedResultName": "Vendedores",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1nawLZtRLbPxJ2NZa5FSnZ-VBE1-NuQeIgxDS0B6t_1E/edit#gid=502252899"
},
"columns": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [
"Email"
],
"schema": [
{
"id": "ID",
"displayName": "ID",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Nombre",
"displayName": "Nombre",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Email",
"displayName": "Email",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Especialidad",
"displayName": "Especialidad",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Disponible",
"displayName": "Disponible",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Leads_Asignados",
"displayName": "Leads_Asignados",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Ultimo_Lead",
"displayName": "Ultimo_Lead",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
}
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.7,
"position": [
624,
-16
],
"id": "c017d040-c0ca-430b-b8e8-3dffa7325d05",
"name": "Notificacion Vendedor",
"credentials": {
"googleSheetsOAuth2Api": {
"id": "qeYYbxVjpuBYw9gW",
"name": "Google Sheets Mariana GLX"
}
}
},
{
"parameters": {
"resource": "draft",
"subject": "=🏠 Nuevo Lead Tipo ",
"message": "=Hola {{ vendedor_nombre }}, │\n│ │\n│ Se te ha asignado un nuevo lead: │\n│ │\n│ 👤 DATOS DEL CLIENTE: │\n│ • Nombre: {{ nombre }} │\n│ • Email: {{ email }} │\n│ • Teléfono: {{ telefono }} │\n│ │\n│ 🏡 BÚSQUEDA: │\n│ • Presupuesto: {{ presupuesto }} │\n│ • Tipo: {{ tipo_propiedad }} │\n│ • Urgencia: {{ urgencia }} │\n│ │\n│ 📊 CALIFICACIÓN: │\n│ • Clase: {{ clasificacion }} │\n│ • Puntaje: {{ puntuacion }}/100 │\n│ • Razón: {{ razon }} │\n│ • Prioridad: {{ prioridad }} │\n│ │\n│ 🎯 ACCIÓN REQUERIDA: │\n│ Contactar en las próximas │\n│ [24h para A, 48h para B, │\n│ 72h para C] ",
"options": {}
},
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.2,
"position": [
400,
-16
],
"id": "19067b90-d82f-4252-b4b3-e0eaa6c31c82",
"name": "Notificacion",
"webhookId": "9b759a45-6f17-44f2-ab80-0cd60df9dd67",
"credentials": {
"gmailOAuth2": {
"id": "pTyuql1SLJgc8Yaa",
"name": "Gmail Mariana GLX"
}
}
},
{
"parameters": {
"operation": "append",
"documentId": {
"__rl": true,
"value": "1nawLZtRLbPxJ2NZa5FSnZ-VBE1-NuQeIgxDS0B6t_1E",
"mode": "id"
},
"sheetName": {
"__rl": true,
"value": 2136676750,
"mode": "list",
"cachedResultName": "Leads",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1nawLZtRLbPxJ2NZa5FSnZ-VBE1-NuQeIgxDS0B6t_1E/edit#gid=2136676750"
},
"columns": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [],
"schema": [
{
"id": "Timestamp",
"displayName": "Timestamp",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Nombre",
"displayName": "Nombre",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Email",
"displayName": "Email",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Teléfono",
"displayName": "Teléfono",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Presupuesto",
"displayName": "Presupuesto",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Tipo_Propiedad",
"displayName": "Tipo_Propiedad",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Urgencia",
"displayName": "Urgencia",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Clasificación",
"displayName": "Clasificación",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Puntuación",
"displayName": "Puntuación",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Razón",
"displayName": "Razón",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Vendedor_Nombre",
"displayName": "Vendedor_Nombre",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Vendedor_ID",
"displayName": "Vendedor_ID",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Estado",
"displayName": "Estado",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Prioridad",
"displayName": "Prioridad",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
}
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.7,
"position": [
176,
-16
],
"id": "91e8a821-260b-487c-886a-5309f3c3f508",
"name": "Almacenamiento",
"credentials": {
"googleSheetsOAuth2Api": {
"id": "qeYYbxVjpuBYw9gW",
"name": "Google Sheets Mariana GLX"
}
}
},
{
"parameters": {
"modelId": {
"__rl": true,
"value": "gpt-4o-mini",
"mode": "list",
"cachedResultName": "GPT-4O-MINI"
},
"responses": {
"values": [
{
"role": "system",
"content": ""Eres un asistente de calificación de leads \n│ inmobiliarios. Debes: \n│ \n│ 1. ANALIZAR los datos del lead \n│ 2. CLASIFICAR como A/B/C según: \n│ • A (Alto): Presupuesto >$350k \n│ + Urgencia inmediata \n│ • B (Medio): Presupuesto $150k-$350k \n│ + Urgencia 1-3 meses \n│ • C (Bajo): Otros casos \n│ \n│ 3. SELECCIONAR un vendedor DISPONIBLE │\n│ usando el tool 'leer_vendedores' \n│ Prioridad: \n│ - Vendedores con especialidad = clase \n│ - Si no hay, cualquiera disponible \n│ - Round robin (menos leads asignados) \n│ \n│ 4. RETORNAR JSON estructurado: \n│ { \n clasificacion: "A"|"B"|"C", \n puntuacion: number, \n razon_clasificacion: string, \n vendedor_asignado: { \n id: number, \n nombre: string, \n email: string \n }, \n prioridad: "Alta"|"Media"|"Baja" \n }" \n \n TOOLS DISPONIBLES: \n 📊 Tool 1: "leer_vendedores" \n - Lee Google Sheet "Vendedores" \n - Filtra por Disponible = TRUE \n - Retorna lista disponible \n \n Input: Data del formulario \n Output: JSON con clasificación + vendedor , no incluyas ningun carácter especial, solo el JSON"
}
]
},
"builtInTools": {},
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.openAi",
"typeVersion": 2.1,
"position": [
-176,
-16
],
"id": "3e216794-e67f-4f13-8bd2-d018cf767985",
"name": "Inteligencia Artificial",
"credentials": {
"openAiApi": {
"id": "ol3fUyODoIG5pIPR",
"name": "OpenAi account n8n api"
}
}
},
{
"parameters": {
"formTitle": "Contact Us",
"formDescription": "Please, in order to assign a salesperson, fill this form. ",
"formFields": {
"values": [
{
"fieldLabel": "Nombre"
},
{
"fieldLabel": "email",
"fieldType": "email"
},
{
"fieldLabel": "Telefono"
},
{
"fieldLabel": "Presupuesto",
"fieldType": "dropdown",
"fieldOptions": {
"values": [
{
"option": "$ 150 000"
},
{
"option": "$ 150 000 - $ 350 000"
},
{
"option": "$ 350 000 +"
}
]
}
},
{
"fieldLabel": "Tipo de propiedad",
"fieldType": "dropdown",
"fieldOptions": {
"values": [
{
"option": "Casa "
},
{
"option": "Apartamento"
},
{
"option": "Terreno"
}
]
}
},
{
"fieldLabel": "Urgencia",
"fieldType": "dropdown",
"fieldOptions": {
"values": [
{
"option": "Inmediato ( 0- 30 dias)"
},
{
"option": "Corto Plazo ( 1-3 meses )"
},
{
"option": "Mediano Plazo ( 3-6 meses )"
}
]
}
}
]
},
"options": {}
},
"type": "n8n-nodes-base.formTrigger",
"typeVersion": 2.3,
"position": [
-400,
-16
],
"id": "6c0f062b-52bf-4926-904c-d40ec4ba39d0",
"name": "Captura de datos",
"webhookId": "84e7e2e7-1e4c-49a6-b3a6-f50c2645e76a"
}
],
"connections": {
"leer vendedores": {
"ai_tool": [
[
{
"node": "Inteligencia Artificial",
"type": "ai_tool",
"index": 0
}
]
]
},
"Notificacion Vendedor": {
"main": [
[]
]
},
"Notificacion": {
"main": [
[
{
"node": "Notificacion Vendedor",
"type": "main",
"index": 0
}
]
]
},
"Almacenamiento": {
"main": [
[
{
"node": "Notificacion",
"type": "main",
"index": 0
}
]
]
},
"Inteligencia Artificial": {
"main": [
[
{
"node": "Almacenamiento",
"type": "main",
"index": 0
}
]
]
},
"Captura de datos": {
"main": [
[
{
"node": "Inteligencia Artificial",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "aa4fbe74246c32747df9b8d267f27908d2543b3ff64c420c94dcf271a41033b4"
}
}
Share the output returned by the last node
I just expect the output in the first node to complete the rest of the workflow
Debug info
there is no info in the logs , this is the error after i cancel the excecution, Error: Cannot read properties of undefined (reading 'execute')
core
- n8nVersion: 2.0.2
- platform: docker (self-hosted)
- nodeJsVersion: 22.21.0
- nodeEnv: production
- database: postgres
- executionMode: scaling (single-main)
- concurrency: -1
- license: enterprise (production)
storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: database
pruning
- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions
client
- userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/143.0.0.0 safari/537.36
- isTouchDevice: false
Generated at: 2025-12-17T02:22:29.450Z}