From a08b8dba6b4f14bce6132ff17b4799216b9eb34b Mon Sep 17 00:00:00 2001 From: Lucas Berger Date: Fri, 30 Jan 2026 22:05:34 -0500 Subject: [PATCH] fix(04): fix Route Update Type conversion error Removed empty leftValue from options and changed condition check from object notEmpty to string notEmpty using optional chaining on specific properties (message?.text, callback_query?.id). Co-Authored-By: Claude Opus 4.5 --- n8n-workflow.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/n8n-workflow.json b/n8n-workflow.json index e80e88f..b7d6163 100644 --- a/n8n-workflow.json +++ b/n8n-workflow.json @@ -32,16 +32,15 @@ "conditions": { "options": { "caseSensitive": true, - "leftValue": "", "typeValidation": "loose" }, "conditions": [ { "id": "has-message", - "leftValue": "={{ $json.message }}", + "leftValue": "={{ $json.message?.text }}", "rightValue": "", "operator": { - "type": "object", + "type": "string", "operation": "notEmpty" } } @@ -56,16 +55,15 @@ "conditions": { "options": { "caseSensitive": true, - "leftValue": "", "typeValidation": "loose" }, "conditions": [ { "id": "has-callback", - "leftValue": "={{ $json.callback_query }}", + "leftValue": "={{ $json.callback_query?.id }}", "rightValue": "", "operator": { - "type": "object", + "type": "string", "operation": "notEmpty" } }