Published: 2026-04-01
Design and Development of a Hybrid Rule-Based and Controlled AI Chatbot for Digital Mental Health Services
DOI: 10.35870/ijsecs.v6i1.7045
Jovanka Sabila Pertiwi, Resmidarni Resmidarni, Yeka Hendriyani, Yulia Fatmi
Article Metrics
- Scopus Citations
- Google Scholar
- Crossref Citations
- Semantic Scholar
- DataCite Metrics
-
If the link doesn't work, copy the DOI or article title for manual search (API Maintenance).
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.
Keywords
Hybrid Chatbot; Mental Health; Keyword-Based Scoring; Digital Psychological Services; Prototype Model
Peer Review Process
This article has undergone a double-blind peer review process to ensure quality and impartiality.
Indexing Information
Discover where this journal is indexed at our indexing page.
Open Science Badges
This journal supports transparency in research and encourages authors to meet criteria for Open Science Badges.
How to Cite
Article Information
This article has been peer-reviewed and published in the International Journal Software Engineering and Computer Science (IJSECS). The content is available under the terms of the Creative Commons Attribution 4.0 International License.
-
Issue: Vol. 6 No. 1 (2026)
-
Section: Articles
-
Published: 2026-04-01
-
License: CC BY 4.0
-
Copyright: © 2026 Authors
-
DOI: 10.35870/ijsecs.v6i1.7045
AI Research Hub
This article is indexed and available through various AI-powered research tools and citation platforms. Our AI Research Hub ensures that scholarly work is discoverable, accessible, and easily integrated into the global research ecosystem.
Jovanka Sabila Pertiwi, State University of Padang
Universitas Negeri Padang, Padang City, West Sumatra Province, Indonesia
Resmidarni Resmidarni, 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
-
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

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
Authors retain copyright of their work and grant the journal non-exclusive right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
2. Rights Granted Under CC BY 4.0
Under this license, readers are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.