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 <noreply@anthropic.com>
This commit is contained in:
Lucas Berger
2026-02-08 08:58:20 -05:00
parent 138728a7b1
commit aae95e2405
+24
View File
@@ -4764,6 +4764,19 @@
1890, 1890,
1000 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": { "connections": {
@@ -6583,6 +6596,17 @@
"index": 0 "index": 0
} }
], ],
[
{
"node": "Strip Status Keyboard",
"type": "main",
"index": 0
}
]
]
},
"Strip Status Keyboard": {
"main": [
[ [
{ {
"node": "Send Container Submenu Direct", "node": "Send Container Submenu Direct",