n8n workflow that orchestrates the dental office voice agent pipeline. Import the JSON to get started.
Log in to your n8n instance at app.n8n.io (or self-hosted). Create a blank workflow.
Click the three dots menu → "Import from JSON" → paste the workflow definition below.
Add your Vapi API key, Twilio credentials, and this server's URL as environment variables in n8n.
In your Vapi dashboard, set the webhook URL to your n8n endpoint (e.g., https://your-n8n.io/webhook/voice-agent). n8n will relay to AutoFlow via POST https://autoflow-ai-14.polsia.app/api/n8n/leads.
Point your Vapi assistant to this server so every inbound call gets logged to the CRM automatically.
https://autoflow-ai-14.polsia.app/api/calls/webhook
VAPI_WEBHOOK_SECRET as an env var in Render to verify webhook authenticity