Hybrid Web Architecture with AI and Mobile Notifications to Optimize Incident Management in the Public Sector
Abstract
1. Introduction
- RQ: How does a web architecture, integrating AI and mobile notifications, optimize incident management efficiency in the GORE, by reducing response times and increasing resolution rates?
- RO1: Reduce the average incident resolution time through optimized backend processes in Laravel [11].
- RO2: Increase the number of incidents resolved versus reported through MySQL-based traceability and FIFO assignment [12].
- RO3: Optimize the technical response time from notification to initial action through push alerts via Telegram [9].
- RO4: Improve overall system usability by measuring satisfaction with navigability and efficiency using the QWU instrument and the Bootstrap 5 frontend [13].
- RO5: Increase the interaction rate of the AI chatbot using structured prompts in OpenRouter [10].
- RO6: Raise the open rate of mobile notifications to accelerate workflow processing through asynchronous Telegram webhooks [14].
2. Related Work
3. Methodology
3.1. Population and Sample
3.2. Techniques and Instruments
3.3. Development and Implementation Methodology
- Requirements elicitation and analysis: Observation of historical processes (2023–2024) and interviews to identify failure patterns and develop user stories.
- Product Backlog creation: Prioritized list of functionalities, including ticket registration, FAQ-oriented chatbot, and mobile notifications.
- Sprint planning: Sprint 1 focused on the public interface; Sprint 2 on the admin module and submodules; Sprint 3 on AI and notification integration; and Sprint 4 on the technical panel and refinements.
- Incremental development: The system was coded in local environments (XAMPP), using Laravel 10 for the backend and MySQL as the database, Bootstrap 5 for the responsive frontend, OpenRouter for the chatbot (Meta/Google models), and the Telegram API for notifications.
- Meetings and review: At the end of each sprint, review sessions were conducted with the technical team for feedback.
- Testing and validation: Unit and integration tests (for AI and notifications) were performed, and bugs were corrected in short iterations.
- Implementation and monitoring: After institutional approval, the system was deployed on the GORE Apurímac server. Initial metrics were monitored during the first month (January 2025) through automated dashboards.
- Documentation and evaluation: A user manual and final reports were prepared, and results were assessed against the objectives. All documentation was stored in GitHub repository for version control and access.
4. System Architecture
4.1. Rationale for the Hybrid Custom Architecture
4.2. Developed Architecture
- Presentation Layer (Frontend): Developed using Bootstrap 5 to provide responsive and accessible interfaces, with CSS/JS components for form validation and timeline visualization. Views are rendered through Blade templates, capturing end-user inputs (e.g., national ID for automatic data completion) without requiring initial authentication. This layer is responsible for delivering an intuitive user experience on mobile devices, incorporating components such as chatbot modals and tables for tracking ticket statuses (pending/in progress/resolved/cancelled) [11,33].
- Business Logic Layer (Backend): Built on Laravel 10, this layer defines RESTful routes (in web.php and api.php) and controllers for handling requests. It uses the Eloquent ORM for model abstraction, processing logic such as description validation, ID generation, and notification triggers. Sanctum middleware manages authentication exclusively for technical staff, while queued jobs ensure asynchronous execution for external integrations [7,11].
- Database and Integrations Layer: MariaDB (MySQL-compatible) serves as the relational database for persistent storage. Eloquent models map key entities with optimized queries [11,34]. External integrations, including OpenRouter (stateless, via Guzzle HTTP) [35] and the Telegram Bot API (POST-based webhooks), are invoked from controllers. Fallback events are logged in Laravel, and quantitative metrics—such as messages sent, success/error rates, model used, and timestamps—are stored in the Chatbot table [10,14].
4.3. Data Model
4.4. Main Workflows
- End-User Workflow (Unauthenticated)
- 2.
- Technical Staff Workflow (Sanctum Authentication)
4.5. Specific Integrations
- 1.
- Data protection and pre-submission sanitization:
- 2.
- OpenRouter API (Chatbot)
“You are a friendly technical assistant for a support ticket system. Provide help only for simple and frequent issues based on this documentation. If the problem is complex or requires special credentials, suggest creating a support ticket. Always respond in Spanish, clearly, in an organized manner, and step by step.”
- 3.
- Telegram Bot API (Notifications):
4.6. Cross-Cutting Aspects
- Security: Laravel Sanctum provides token-based authentication exclusively for technical staff. API tokens (OpenRouter/Telegram) are stored in the env file, Eloquent uses parameterized queries to prevent SQL injection, and HTTPS is enforced on the public subdomain to secure data in transit [7,14,35].The system applies the data minimization principle, limiting the processing of personal information to the institutional infrastructure. Integrations with external artificial intelligence services operate under a stateless scheme and process only previously sanitized technical content. This design reduces the risks associated with the use of third-party APIs and reinforces the institution’s data sovereignty.
- Scalability: The system utilizes Laravel job queues to handle asynchronous notifications, ensuring stability and operational continuity by decoupling critical processes from the main service flow. Furthermore, model rotation via OpenRouter is applied to distribute the chatbot’s load and mitigate specific failures in external services nuous responsiveness. OpenRouter model rotation distributes chatbot load efficiently [35]. The MariaDB database enables efficient handling of concurrent queries and transactional operations, while the institutional XAMPP environment [11] maintained stable performance during the evaluation period, with an operational load exceeding 50 daily tickets.However, this evaluation did not include formal stress tests or high concurrency scenarios; therefore, the system’s scalability is understood from an architectural and functional perspective. Under significantly higher loads, bottlenecks associated with database concurrency or rate limits imposed by the external APIs employed could arise. These considerations are acknowledged as a limitation of the study and are proposed as lines of future work.
- Testing and Monitoring: Unit tests executed with PHPUnit achieved 85% coverage, encompassing CRUD operations and integrations. The RESTful endpoints were validated using Postman, consistently returning successful 200 responses. Centralized logs in storage/logs/laravel.log record errors and fallback events, while ApexCharts dashboards enable real-time monitoring of system metrics [38].
- System licensing: The developed incident management system is distributed as open-source software under the MIT license, which allows its use, modification, and redistribution without licensing costs. This decision facilitates the adoption of the system by other public institutions facing budgetary constraints and promotes code reuse and adaptation in similar contexts.
4.7. Data Protection and Privacy Considerations
4.8. Final Evaluation of the Proposed Architecture
5. Results
5.1. System Usability
5.2. Performance of the AI Chatbot
5.3. Effectiveness of Mobile Notifications
5.4. Incident Handling Time
5.5. Technical Staff Response Time
5.6. Incident Resolution
6. Discussion
7. Conclusions and Recommendations
7.1. Conclusions
7.2. Recommendations
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Comex, P. Transformación Digital Del Gobierno: Retos y Compromisos No Atendidos. Available online: https://www.comexperu.org.pe/articulo/transformacion-digital-del-gobierno-retos-y-compromisos-no-atendidos (accessed on 26 October 2025).
- Regional, G.G. Reporte de Avance Plan de Gobierno Digital 2023–2025-Informes y Publicaciones-Gobierno Regional Tacna-Plataforma Del Estado Peruano. Available online: https://www.gob.pe/institucion/regiontacna/informes-publicaciones/7256244-reporte-de-avance-plan-de-gobierno-digital-2023-2025 (accessed on 26 October 2025).
- Sangama-Reyna, E.J. Transformación Digital y Gobernanza Regional En Perú: Revisión Sistemática. Gest. Prod. Rev. Electrónica Cienc. Gerenciales 2025, 7, 91–106. [Google Scholar] [CrossRef]
- Sánchez Casanova, F.S.; Valles Coral, M.Á. Influencia de ITIL V3 En La Gestión de Incidencias de Una Municipalidad Peruana. Rev. Cuba. Cienc. Informáticas 2021, 15, 1–19. [Google Scholar]
- Sub Gerencia de Desarrollo Institucional Estadistica e Informatica. Reporte de Dependencias y Personal Del GORE-Apurimac Sede Central 2024. Internal Report (Not Publicly Available); Gobierno Regional de Apurímac: Abancay, Peru, 2024. [Google Scholar]
- Unidad de Informática, Gobierno Regional Apurímac. Informe Situacional de La Oficina de Soporte Tecnico 2024. Internal Report (Not Publicly Available); Gobierno Regional de Apurímac: Abancay, Peru, 2024. [Google Scholar]
- Subecz, Z. Web-Development with Laravel Framework. Gradus 2021, 8, 211–218. [Google Scholar] [CrossRef]
- Rajabovich, M.B. Analysis and Advantages of Laragon Software in Data Processing. J. Innov. Creat. Art 2023, 2, 2023. [Google Scholar]
- Petrosyan, A.S.; Surmachevskaya, A.A.; Novichkov, A.A.; Lukin, D.G.; Gareeva, G.A. Automatic Notification of Academic Debts Based on Telegram. Int. J. Adv. Stud. 2023, 13, 163–179. [Google Scholar] [CrossRef]
- Khennouche, F.; Elmir, Y.; Himeur, Y.; Djebari, N.; Amira, A. Revolutionizing Generative Pre-Traineds: Insights and Challenges in Deploying ChatGPT and Generative Chatbots for FAQs. Expert Syst. Appl. 2024, 246, 123224. [Google Scholar] [CrossRef]
- Sinaga, T.M.; Zuhdi, A.; Santoso, G.B. MVC Implementation in Laravel Framework for Development Web-Based E-Commerce Applications. Intelmatics 2021, 6, 37–42. [Google Scholar]
- Fauzi, M.F.; Rahmi, A.N. Penerapan Metode First in First out (FIFO) Dalam Sistem Antrian Pelayanan Administrasi Mahasiswa Studi Kasus DAAK Universitas AMIKOM Yogyakarta. METHOMIKA J. Manaj. Inform. dan Komputerisasi Akunt. 2021, 5, 183–188. [Google Scholar] [CrossRef]
- Aziz, N.S.; Kamaludin, A. Using Pre-Test to Validate the Questionnaire for Website Usability (QWU). In Proceedings of the 2015 4th International Conference on Software Engineering and Computer Systems, ICSECS 2015: Virtuous Software Solutions for Big Data, Kuantan, Malaysia, 19–21 August 2015; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2015; pp. 107–111. [Google Scholar]
- GitHub. GitHub—Laravel-Notification-Channels/Telegram: Telegram Notifications Channel for Laravel. Available online: https://github.com/laravel-notification-channels/telegram (accessed on 12 November 2025).
- Castro, P.; Cambarieri, M. Estrategias Para Desacoplar Funcionalidades y Facilitar El Desarrollo De Software En Instituciones Públicas: El Caso de La Universidad Nacional de Río Negro. In Proceedings of the Workshop de Investigadores en Ciencias de la Computación 2025, Mendoza, Argentina, 10–11 April 2025; pp. 10–11. [Google Scholar]
- Soel Juarez, M.A. Aplicación de Un Sistema Web Help Desk Basado En ITIL Para El Registro y Control de Requerimientos e Incidencias Al Personal de La Corte Superior de Justicia de Apurímac, Año 2020—2023; Universidad Nacional Micaela Bastidas de Apurímac: Abancay, Peru, 2024. [Google Scholar]
- Firdausi, S.; Setiawan, M.A. ITIL v3 Framework Application to Design Information Technology Incident Management Governance. J. Ilm. Tek. Elektro Komput. Dan Inform. 2022, 8, 128. [Google Scholar] [CrossRef]
- Ayquipa, R.A.R.; Enriquez, H.R.; Huayllani, W.J.A.; Mezarina, Z.H.A.; Cabrera, M.J.I. Challenges in the Implementation of E-Government for Public Institutions in Peru. In Proceedings of the 10th International Conference on E-Education, E-Business, E-Management and E-Learning, Tokyo, Japan, 10–13 January 2019; pp. 347–351. [Google Scholar] [CrossRef]
- Babatunde Johnson, O.; Olamijuwon, J.; Cadet, E.; Olajide Soji, O.; Oke Ekpobimi, H. Building a Microservices Architecture Model for Enhanced Software Delivery, Business Continuity and Operational Efficiency. Int. J. Front. Eng. Technol. Res. 2024, 7, 70–81. [Google Scholar] [CrossRef]
- Setälä, M.; Abrahamsson, P.; Mikkonen, T. Elements of Sustainability for Public Sector Software—Mosaic Enterprise Architecture, Macroservices, and Low-Code. In Proceedings of the 12th International Conference, ICSOB 2021, Drammen, Norway, 2–3 December 2021; Volume 434 LNBIP, pp. 3–9. [Google Scholar]
- Agustin Ramos Herrera Asesor, J.; Leonardo José Torres Argomedo, M. Implementación de OsTicket Para Optimizar La Gestión de Incidencias Del Área de Infraestructura de La Corte Superior de Justicia de Lima; Universidad Privada del Norte: Trujillo, Peru, 2022. [Google Scholar]
- Mali, D.; Salhotra, J.; Waikar, D.; Jadhav, N.; Tamboli, S. Online Chatbot Based Ticketing System. Int. J. Multidiscip. Res. 2025, 7, 2–9. [Google Scholar] [CrossRef]
- Karimi, Z.; Gallipoli, G.; Cagliero, L.; Chicco, F.; Rosa, C.; Sechi, A. Empowering University-Level Help Desk for International Applicants with AI Chatbots. In Proceedings of the 2024 IEEE International Conference on Big Data, BigData, Washington, DC, USA, 15–18 December 2024; Institute of Electrical and Electronics Engineers Inc.: Washington, DC, USA, 2024; pp. 5263–5270. [Google Scholar]
- Merino Morillo, V.M. Implementación de Un Sistema de Gestión de Incidencias Para La Empresa BEMAST EIRL; Universidad Católica Los Ángeles de Chimbote: Chimbote, Peru, 2019. [Google Scholar]
- Kanaki, K.; Kalogiannakis, M. Sample Design Challenges: An Educational Research Paradigm. Int. J. Technol. Enhanc. Learn. 2023, 15, 266–285. [Google Scholar] [CrossRef]
- Formularios de Google 1. Encuesta de Usabilidad Del Sistema Web de Tickets. Available online: https://docs.google.com/forms/d/e/1FAIpQLSccIZwiStmwEG863nl9Eblv1yLmMOwI6JdVjNxOq44Pqjwzdw/viewform (accessed on 12 September 2025).
- Avilés Matute, S.; Avila-Pesantez, D.; Avila, M. Desarrollo de Sistema Web Basado En Los Frameworks de Laravel y VueJs, Para La Gestión Por Procesos: Un Estudio de Caso. Rev. Peru. Comput. Sist. 2020, 3, 3–10. [Google Scholar] [CrossRef]
- Ameta, U.; Patel, M.; Sharma, A.K. Scrum Framework Based on Agile Methodology in Software Development and Management. In Emerging Trends in Data Driven Computing and Communications; Springer: Singapore, 2021; pp. 321–332. [Google Scholar] [CrossRef]
- Sommerville, I. Software Engineering, 10th ed.; Pearson Educación: London, UK, 2016; ISBN 978-1-292-09613-1. [Google Scholar]
- Pressman, R.S.; Maxim, B.R. Software Engineering: A Practitioner’s Approach; Hill, M., Ed.; McGraw-Hill Education: Columbus, OH, USA, 2019; ISBN 1259872971. [Google Scholar]
- Bass, L.; Clements, P.; Kazman, R. Software Architecture in Practice; Addison-Wesley Professional: Boston, MA, USA, 2012; ISBN 978-0-321-81573-6. [Google Scholar]
- Salah, S.; Maciá-Fernández, G.; Díaz-Verdejo, J.E. Fusing Information from Tickets and Alerts to Improve the Incident Resolution Process. Inf. Fusion 2019, 45, 38–52. [Google Scholar] [CrossRef]
- Bootstrap Bootstrap 5 Introduction. Available online: https://getbootstrap.com/docs/5.0/getting-started/introduction/ (accessed on 15 August 2025).
- Torres, M.Á. Desarrollo de Aplicaciones Web Con PHP y MySQL. In Editorial MACRO; Marcombo, S.A.: Barcelona, Spain, 2020; p. 344. [Google Scholar]
- OpenRouter OpenRouter Quickstart Guide|Developer Documentation|OpenRouter|Documentation. Available online: https://openrouter.ai/docs/quickstart (accessed on 9 November 2025).
- Vargas De la Maza, K.E. Propuesta de Sistema de Control de Ticket Para La Gestión de Negocios y Seguridad: Caso Estadio Quisqueya, 2017; Universidad APEC: Santo Domingo, Dominican Republic, 2018. [Google Scholar]
- Telegram Messenger Inc. Bots: An Introduction for Developers. Available online: https://core.telegram.org/bots (accessed on 4 August 2025).
- Almasi, S.; Bahaadinbeigy, K.; Ahmadi, H.; Sohrabei, S.; Rabiei, R. Usability Evaluation of Dashboards: A Systematic Literature Review of Tools. Biomed Res. Int. 2023, 2023, 11. [Google Scholar] [CrossRef] [PubMed]
- Scotti, V.; Carman, M.J. LLM Support for Real-Time Technical Assistance. In Machine Learning and Knowledge Discovery in Databases. Research Track and Demo Track; Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Springer: Cham, Switzerland, 2024; Volume 14948 LNAI, pp. 388–393. [Google Scholar] [CrossRef]
- El Panorama de La IA En Perú: Transformación, Adopción y Su Impacto Futuro|COEM. Available online: https://blog.controlesempresariales.com/el-panorama-de-la-ia-en-peru-transformacion-adopcion-y-su-impacto-futuro (accessed on 26 October 2025).










| Study | Architecture | AI Role | Notification Mechanism | Evaluation Scope |
|---|---|---|---|---|
| Ramos Herrera [21] | Monolithic (osTicket) | None | Single institution, descriptive | |
| Mali et al. [22] | Centralized web system | NLP-based categorization | None | Commercial deployment |
| Karimi et al. [23] | Hybrid academic system | Generative chatbot | Web interface | University help desk |
| This work (ITIMS) | Modular MVC (Laravel) | FAQ-restricted AI assistant | Mobile (Telegram) | Public sector case study |
| Dimension | Indicator | Instrument |
|---|---|---|
| System usability | Satisfaction | Questionnaire for Website Usability (QWU) [13] |
| AI chatbot | Interaction rate (percentage of queries answered) | Automatic system log |
| Mobile notifications | Open rate (percentage of notifications opened) | Notification platform log |
| Resolution time | Average time from registration to resolution (minutes) | System report |
| Number of incidents processed and resolved | Cases resolved vs. cases reported | System log |
| Technical staff response time | Minutes from notification to initial action | Automatic system log |
| Criterion | Existing Solutions (e.g., osTicket) | Proposed Architecture (Laravel + AI + Telegram) |
|---|---|---|
| Deployment model | Monolithic architecture with extensions and plugins | Decoupled and modular service-based architecture |
| Institutional workflow adaptation | Limited; requires core modifications or additional plugins | Fully customizable according to the GORE (Regional Government) structure |
| Generative AI integration | Non-native; depends on external services without flow control | Controlled AI integration (FAQs, structured prompts, and ticket routing) |
| Conversational flow control | Limited or non-existent | Total control over prompts, scope, validation, and traceability |
| Telegram integration | Generally restricted to notifications | Operational channel: notification, assignment, and status changes |
| Metrics instrumentation | Predefined generic metrics | Custom-designed metrics according to institutional indicators |
| Licensing costs | Variable; dependent on plugins | Low cost, based on open-source tools |
| Data sovereignty control | Dependent on extensions or external services | Primarily on-premise processing and institutional control |
| Functional scalability | Conditioned by platform capabilities | Scalability by design (via queues, APIs, and modules) |
| Dimension | Main Metric | Result |
|---|---|---|
| System usability | Satisfaction | 88% |
| AI chatbot | Interaction rate (% of queries answered) | 85.48% |
| Mobile notifications | Open rate (% of notifications opened) | 94.12% (4979/5290) |
| Resolution time | Average time from registration to resolution (minutes) | 31 min |
| Number of incidents processed and resolved | Cases resolved vs. reported | 99.34% (1051/1058) |
| Technical staff response time | Minutes from notification to initial action | 11 min |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Pfuño Alccahuamani, L.A.; Meza Bautista, A.; Rojas, H. Hybrid Web Architecture with AI and Mobile Notifications to Optimize Incident Management in the Public Sector. Computers 2026, 15, 47. https://doi.org/10.3390/computers15010047
Pfuño Alccahuamani LA, Meza Bautista A, Rojas H. Hybrid Web Architecture with AI and Mobile Notifications to Optimize Incident Management in the Public Sector. Computers. 2026; 15(1):47. https://doi.org/10.3390/computers15010047
Chicago/Turabian StylePfuño Alccahuamani, Luis Alberto, Anthony Meza Bautista, and Hesmeralda Rojas. 2026. "Hybrid Web Architecture with AI and Mobile Notifications to Optimize Incident Management in the Public Sector" Computers 15, no. 1: 47. https://doi.org/10.3390/computers15010047
APA StylePfuño Alccahuamani, L. A., Meza Bautista, A., & Rojas, H. (2026). Hybrid Web Architecture with AI and Mobile Notifications to Optimize Incident Management in the Public Sector. Computers, 15(1), 47. https://doi.org/10.3390/computers15010047

