workflows.fit
Back to n8n workflows
n8n templateFreeBy Robert Breen

Voice-driven AI assistant using VAPI and GPT-4.1-mini with memory

Send VAPI voice requests into n8n with memory and OpenAI for conversational automation This template shows how to capture voice interactions from VAPI (Voice AI Platform), send them into n8n via a webhook, process the...

AILangchainCore NodesDevelopmentUtilityLm Chat Open AiSticky NoteMemory Buffer Window
Loading interactive preview...

Template notes

Send VAPI voice requests into n8n with memory and OpenAI for conversational automation

This template shows how to capture voice interactions from VAPI (Voice AI Platform), send them into n8n via a webhook, process them with OpenAI, and maintain context with memory. The result is a conversational AI agent that responds back to VAPI with short, business-focused answers.

---

βœ… What this template does - Listens for POST requests from VAPI containing the session ID and user query - Extracts session ID and query for consistent conversation context - Uses OpenAI (GPT-4.1-mini) to generate conversational replies - Adds Memory Buffer Window so each VAPI session maintains history - Returns results to VAPI in the correct JSON response format

---

πŸ‘€ Who’s it for - Developers and consultants building voice-driven assistants - Businesses wanting to connect VAPI calls into automation workflows - Anyone who needs a scalable voice β†’ AI β†’ automation pipeline

---

βš™οΈ How it works 1. Webhook node catches incoming VAPI requests 2. Set node extracts sessionid and userquery from the request body 3. OpenAI Agent generates short, conversational replies with your business context 4. Memory node keeps conversation history across turns 5. Respond to Webhook sends results back to VAPI in the required JSON schema