Deployment of n8n in production for workflow automation
Main Article Content
Abstract
Automating workflows using low-code platforms presents a strategic opportunity for process optimization in higher education institutions. The installation, configuration and production deployment of the n8n platform was carried out at the Instituto de Investigaciones Sociales of the Universidad Nacional Autónoma de México, as the support infrastructure for the "Taller Desarrollo de Aplicaciones con IA" in Educación Continua. The implementation process consisted of four phases: designing a containerized architecture with Docker; configuring the environment with secure variables and a reverse proxy using Traefik; verifying the installation with automatic HTTPS certificates from Let's Encrypt; and testing functional integration with external services. In this context, a semi-automatic update script was also developed to back up the PostgreSQL data volume before applying new versions, thus facilitating reversible and controlled maintenance. The results demonstrated that the platform is stable, achieving over 98% availability during operation, and is capable of executing workflows that integrate language models with institutional services. It can be concluded that the self-deployment of n8n is a feasible and cost-effective alternative for academic institutions that require automation of research processes and seek to integrate artificial intelligence capabilities into their workflows, while maintaining full control over their own institutional data.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Este trabajo tiene la licencia CC BY-NC-ND 4.0
References
Cristiangrando. (2025). Visual bug when registering credentials or auth (Issue #20279). GitHub. https://github.com/n8n-io/n8n/issues/20279
Devi Priya, V. S., Sethuraman, S. C., & Khan, M. K. (2023). Container security: Precaution levels, mitigation strategies, and research perspectives. Computers & Security, 135, 103490. https://doi.org/10.1016/j.cose.2023.103490
Fàbregas, F. (2022). Development of Node-RED web-based, open-source visual workflow tool for bioinformatics [Trabajo de fin de máster, Universitat Oberta de Catalunya]. Repositorio Institucional UOC. https://openaccess.uoc.edu/handle/10609/146604
Hartz, E. L. (2025). Development of an AI-driven DevOps Engineer: Automating workflows with an LLM based multi-agent system [Tesis de maestría, Universidad Técnica de Múnich]. DiVA Portal. https://www.diva-portal.org/smash/record.jsf?pid=diva2:1987584
Jennings, T. (2025). Building strong container security for modern applications. Mend.io. https://www.mend.io/blog/building-strong-container-security/
Joshi, S. (2025). A review of generative AI and DevOps pipelines: CI/CD, agentic automation, MLOps integration, and LLMs. International Journal of Innovative Research in Computer Science and Technology, 13(4), 1-14. https://doi.org/10.55524/ijircst.2025.13.4.1
Korinek, A. (2023). Generative AI for economic research: Use cases and implications for economists. Journal of Economic Literature, 61(4), 1281-1317. https://doi.org/10.1257/jel.20231736
Manning, B. S., Zhu, K., & Horton, J. J. (2024). Automated social science: Language models as scientist and subjects [Documento de trabajo]. National Bureau of Economic Research. https://www.nber.org/papers/w32381
Matook, S., Maggie Wang, Y., Koeppel, N., & Guerin, S. (2024). Metacognitive skills in low-code app development: Work-integrated learning in information systems development. Journal of Information Technology, 39(1), 41-70. https://doi.org/10.1177/02683962231170238
n8n-io. (2024). Self-hosted AI starter kit. GitHub. https://github.com/n8n-io/self-hosted-ai-starter-kit
Nüst, D., Sochat, V., Marwick, B., Eglen, S. J., Head, T., Hirst, T., & Evans, B. D. (2020). Ten simple rules for writing Dockerfiles for reproducible data science. PLOS Computational Biology, 16(11), e1008316. https://doi.org/10.1371/journal.pcbi.1008316
Saini, A. (2025). Continuous Integration & Continuous Deployment (CI/CD) best practices to follow in 2026. Kellton Tech Blog. https://www.kellton.com/kellton-tech-blog/continuous-integration-deployment-best-practices-2025
Sánchez-Cifo, M. Á., Bermejo, P., & Navarro, E. (2023). DevOps: Is there a gap between education and industry? Journal of Software: Evolution and Process, 35(12), e2534. https://doi.org/10.1002/smr.2534
Traefik Labs. (2022). HTTPS encryption: TLS, SSL, and Let's Encrypt. Traefik Labs Glossary. https://traefik.io/glossary/https-encryption-tls-ssl-letsencrypt
Venkiteela, P. (2025). n8n: An open-source workflow automation platform for enterprise integration and AI-driven orchestration. International Journal of Computer Applications, 187(63). https://doi.org/10.5120/ijca2025926031
Ziems, C., Held, W., Shaikh, O., Chen, J., Zhang, Z., & Yang, D. (2024). Can large language models transform computational social science? Computational Linguistics, 50(1), 237-291. https://doi.org/10.1162/coli_a_00502