Receptionist in squad w/ recording consent
# support
s
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
v
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:
Copy code
json
{
  "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](https://docs.vapi.ai/security-and-privacy/recording-consent-plan). Source: - [Recording Consent Plan documentation](https://docs.vapi.ai/security-and-privacy/recording-consent-plan)
s
i don't have to be on enterprise for this do i?
can you find me a live human?
c
Hi SurrealBread, To configure your receptionist flow for phone number verification and recording consent before transferring to the main assistant, your squad setup looks correct. Here's what you need to ensure for the configuration: 1. **Receptionist Assistant**: - **Webhook tool**: Use your n8n webhook URL to check phone numbers. - **Recording Consent**: Use the "verbal" consent type. - **Transfer after consent**: Upon consent, transfer to the main assistant. 2. **Squad JSON Example**:
Copy code
json
   {
     "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" }
       ]
     }
   }
3. **Configuration Details**: - Adjust URLs and IDs specific to your setup. - Ensure the end-of-call report is set up on the main assistant as required. For further details, refer to the [Recording Consent Plan documentation](https://docs.vapi.ai/security-and-privacy/recording-consent-plan). This should help you manage the consent flow and subsequent call transfer correctly.