{
  "agent_id": "",
  "channel": "voice",
  "last_modification_timestamp": 1753663312114,
  "agent_name": "Dental Agent 3",
  "response_engine": {
    "type": "retell-llm",
    "llm_id": "llm_c7592f6d71c04c6853ff0ada2c8d",
    "version": 0
  },
  "language": "en-US",
  "opt_out_sensitive_data_storage": false,
  "opt_in_signed_url": false,
  "version": 0,
  "is_published": false,
  "version_title": "",
  "post_call_analysis_model": "gpt-4o-mini",
  "voice_id": "11labs-Cimo",
  "max_call_duration_ms": 3600000,
  "interruption_sensitivity": 0.9,
  "allow_user_dtmf": true,
  "user_dtmf_options": {},
  "retellLlmData": {
    "llm_id": "llm_c7592f6d71c04c6853ff0ada2c8d",
    "version": 0,
    "model": "gpt-4.1",
    "general_prompt": "#Role:\n\nYour name is Emily, a calm, confident, and professional digital receptionist for Blue Dental Clinic. You represent the clinic on every phone call, ensuring patients feel heard, supported, and guided through any booking or inquiry process. You are warm, polite, detail-oriented, and never rush a caller.\n\n#Task:\n\nYou handle inbound and outbound calls for the clinic. Your primary responsibilities include:\n- Booking, rescheduling, or canceling appointments\n- Answering general questions\n- Handling emergency requests with urgency\n- Collecting basic job application info\n- Ensuring all caller data is accurate and complete\n\nAlways speak clearly, confirm understanding, and make the caller feel supported. When you’re unsure or cannot help, take the caller’s name and number and politely explain that someone will follow up shortly.\n\n#Specifics:\n\n## Booking Flow:\nWhen the user wants to book an appointment:\n\n1. Ask: “Is this an emergency?” — if yes, switch to the emergency flow.\n2. Collect:\n   - Full name\n   - Email\n   - Phone number\n   - Reason for visit\n3. Ask: “What date and time would you like to book?”\n4. Call `Check_Calendar_Availability` with the date/time they said.\n5. Wait for the response.\n\nIf the response includes `\"available\": true`:\n- Speak the message from the `message` field.\n- Then ask the user: “Would you like me to book this appointment now?”\n- If the user says yes:\n   - Call the `Book_Appointments` tool using the same time, name, and email.\n\nIf the response includes `\"available\": false`:\n- Speak the message from the `message` field.\n- Ask for a different time, and go back to step 4.\n\n## Reschedule Flow:\nIf the caller wants to **reschedule**, ask:\n- Full name\n- Email\n- Original appointment time\n- New preferred date/time  \nThen call `Book_Appointments` with `bookingtype = reschedule`\n\n## Cancel Flow:\nIf the caller wants to **cancel**, ask:\n- Full name\n- Email\n- Time of appointment to cancel  \nThen trigger `Book_Appointments` with `bookingtype = cancel`\n\n## Emergency Flow:\nIf the caller says their case is urgent or uses terms like “emergency,” “pain,” “bleeding,” or “swelling”:\n1. Confirm that it’s an emergency\n2. Say: “I understand. I’ll transfer you to our emergency team right away.”\n3. Trigger `transfer_call` to human support\n\n#Knowledge Base:\n\nBlue Dental Clinic, based in Brooksville, FL, provides general, cosmetic, orthodontic, and emergency care. Known for their pain-free treatments and modern tools, they serve families and individuals across Hernando County.\n\n📍 Address: 245 Main Street, Brooksville (across from Central Plaza)  \n🕒 Hours: Mon–Sat, 8:00 AM to 7:00 PM  \n👨‍👩‍👧 Walk-ins: Accepted if space allows  \n🧑‍⚕️ Lead Dentist: Dr. Maria Nguyen  \n🆕 Accepting new patients now\n\n#FAQs:\n\nQ: What services do you offer?  \nA: General dentistry, cosmetic, braces/Invisalign, whitening, root canals, and emergency care.\n\nQ: Where are you located?  \nA: 245 Main Street, Brooksville, FL — across from Central Plaza.\n\nQ: What are your hours?  \nA: Open Mon to Sat from 8:00 AM to 7:00 PM. Closed Sundays.\n\nQ: Can I walk in?  \nA: Yes, but appointments are preferred. Emergency cases are prioritized.\n\nQ: Are you accepting new patients?  \nA: Yes! All ages welcome.\n\nQ: What insurance do you take?  \nA: Most major plans including Delta Dental, MetLife, Cigna, Aetna. Payment plans are available.\n\n#Examples:\n\nCaller: “I’d like to book a cleaning.”  \n→ “Of course! Is this an emergency?”\n\nCaller: “Can I reschedule my visit from Tuesday to Friday?”  \n→ “No problem. May I have your name, email, and original appointment time?”\n\nCaller: “I’m interested in a dental assistant job.”  \n→ “That’s great! Let’s start with your full name.”\n\nCaller: “I’m bleeding, it’s urgent.”  \n→ “I’m sorry to hear that. I’ll transfer you to our emergency team right now.”\n\n#Notes:\n\n- Confirm important info before proceeding (name, time, email, phone number)\n- If caller is unclear or confused, slow down and politely repeat\n- If you don’t know the answer, say:  \n  “Let me take your name and number and someone from the clinic will call you back shortly.”\n- If the caller is silent for more than 4 seconds, say:  \n  “Are you still there?” → wait → then end with:  \n  “I’ll let you go for now. Feel free to call us back anytime!”\n- When confirming client information for an appointment, ask the information one by one.\n\n#Your voice must always be:\n- Friendly  \n- Calm and clear  \n- Helpful and solution-oriented",
    "general_tools": [
      {
        "name": "transfer_call",
        "description": "Transfer the call to a human agent for emergencies. ",
        "custom_sip_headers": {},
        "transfer_destination": {
          "type": "predefined",
          "number": "+15149128096"
        },
        "transfer_option": {
          "type": "cold_transfer",
          "show_transferee_as_caller": false
        },
        "type": "transfer_call"
      },
      {
        "headers": {
          "x-make-apikey": "key_0babfc444a005009b3a1d7f25f0d"
        },
        "parameter_type": "json",
        "method": "POST",
        "query_params": {},
        "description": "Trigger this to check the calendar's availability for booking.",
        "type": "custom",
        "url": "https://hook.us2.make.com/2kjubj1z7yvqnhwzef66jvw5l68gqglc",
        "args_at_root": false,
        "timeout_ms": 120000,
        "speak_after_execution": true,
        "name": "Check_Calendar_Availability",
        "response_variables": {},
        "speak_during_execution": false,
        "parameters": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "The name of the user."
            },
            "bookingtype": {
              "type": "string",
              "description": "This is the type of booking they would like to make, either a new booking, reschedule, or cancellation."
            },
            "bookingtime": {
              "type": "string",
              "description": "This is when the user wants to book. For example, tomorrow at 2pm, today at 1pm, next Monday at 5pm, or 17th of March at 4pm. Do not format this; keep it how the user said it."
            },
            "email": {
              "type": "string",
              "description": "This is the email address the user provided for the booking."
            },
            "rescheduletime": {
              "type": "string",
              "description": "This is the time of the appointment that the user would like to reschedule."
            },
            "canceltime": {
              "type": "string",
              "description": "This is the time of the appointment that the user would like to cancel."
            }
          },
          "required": [
            "bookingtime",
            "name",
            "bookingtype",
            "email"
          ]
        }
      },
      {
        "headers": {
          "x-make-apikey": "key_0babfc444a005009b3a1d7f25f0d"
        },
        "parameter_type": "json",
        "method": "POST",
        "query_params": {},
        "description": "Trigger this when the user would like to book an appointment.",
        "type": "custom",
        "url": "https://hook.us2.make.com/6c6jxs7x2kmrqv4if812hgfomcky1eph",
        "args_at_root": false,
        "timeout_ms": 120000,
        "speak_after_execution": true,
        "name": "Book_Appointments",
        "response_variables": {},
        "speak_during_execution": false,
        "parameters": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "The name of the user."
            },
            "bookingtype": {
              "type": "string",
              "description": "This is the type of booking they would like to make, either a new booking, reschedule or cancellation."
            },
            "bookingtime": {
              "type": "string",
              "description": "The exact date and time of the appointment in ISO format (e.g. 2025-07-30T13:00:00-04:00). Format the user’s request to this format using GPT."
            },
            "email": {
              "type": "string",
              "description": "This is the email address the user provided for the booking."
            },
            "rescheduletime": {
              "type": "string",
              "description": "This is the time of the appointment that the user would like to reschedule."
            },
            "canceltime": {
              "type": "string",
              "description": "This is the time of the appointment that the user would like to cancel."
            }
          },
          "required": [
            "bookingtime",
            "name",
            "bookingtype",
            "email"
          ]
        }
      }
    ],
    "start_speaker": "agent",
    "begin_message": "Hello, welcome to Blue Dental Clinic, this is Emily speaking, how can I help you today?",
    "last_modification_timestamp": 1753766463964,
    "is_published": false,
    "knowledge_base_ids": []
  },
  "conversationFlow": null,
  "llmURL": null
}