From aae95e2405d98dc20cef5a3676d708cc8e248826 Mon Sep 17 00:00:00 2001 From: Lucas Berger Date: Sun, 8 Feb 2026 08:58:20 -0500 Subject: [PATCH] fix(10.1-06): strip inline keyboard from text-mode status responses Text commands like "status book" should show plain text status without inline keyboard buttons. Added "Strip Status Keyboard" Code node that removes reply_markup before sending via Send Container Submenu Direct. Callback-based status (with messageId) still gets the full UI with buttons. Co-Authored-By: Claude Opus 4.6 --- n8n-workflow.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/n8n-workflow.json b/n8n-workflow.json index 45ae829..8b60208 100644 --- a/n8n-workflow.json +++ b/n8n-workflow.json @@ -4764,6 +4764,19 @@ 1890, 1000 ] + }, + { + "parameters": { + "jsCode": "// Strip inline keyboard for text-mode status display\nconst data = $input.item.json;\nreturn {\n json: {\n chatId: data.chatId,\n text: data.text,\n parse_mode: 'HTML'\n }\n};" + }, + "id": "code-strip-status-keyboard", + "name": "Strip Status Keyboard", + "type": "n8n-nodes-base.code", + "typeVersion": 2, + "position": [ + 1945, + 1100 + ] } ], "connections": { @@ -6583,6 +6596,17 @@ "index": 0 } ], + [ + { + "node": "Strip Status Keyboard", + "type": "main", + "index": 0 + } + ] + ] + }, + "Strip Status Keyboard": { + "main": [ [ { "node": "Send Container Submenu Direct",