A HYBRID HUMAN-AI WEB SYSTEM FOR REAL-TIME MENTAL HEALTH COUNSELLING AND CHRONIC DISEASE MANAGEMENT
Abstract
This research examines the creation and implementation of an online communication and engagement platform for patients with chronic diseases and their counsellors, designed to enhance mental health support through real-time counselling and intelligent virtual assistance. The paper tackles the shortcomings of current systems, which frequently do not offer true offline functionality but instead require continuous connectivity. Our system is optimized for low-bandwidth environments, integration of AI with human interaction, and accessibility for those with limited digital access. The objective was to develop an interactive, secure, and scalable platform that merges rule-based virtual assistance with live l interaction to provide ongoing, context-sensitive care. The platform was created using Flowise, Firebase, Grop API, and SerpAPI, facilitating secure user enrolment, scheduling of appointments, group support, and immediate communication. Validation in a simulated setting confirmed its effectiveness, showing advancements in data precision, responsiveness, and information dissemination. Security was maintained through HTTPS encryption, encrypted data storage, role-based access controls, and protocols for patient consent and data anonymization. The findings indicated that integrating a Flowise-based assistance with human counsellors enhanced system flexibility, accuracy, and patient engagement. In summary, this study offers a powerful solution for addressing gaps in digital mental health provision, especially for underprivileged communities.
Full text article
References
Bitar, H., & Alismail, S. (2021). The role of eHealth, telehealth, and telemedicine for chronic disease patients during COVID-19 pandemic: A rapid systematic review. Digital Health, 7, 20552076211009396. https://journals.sagepub.com/doi/10.1177/20552076211009396
Curtis, S., Smith, A., & Johnson, B. (2021). Improving user experience of virtual health assistants: Scoping review. Journal of Medical Internet Research, 23(12), Article e31737. https://doi.org/10.2196/31737
Maisto, M., Diana, B., Di Tella, S., Matamala-Gomez, M., Montana, J. I., Rossetto, F., ... & Realdon, O. (2021). Digital interventions for psychological comorbidities in chronic diseases a systematic review. Journal of Personalized Medicine, 11(1), Article 30. https://doi.org/10.3390/jpm11010030
Paalimäki-Paakki, K., Virtanen, M., Henner, A., Nieminen, M. T., & Kääriäinen, M. (2022). Effectiveness of digital counseling environments on anxiety, depression, and adherence to treatment among patients who are chronically ill: Systematic review. Journal of Medical Internet Research, 24(1), Article e30077. https://doi.org/10.2196/30077
Rehman, F., & Sajjad, S. (2025). Bridging Technology and Therapy: Exploring AI in Mental Health Services through Counselors' and Students' Perspectives. Online Media and Society, 6(1), 31-44.
Roca, S., Lozano, M. L., Garcia, J., & Alesanco, Á. (2021). Validation of a virtual assistant for improving medication adherence in patients with comorbid type 2 diabetes mellitus and depressive disorder. International Journal of Environmental Research and Public Health, 18(22), Article 12056. https://doi.org/10.3390/ijerph182212056
Saeidnia, H. R., Hashemi Fotami, S. G., & Lund, B. (2024). Ethical considerations in artificial intelligence interventions for mental health and well-being: Ensuring responsible implementation and impact. Social Sciences, 13(7), Article 381. https://doi.org/10.3390/socsci13070381
Sharma, A., Pruthi, M. & Sageena, G. (2022). Adoption of telehealth technologies: an approach to improving healthcare system. Translational medicine communications 7(1), 20. https://doi.org/10.1186/s41231-022-00125-5
Sqalli, M. T., & Al-Thani, D. (2020). On how chronic conditions affect the patient-AI interaction: A literature review. Healthcare, 8(3), Article 313. https://doi.org/10.3390/healthcare8030313
Tao, T. J., Lim, T. K., Yeung, E. T. F., Liu, H., Shris, P. B., Ma, L. K. Y., ... & Hou, W. K. (2023). Internet-based and mobile-based cognitive behavioral therapy for chronic diseases: A systematic review and meta-analysis. NPJ Digital Medicine, 6(1), Article 59. https://doi.org/10.1038/s41746-023-00809-8
World Health Organization. (2025). Noncommunicable diseases. https://www.who.int/health-topics/noncommunicable-diseases#tab=tab_1
World Health Organization. (2025, September 25). Noncommunicable diseases. https://www.who.int/news-room/fact-sheets/detail/noncommunicable-diseases
Yu, S., Wan, R., Bai, L., Zhao, B., Jiang, Q., Jiang, J., & Li, Y. (2023). Transformation of chronic disease management post-COVID. Frontiers in Public Health, 11, 1074364. https://doi.org/10.3389/fpubh.2023.1074364
Zhang, Z., Wang, J., & Liu, L. (2023). Redefining virtual assistants in health care: A systematic review. Journal of Medical Internet Research, 25, Article e53225. https://doi.org/10.2196/53225
Zhu, G., Zhou, Y., & Wei, H. (2024, March). Development of an Artificial Intelligence based Counseling Assistance Platform for College Students. In 2024 13th International Conference on Educational and Information Technology (ICEIT) (pp. 45-50). IEEE.
Authors
Copyright (c) 2026 Maaruf Mohammed Lawal, and Abdulrashid Abdulrauf

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License [CC BY-NC-SA 4.0] that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work, with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online.