Many Latin American countries face indoor air quality issues due to rapid urban growth, industrialization, and the lack of environmental regulations. Companies must ensure safe work environments in Tungurahua, Ecuador, especially concerning air quality. Exposure to CO, NOx, SO2, and particulate matter (PM) can lead to respiratory illnesses. This project focuses on mitigating air pollution in indoor spaces of companies in Tungurahua through an automated purification system using IoT. Employing automated measurement technology, the system identifies and manages chemical and ergonomic risks. An activated carbon-based purification system optimizes the reduction of pollutants, while IoT integration allows for real-time monitoring and automatic activation of the cleaner. The system's validation was performed by quantifying alcohol (2000 mg/m3), carbon monoxide (100 ppm), carbon dioxide (200 ppm), and PM2.5 particles (2500 ug/m3). A statistical analysis using the Wilcoxon test showed a significant difference between the values before and after using the purifier, with a p-value less than 0.05, allowing the rejection of the null hypothesis and acceptance of the alternative. The results indicate a significant reduction in pollution levels. This prototype can improve air quality in indoor spaces, promoting respiratory health among workers and providing a foundation for the development of future risk prevention systems.