Block 1 - Pass text message
- Type / Role
- n8n-nodes-base.set - set
- Config choices
- Version 3.4
This workflow is provided as-is. Please review and test before using in production.
This Telegram workflow batches rapid fire messages from the same user into one prompt (20–30s debounce), then sends a single AI reply. It uses two Google Sheets : Message Retention ( ) — queues inc...
n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.lmchatopenai
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Kirill Zolygin.
Original n8n.io sourceThis Telegram workflow batches rapid-fire messages from the same user into one prompt (20–30s debounce), then sends a single AI reply.
It uses two Google Sheets:
date | user_id | message) — queues incoming messages.user_id | is_waiting | last_updated) — debounces per user.Flow per message:
user_id. If empty, synthesize { is_waiting:false }.last_updated is older than 30s, oris_waiting is falseis_waiting=true, update last_updated, Wait (e.g., 30s).last_updated (extend the window) — we do not start another wait.Copy/paste:
{{ new Date(Date.now() - 30000).toISOString() }}Supports text and voice (voice via Whisper). Works reliably on Telegram once the webhook is registered and Sheets are shared with the service account.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.
| Workflow | Telegram chatbot with voice recognition and message batching using OpenAI |
|---|---|
| Complexity | advanced |
| Nodes | 31 |
| Categories | Support Chatbot, AI Chatbot |
| Author | Kirill Zolygin |
| Published | 05 Sept 2025 |
Use the JSON export at /data/workflows/8314/8314.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This Telegram workflow batches rapid fire messages from the same user into one prompt (20–30s debounce), then sends a single AI reply. It uses two Google Sheets : Message Retention ( ) — queues inc...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.