"Stop n8n from Triggering on Every Telegram Message - Batch Instead"

“How can I make my n8n Telegram bot workflow wait and collect multiple messages sent within a few seconds, then process them together in a single execution instead of triggering separately for each message?”

Hi @PandaRanking , welcome to the forums. You will have to implement a custom solution for this where you store each message which gets triggered from telegram into a database of some sort (maybe use a data table for now) and then have a scheduler run every few seconds, read the messages from the data store, and then process them. Not too sure what your exact use case is for this behaviour, but this is how I would approach it.

  1. Store messages temporarily
  2. Run a scheduler to then pick up the messages since last processed and execute.

Let me know if this makes sense or whether you need and example