{
  "agent_id": "",
  "channel": "voice",
  "last_modification_timestamp": 1753660733344,
  "agent_name": "Dental Agent 2",
  "response_engine": {
    "type": "retell-llm",
    "llm_id": "llm_c8a1e058d446f12229cec68c0438",
    "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_c8a1e058d446f12229cec68c0438",
    "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\u2019re unsure or cannot help, take the caller\u2019s name and number and politely explain that someone will follow up shortly.\n\n#Specifics:\n\n## Booking Flow:\nIf the caller wants to **book** an appointment, follow these exact steps:\n1. Ask: \u201cIs this an emergency?\u201d\n   - If yes \u2192 Go to Emergency Flow\n2. Ask for:\n   - First & last name\n   - Email address\n   - Phone Number\n   - Reason for the visit\n3. Ask: \u201cWhat date and time would you like to book?\u201d\n4. Trigger `Check_Calendar_Availability` tool with the user\u2019s preferred time\n5. If available \u2192 confirm and use `Book_Appointments`\n6. If not available \u2192 ask for a new time and repeat availability check\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 \u201cemergency,\u201d \u201cpain,\u201d \u201cbleeding,\u201d or \u201cswelling\u201d:\n1. Confirm that it\u2019s an emergency\n2. Say: \u201cI understand. I\u2019ll transfer you to our emergency team right away.\u201d\n3. Trigger `transfer_call` to human support\n\n## Hiring Flow:\nIf the caller is interested in a job:\n1. Ask for their full name\n2. Ask what position they\u2019re applying for\n3. Ask why they want to work here\n4. Ask about their qualifications  \nTrigger `hiring_flow_database` after collecting all info\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\ud83d\udccd Address: 245 Main Street, Brooksville (across from Central Plaza)  \n\ud83d\udd52 Hours: Mon\u2013Sat, 8:00 AM to 7:00 PM  \n\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67 Walk-ins: Accepted if space allows  \n\ud83e\uddd1\u200d\u2695\ufe0f Lead Dentist: Dr. Maria Nguyen  \n\ud83c\udd95 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 \u2014 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: \u201cI\u2019d like to book a cleaning.\u201d  \n\u2192 \u201cOf course! Is this an emergency?\u201d\n\nCaller: \u201cCan I reschedule my visit from Tuesday to Friday?\u201d  \n\u2192 \u201cNo problem. May I have your name, email, and original appointment time?\u201d\n\nCaller: \u201cI\u2019m interested in a dental assistant job.\u201d  \n\u2192 \u201cThat\u2019s great! Let\u2019s start with your full name.\u201d\n\nCaller: \u201cI\u2019m bleeding, it\u2019s urgent.\u201d  \n\u2192 \u201cI\u2019m sorry to hear that. I\u2019ll transfer you to our emergency team right now.\u201d\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\u2019t know the answer, say:  \n  \u201cLet me take your name and number and someone from the clinic will call you back shortly.\u201d\n- If the caller is silent for more than 4 seconds, say:  \n  \u201cAre you still there?\u201d \u2192 wait \u2192 then end with:  \n  \u201cI\u2019ll let you go for now. Feel free to call us back anytime!\u201d\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": [
      {
        "headers": {},
        "parameter_type": "json",
        "method": "POST",
        "query_params": {},
        "description": "Trigger this when the caller has provided their job information for our database.",
        "type": "custom",
        "url": "https://make.com",
        "timeout_ms": 120000,
        "speak_after_execution": true,
        "name": "hiring_flow_database",
        "response_variables": {},
        "speak_during_execution": false,
        "parameters": {
          "type": "object",
          "properties": {
            "Why": {
              "type": "string",
              "description": "This is the reason they are looking to apply for a job with us."
            },
            "Position": {
              "type": "string",
              "description": "This is the position the caller is looking to apply for."
            },
            "Name": {
              "type": "string",
              "description": "This is the full name of the caller."
            },
            "Qualifications": {
              "type": "string",
              "description": "These are the qualifications of the caller."
            }
          },
          "required": [
            ""
          ]
        }
      },
      {
        "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_488aff6966b0c3f7673ac14d7424"
        },
        "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/lky8nw5txvlvgub88v6i44mdcy7ey86r",
        "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": "This is when the user wants to book. For example, tomorrow at 2pm, today at 1pm, next Monday at 5pm, 17th of march 4pm. Please don't 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_488aff6966b0c3f7673ac14d7424"
        },
        "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/quos62w7vs9w12odrr5tmvgurcwb5epf",
        "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"
          ]
        }
      }
    ],
    "start_speaker": "agent",
    "begin_message": "Hello, welcome to Blue Dental Clinic, this is Emily speaking, how can I help you today?",
    "last_modification_timestamp": 1753659984141,
    "is_published": false,
    "knowledge_base_ids": []
  },
  "conversationFlow": null,
  "llmURL": null,
  "prompt": "\n\n## Booking Flow:\nIf the caller wants to **book** an appointment, follow these exact steps:\n1. Ask: \u201cIs this an emergency?\u201d\n   - If yes \u2192 Go to Emergency Flow\n2. Ask for:\n   - First & last name\n   - Email address\n   - Phone Number\n   - Reason for the visit\n3. Ask: \u201cWhat date and time would you like to book?\u201d\n4. Trigger `Check_Calendar_Availability` tool with the user\u2019s preferred time.\n5. Wait for the response. If the response includes `\"available\": true`:\n   - Say the message in `\"message\"` (usually something like: \u201cYes, a time is available. Would you like to book it now?\u201d)\n   - If the user says yes \u2192 Trigger `Book_Appointments`\n6. If the response includes `\"available\": false`:\n   - Say the message in `\"message\"` (e.g., \u201cUnfortunately, there are no available slots for that time.\u201d)\n   - Ask the caller to choose a new time \u2192 Repeat step 4"
}