Preventing Multiple Telegram Button Clicks and Hiding n8n Notification

Subject: How to prevent multiple callback executions and hide “n8n” branding in Telegram?

Hi n8n Community,

I am developing a smart educational platform for students (including blind students) and I am facing two technical challenges with the Telegram Trigger:

  1. Preventing Multiple Executions (Rate Limiting/Gatekeeping):
    My workflow sends messages with multiple inline buttons. Some users click 5 or 6 buttons very rapidly, which triggers multiple parallel executions of the workflow. This creates a significant load on my server and leads to duplicate file uploads to Google Drive.
    Question: What is the most reliable way to ensure the workflow only processes the very first click and immediately ignores/kills any subsequent clicks from the same message or the same user ID?

  2. Removing the “n8n” Notification Text:
    Whenever a student clicks a button, a small notification toast appears at the top of the Telegram screen mentioning “n8n”. I want to hide this branding or replace it with a custom Arabic message so the platform looks professional and white-labeled. How can I achieve this using the Answer Callback Query or other methods?

Thank you for your support and for this amazing platform!

for the multiple clicks issue, the simplest approach I’ve used is gatekeeping by message or user ID,
store a “processed” flag (static data or DB or cache) on the first callback and ignore any follow-up callbacks for the same message. disabling or editing the keyboard right after the first click also helps a lot.

for the “n8n” toast in Telegram: that text comes from Telegrams callback answer itself, you cant fully remove it, but you can replace it with your own text by answering the callback query with a custom message, telegram controls the UI, not n8n.

Hi @abd2001 , for the telegram n8n branding just turn this off:

and for the ‘rate limiting’ try using a Redis-based rate limiter i use that most of the times and it works well with telegram and whatsapp, hope this helps.