xenial-black
xenial-black10h ago

Receptionist in squad w/ recording consent

I need the receptionist to first check with the tool/n8n webhook to make sure the person's phone number is on the list. then i need it to run the compliance script and get confirmation they agree to recording, then make the transfer. the end of call webhook is configured on the assistant the call is being transferred to. Thanks in advance. The json for both workflows is attached if you need to look at it. the latest call log is: 019aec28-2b51-7113-a0ea-039d43205900 squad link: https://dashboard.vapi.ai/squads-v2/bad2ef63-78a0-4d4e-8a4d-31bafcf300cf assistant link: https://vapi.ai?demo=true&shareKey=4fe97633-2e81-4493-9feb-8a34592767cc&assistantId=bc7aa79c-e0af-42e4-b5aa-1e73489be085
VAPI Dashboard - Voice AI Management Platform
Build and manage voice AI agents that conduct human-like conversations. Access real-time analytics, configure assistants, and monitor your AI voice applications.
Vapi
Vapi - Build Advanced Voice AI Agents
Build, test, and deploy advanced voice AI agents in minutes with Vapi. The platform for developers creating conversational voice AI.
2 Replies
Vapi Support Bot
To implement your receptionist flow, configure your squad so the first assistant verifies the phone number (using your n8n webhook tool), then runs the recording consent plan, and finally transfers to the main assistant. Here’s a JSON example for your squad setup:
{
"squad": {
"members": [
{
"assistant": {
"name": "Receptionist",
"tools": [
{ "type": "webhook", "url": "https://your-n8n-webhook-url" }
],
"compliancePlan": {
"recordingConsentPlan": {
"type": "verbal",
"message": "This call may be recorded. Do you agree?",
"declineTool": { "type": "endCall" }
}
}
},
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "MainAssistant",
"message": "Transferring you now."
}
]
},
{ "assistantId": "main-assistant-id" }
]
}
}
{
"squad": {
"members": [
{
"assistant": {
"name": "Receptionist",
"tools": [
{ "type": "webhook", "url": "https://your-n8n-webhook-url" }
],
"compliancePlan": {
"recordingConsentPlan": {
"type": "verbal",
"message": "This call may be recorded. Do you agree?",
"declineTool": { "type": "endCall" }
}
}
},
"assistantDestinations": [
{
"type": "assistant",
"assistantName": "MainAssistant",
"message": "Transferring you now."
}
]
},
{ "assistantId": "main-assistant-id" }
]
}
}
This ensures phone verification, consent, and transfer in sequence. Adjust URLs and IDs as needed for your setup. For more, see the Recording Consent Plan documentation. Source: - Recording Consent Plan documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
xenial-black
xenial-blackOP9h ago
i don't have to be on enterprise for this do i? can you find me a live human?

Did you find this page helpful?