Allow Users to Send a Sequence of Messages to an AI Agent in Telegram
n8n template #2917Summary
Use templateUse Case When creating chatbots that interface through applications such as Telegram and WhatsApp, users can often sends multiple shorter messages in quick succession, in place of a single, longer message. This workflow accounts for this behaviour. What it Does This workflow allows users to send several messages in quick succession, treating them as one coherent conversation instead of separate messages requiring individual responses. How it Works When messages arrive, they are stored in a Supabase PostgreSQL table The system waits briefly to see if additional messages arrive If no new messages arrive within the waiting period, all queued messages are: Combined and processed as a single conv
Hand off to your agent
Prompt
Help me set up the n8n workflow "Allow Users to Send a Sequence of Messages to an AI Agent in Telegram" (https://n8n.io/workflows/2917). It uses: Telegram, Supabase, AI Agent, OpenAI Chat Model, Postgres Chat Memory. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Multi-language Telegram RAG chatbot with supervisor AI & automated Google Drive pipeline552
- HR & IT Helpdesk Chatbot with Audio Transcription36K
- All-in-One Telegram/Baserow AI Assistant 🤖🧠 Voice/Photo/Save Notes/Long Term Mem25K
- Multi-Agent AI Clinic Management with WhatsApp, Telegram, and Google Calendar12K
- WordPress - AI Chatbot to enhance user experience - with Supabase and OpenAI11K
- Create a Multi-Modal Telegram Support Bot with GPT-4 and Supabase RAG10K
- Split Test Different Agent Prompts with Supabase and OpenAI7,697
- AI-Powered Lead Generation with Apollo, GPT-4, and Telegram to Database3,488