Deployment of n8n in production for workflow automation

Main Article Content

Ernesto Pathros Ibarra García
Julio Cesar Cruz Estrada
https://orcid.org/0000-0003-0107-6616

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

Download data is not yet available.

Article Details

How to Cite
Ibarra García, E. P., & Cruz Estrada, J. C. (2026). Deployment of n8n in production for workflow automation. Cuadernos Técnicos Universitarios De La DGTIC, 4(2). https://doi.org/10.22201/dgtic.30618096e.2026.4.2.171
Section
Reconocimientos ANUIES TIC
Author Biographies

Ernesto Pathros Ibarra García, Instituto de Investigaciones Sociales, UNAM

.

Julio Cesar Cruz Estrada, Instituto de Investigaciones Sociales, UNAM

Master of Science in Computer Science and Engineering, Julio Cesar Cruz Estrada

I currently work at the Institute of Social Research in the Computing Department as a Server Administrator.

I teach Computer Organization and Architecture at the Faculty of Engineering, UNAM (National Autonomous University of Mexico).

I have participated as an instructor in diploma programs and courses related to Artificial Intelligence and robotics:

1. I participated as coordinator and instructor in the Continuing Education Workshop "Developing Applications with Artificial Intelligence Tools: Digital Innovation in Social Sciences," held in 2025 at the Institute of Social Research, UNAM.

2. I participated as coordinator and instructor in the Continuing Education Workshop "Using Artificial Intelligence Tools to Support Research and Data Analysis," held in 2024 at the Institute of Social Research, UNAM.

3. In 2020, I taught Module 3: Mobile Robots, of the diploma program "Artificial Intelligence with a Focus on Service Robots" at the Faculty of Engineering, UNAM.

I conducted research on software integration for service robots in the Bio-robotics Laboratory at the Faculty of Engineering, UNAM, between 2016 and 2021.

I participated in national and international robotics competitions from 2016 to 2021 with the service robot "Justina" from the Faculty of Engineering, UNAM.

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