Trigger AI outbound calls from HubSpot and log call results with Vapi
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on HubSpot events. Along the way it connects HubSpot. It also calls api.vapi.ai and api.hubapi.com over HTTP.
How it runs
Trigger: On HubSpot events.
- Get a contact (HubSpot): get
- Parse Response (Code): runs custom JavaScript code
- Check Phone Format (If): checks a condition and branches into true / false
- Make a Call (HTTP Request): calls api.vapi.ai (POST)
- Wait: waits 2 minutes
- Get Vapi Call Details (HTTP Request): calls an HTTP API
- Pick One (Limit): keeps the first few items
- Check Status (If): checks a condition and branches into true / false
- Log Call (HTTP Request): calls api.hubapi.com (POST)
- Polling (Wait): waits 10 seconds
Services it uses
HTTP calls to: api.vapi.ai, api.hubapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- HubSpot Trigger
n8n-nodes-base.hubspotTrigger - HubSpot
n8n-nodes-base.hubspot - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Limit
n8n-nodes-base.limit
From the author
Quick overview This workflow triggers on HubSpot contact events, fetches full contact details, validates and normalizes the phone number, starts an AI outbound call through Vapi, polls until the call ends, and then logs the call summary and recording URL back…