Design and Development of a Hybrid Rule-Based and Controlled AI Chatbot for Digital Mental Health Services

Authors

DOI:

https://doi.org/10.35870/ijsecs.v6i1.7045

Keywords:

Hybrid Chatbot, Mental Health, Keyword-Based Scoring, Digital Psychological Services, Prototype Model

Abstract

Mental health issues have become increasingly prevalent, highlighting the need for accessible and integrated digital psychological services. Existing systems are often fragmented — communication, information delivery, and service management are separated across different platforms, creating operational inefficiencies. This study designs and develops a web-based hybrid chatbot system for digital mental health services at Corporate Psikologi Indonesia. The proposed system applies a hybrid approach combining keyword-based detection, a structured knowledge base, and controlled artificial intelligence to produce consistent and safe responses. A consultation booking feature is built into the same platform to support both informational and service-based interactions. The system was developed using a prototype-based approach and evaluated through functional testing and a preliminary user evaluation in a controlled environment. Results show that the system supports user interaction, delivers relevant mental health information, and facilitates consultation booking and service access effectively. The proposed hybrid chatbot architecture addresses service accessibility while maintaining response reliability. Future work will focus on broader user evaluation and stronger natural language understanding capabilities.

Downloads

Download data is not yet available.

Author Biographies

  • Jovanka Sabila Pertiwi, State University of Padang

    Universitas Negeri Padang, Padang City, West Sumatra Province, Indonesia

  • Resmi Darni, State University of Padang

    Universitas Negeri Padang, Padang City, West Sumatra Province, Indonesia

  • Yeka Hendriyani, State University of Padang

    Universitas Negeri Padang, Padang City, West Sumatra Province, Indonesia

  • Yulia Fatmi, State University of Padang

    Universitas Negeri Padang, Padang City, West Sumatra Province, Indonesia

References

Abd-Alrazaq, A., Alajlani, M., Alalwan, A. A., Bewick, B. M., Gardner, P., & Househ, M. (2019). An overview of the features of chatbots in mental health: A scoping review. International Journal of Medical Informatics, 103, 103978. https://doi.org/10.1016/j.ijmedinf.2019.103978

Abd-Alrazaq, A., Rababeh, A., Alajlani, M., Bewick, B. M., & Househ, M. (2020). Effectiveness and safety of using chatbots to improve mental health: Systematic review and meta-analysis. Journal of Medical Internet Research, 22(7), e16021. https://doi.org/10.2196/16021

Arief, Z. S., Hamzah, M., & Azham, M. N. I. (2023). Development of MyCare AI: A dual-AI mental health chatbot for personalized emotional support. Journal of Information Systems and Technology, 1(2). https://doi.org/10.64878/jistics.v1i2.34

Bickmore, T., & Giorgino, T. (2006). Health dialog systems for patients and consumers. Journal of Biomedical Informatics, 39(5), 556–571. https://doi.org/10.1016/j.jbi.2005.12.004

Casu, G. (2024). AI-based chatbot systems in mental health: A review. Journal of Affective Disorders, 354, 457–467. https://doi.org/10.1016/j.jad.2024.04.057

Cruz-Gonzalez, P. (2025). Artificial intelligence in mental health care: A systematic review of diagnosis, monitoring, and intervention applications. Psychological Medicine, 55, e46. https://doi.org/10.1017/S0033291724003295

Feng, X., Luo, Y., Zhang, Y., & Chen, J. (2025). Effectiveness of AI-driven conversational agents in mental health interventions: A systematic review. International Journal of Medical Informatics, 199, 105887. https://www.sciencedirect.com/science/article/pii/S1438887125006946

Fiske, A., Henningsen, P., & Buyx, A. (2019). Your robot therapist will see you now: Ethical implications of artificial intelligence in psychiatry, psychology, and psychotherapy. Journal of Medical Internet Research, 21(5), e13216. https://doi.org/10.2196/13216

Fitzpatrick, K. K., Darcy, A., & Vierhile, M. (2017). Delivering cognitive behavior therapy to young adults with symptoms of depression and anxiety using a fully automated conversational agent (Woebot): A randomized controlled trial. JMIR Mental Health, 4(2), e19. https://doi.org/10.2196/mental.7785

He, Y., Yang, L., Qian, C., Li, T., Su, Z., Zhang, Q., Xu, Y., Cheung, T., Jackson, T., & Xiang, Y. T. (2023). Conversational agent interventions for mental health problems: Systematic review and meta-analysis of randomized controlled trials. Journal of Medical Internet Research, 25, e43862. https://doi.org/10.2196/43862

Jiang, F., Jiang, Y., Zhi, H., Dong, Y., Li, H., Ma, S., Wang, Y., Dong, Q., Shen, H., & Wang, Y. (2017). Artificial intelligence in healthcare: Past, present and future. Stroke and Vascular Neurology, 2(4), 230–243. https://doi.org/10.1136/svn-2017-000101

Laranjo, L., Dunn, A. G., Tong, H. L., Kocaballi, A. B., Chen, J., Bashir, R., Surian, D., Gallego, B., Magrabi, F., Lau, A. Y. S., & Coiera, E. (2018). Conversational agents in healthcare: A systematic review. Journal of the American Medical Informatics Association, 25(9), 1248–1258. https://doi.org/10.1093/jamia/ocy072

Li, H., Zhang, Z., Xu, X., Zhao, J., & Ma, Y. (2023). Systematic review and meta-analysis of AI-based conversational agents for promoting mental health and well-being. NPJ Digital Medicine, 6, 236. https://doi.org/10.1038/s41746-023-00979-5

Miner, A. S., Shah, N., Bullock, K. D., Arnow, B. A., Bailenson, J., & Hancock, J. (2019). Key considerations for incorporating conversational AI in psychotherapy. Frontiers in Psychiatry, 10, 746. https://doi.org/10.3389/fpsyt.2019.00746

Nyakhar, S., & Wang, H. (2025). Effectiveness of artificial intelligence chatbots on mental health and well-being in college students: A rapid systematic review. Frontiers in Psychiatry, 16, 1621768. https://doi.org/10.3389/fpsyt.2025.1621768

Philippe, T. J., Sikder, N., Jackson, A., Koblanski, M. E., Liow, E., Pilarinos, A., & Vasarhelyi, K. (2022). Digital mental health interventions for depression, anxiety, and enhancement of psychological well-being among college students: Systematic review. JMIR Mental Health, 9(7), e32077. https://doi.org/10.2196/33798

Ramayanti, I., Hermawan, L., Syakurah, R. A., Stiawan, D., Meilinda, M., Negara, E. S., Fahmi, M., Ghiffari, A., & Rizqie, M. Q. (2023). Sentiment and emotion classification model using hybrid textual and numerical features. Journal of Applied Data Sciences, 6(3), 1287–1302. https://doi.org/10.47738/jads.v6i3.632

Torous, J., Myrick, K. J., Rauseo-Ricupero, N., & Firth, J. (2020). Digital mental health and COVID-19: Using technology today to accelerate the curve on access and quality tomorrow. JMIR Mental Health, 7(3), e18848. https://doi.org/10.2196/18848

Vaidyam, A. N., Wisniewski, H., Halamka, J. D., Kashavan, M. S., & Torous, J. B. (2019). Chatbots and conversational agents in mental health: A review of the psychiatric landscape. The Canadian Journal of Psychiatry, 64(7), 456–464. https://doi.org/10.1177/0706743719828977

World Health Organization. (2023). World mental health report 2023: Transforming mental health for all. WHO Publications. https://www.who.int/publications/i/item/9789240065109

Downloads

Published

2026-04-01

Issue

Section

Articles

How to Cite

Sabila Pertiwi, J., Darni, R., Hendriyani, Y., & Fatmi, Y. (2026). Design and Development of a Hybrid Rule-Based and Controlled AI Chatbot for Digital Mental Health Services. International Journal Software Engineering and Computer Science (IJSECS), 6(1), 44-52. https://doi.org/10.35870/ijsecs.v6i1.7045