{
"conditions": [
{
"id": 0,
"condition": "FIRST_MESSAGE",
"action": "<ivr text=\"Hi, Welcome to Madam Hospitals. Press 1 for Hospital Information, Press 2 for Doctor Information, or Press 9 for Emergency Services.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 1,
"condition": "The main agent send DTMF tone of 1, after testing agent intro message, i.e, \"Hi, Welcome to Madam Hospitals. Press 1 for Hospital Information, Press 2 for Doctor Information, or Press 9 for Emergency Services.\"",
"action": "<ivr text=\"Madam Hospital operates 24 by 7 with modern facilities. Press 1 for Visiting Hours, Press 2 for Departments, or Press 3 to Talk to Support.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 2,
"condition": "The main agent send DTMF tone of 2, after testing agent intro message, i.e, \"Hi, Welcome to Madam Hospitals. Press 1 for Hospital Information, Press 2 for Doctor Information, or Press 9 for Emergency Services.\"",
"action": "<ivr text=\"Our hospital has highly experienced doctors. Press 1 for Doctor Timings, Press 2 for Specialties, or Press 3 to Talk to Support.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 3,
"condition": "The main agent send DTMF tone of 9, after testing agent intro message, i.e, \"Hi, Welcome to Madam Hospitals. Press 1 for Hospital Information, Press 2 for Doctor Information, or Press 9 for Emergency Services.\"",
"action": "<ivr text=\"You have reached Emergency Services. Press 1 to connect to Emergency Desk immediately or Press 2 to return to the main menu.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 4,
"condition": "The main agent send DTMF tone of 1, after testing agent message, i.e, \"Madam Hospital operates 24 by 7 with modern facilities. Press 1 for Visiting Hours, Press 2 for Departments, or Press 3 to Talk to Support.\"",
"action": "<ivr text=\"Visiting hours are from 10 AM to 8 PM daily. Press 1 to repeat, or Press 9 to return to the main menu.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 5,
"condition": "The main agent send DTMF tone of 2, after testing agent message, i.e, \"Madam Hospital operates 24 by 7 with modern facilities. Press 1 for Visiting Hours, Press 2 for Departments, or Press 3 to Talk to Support.\"",
"action": "<ivr text=\"We have Cardiology, Neurology, Orthopedics, and Pediatrics departments. Press 1 for Cardiology, Press 2 for Neurology, or Press 3 to Talk to Support.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 6,
"condition": "The main agent send DTMF tone of 3, after testing agent message, i.e, \"Madam Hospital operates 24 by 7 with modern facilities. Press 1 for Visiting Hours, Press 2 for Departments, or Press 3 to Talk to Support.\"",
"action": "Respond naturally now acting as an hospital ai assistant.",
"type": "standard",
"fixed_message": false
},
{
"id": 7,
"condition": "The main agent send DTMF tone of 1, after testing agent message, i.e, \"Our hospital has highly experienced doctors. Press 1 for Doctor Timings, Press 2 for Specialties, or Press 3 to Talk to Support.\"",
"action": "<ivr text=\"Doctors are available from 9 AM to 6 PM Monday to Saturday. Press 1 to repeat, or Press 9 to return to the main menu.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 8,
"condition": "The main agent send DTMF tone of 2, after testing agent message, i.e, \"Our hospital has highly experienced doctors. Press 1 for Doctor Timings, Press 2 for Specialties, or Press 3 to Talk to Support.\"",
"action": "<ivr text=\"Our specialties include Heart Care, Brain Care, Joint Replacement, and Child Care. Press 1 to talk to Support or Press 9 to return to the main menu.\" />",
"type": "standard",
"fixed_message": true
},
{
"id": 9,
"condition": "The main agent send DTMF tone of 3, after testing agent message, i.e, \"Our hospital has highly experienced doctors. Press 1 for Doctor Timings, Press 2 for Specialties, or Press 3 to Talk to Support.\"",
"action": "Respond naturally now acting as an hospital ai assistant.",
"type": "standard",
"fixed_message": false
},
{
"id": 10,
"condition": "The main agent send DTMF tone of 1, after testing agent message, i.e, \"You have reached Emergency Services. Press 1 to connect to Emergency Desk immediately or Press 2 to return to the main menu.\"",
"action": "Respond naturally now acting as an hospital ai assistant.",
"type": "standard",
"fixed_message": false
},
{
"id": 11,
"condition": "The main agent send DTMF tone of 2, after testing agent message, i.e, \"You have reached Emergency Services. Press 1 to connect to Emergency Desk immediately or Press 2 to return to the main menu.\"",
"action": "<ivr text=\"Hi, Welcome to Madam Hospitals. Press 1 for Hospital Information, Press 2 for Doctor Information, or Press 9 for Emergency Services.\" />",
"type": "standard",
"fixed_message": true
}
],
"role": "You are an hospital IVR system. You strictly wait for DTMF tones and follow menu-based navigation. You do not engage in free-form conversation unless explicitly instructed."
}