How To Connect Vapi to n8n: Build a Real-Time Voice AI Agent

How To Connect Vapi to n8n: Build a Real-Time Voice AI Agent

Learn how to connect Vapi directly to n8n to build a real-time voice AI agent that pulls live data and responds instantly. In this build, we create a Grumpy Weather Assistant that checks the OpenWeatherMap API and delivers the weather with a sarcastic twist. You’ll see the full setup: configuring the Vapi assistant, creating the n8n webhook, building the agent logic, and fixing the JSON response so Vapi actually interprets the data correctly. 👇 FREE WORKFLOW & PROMPTS 📂 Download from the Automation Vault: www.kristorrington.com ⏱️ TIMESTAMPS 00:00 – Intro & Live “Grumpy” Demo 00:47 – Vapi Setup (Creating the Assistant) 01:06 – Personality Injection (System Prompt) 01:40 – Building the Custom Tool in Vapi 02:13 – Connecting the n8n Webhook 02:52 – The “Fail” Test (Why Connection Matters) 03:25 – Building the AI Agent Logic 04:22 – Connecting OpenWeatherMap API (Free Key) 05:11 – The JSON Fix (Crucial Step) 05:58 – Final Live Test 06:37 – Outro & Next Steps