Multi-department support bot with slash commands, Pinecone & Telegram
Ready for 3.0What this workflow does
This AI workflow has 46 nodes and runs on Telegram events (message) (plus 3 other triggers). Along the way it connects Telegram, Pinecone Vector Store, Google Drive and Embeddings Cohere and 2 more.
How it runs
Trigger: On Telegram events (message) (plus 3 other triggers).
- Execute a SQL query (Postgres): run a query
- Download file (Google Drive): download
- Download file (Google Drive): download
- Download file (Google Drive): download
- Select rows from a table (Postgres): select
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings Cohere; document loader: Default Data Loader
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings Cohere; document loader: Default Data Loader
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings Cohere; document loader: Default Data Loader
- Switch: routes items into branches
- Send a text message (Telegram): uses Telegram
…plus 15 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - Embeddings Cohere
@n8n/n8n-nodes-langchain.embeddingsCohere - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter - Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Postgres
n8n-nodes-base.postgres
From the author
My Telegram bot provides specialized support through dedicated slash commands for different departments. Users can directly access the right support team using: - /billing - For payment and invoice questions - /tech-support - For technical assistance -…