Create an AI shopping assistant on Telegram with GPT-4.1, voice recognition & Google Sheets
Needs changesWhat this workflow does
This AI workflow has 14 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI, Vector Store Question Answer and Pinecone Vector Store and 3 more.
How it runs
Trigger: On Telegram events (message).
- Switch: routes items into 2 branches
- Download Voice File (Telegram): work with file
- Set 'Text' (Edit Fields (Set)): sets 2 fields: text, chat_ID
- Transcribe Audio (OpenAI): transcribe (audio)
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Append row in sheet in Google Sheets, Answer questions with a vector store); memory: Simple Memory
- Response (Telegram): uses Telegram
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent1 (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent1 (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
From the author
This workflow is built for e-commerce businesses, retail store owners, and entrepreneurs who want to provide intelligent customer support and seamless order taking through Telegram. If you're tired of manually answering product questions, taking orders…