Conversational VK bot with GPT-4 mini & Whisper voice transcription
Needs changesWhat this workflow does
This AI workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and OpenAI. It also calls api.vk.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Filter: keeps only the items that match a condition
- Voice/Text (Switch): routes items into 2 branches
- bring it to the form (Edit Fields (Set)): sets 1 field: prompt
- Get URL (HTTP Request): calls an HTTP API
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
- Transcribe (OpenAI): transcribe (audio)
- Send to VK (HTTP Request): calls api.vk.com (POST)
- Error VK (HTTP Request): calls api.vk.com (POST)
Services it uses
HTTP calls to: api.vk.com
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 Agent (v1.7): 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 Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Webhook
n8n-nodes-base.webhook - OpenAI
@n8n/n8n-nodes-langchain.openAi - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Switch
n8n-nodes-base.switch
From the author
How it works This workflow powers an intelligent, conversational AI bot for VK that can understand and respond to both text and voice messages. The bot uses an AI agent with built-in memory, allowing it to remember the conversation history for each unique…