๐Ÿ’ฌ Debounce Telegram support messages and aggregate replies with OpenAI

โšก 40 views ยท ๐Ÿ’ฌ Support Chatbots

Description

This workflow prevents your AI support bot from responding to every single message by intelligently aggregating rapid-fire messages from users before generating a comprehensive response.

Whoโ€™s it for

Support teams and bot developers who want to provide better AI responses by letting users fully explain their issue before the bot responds, reducing unnecessary back-and-forth and improving response quality.

How it works

When a user sends a message to your Telegram bot, the workflow:

Requirements

How to set up

  1. Configure your Telegram credentials in the Telegram Trigger node
  2. Add your OpenAI API key to the OpenAI Chat Model node
  3. Set up PostgreSQL credentials and create the required database table
  4. Adjust the wait time (default 60 seconds) in the Wait node if needed
  5. Activate the workflow and test with your Telegram bot

How to customize

๐Ÿ”— Nodes Used

Postgres, Webhook, Telegram, Telegram Trigger, AI Agent, OpenAI Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup