Why n8n for MSP automation?
n8n is a self-hostable, fair-code workflow engine with hundreds of integrations and a permissive licence for internal use. For an MSP it means one tool that can call the PSA ticketing API, the RMM API, Microsoft Graph, Slack and a webhook from a monitoring alert — without writing a full app for each integration.
High-value MSP workflows
The workflows that pay back fastest are the ones that remove copy-paste between systems: a monitoring alert opens a ticket with the right category and priority; a new-hire record from the HR system creates the Entra ID user and opens an onboarding ticket; a closed ticket triggers a customer satisfaction survey.
- Monitoring alert → auto-create ticket with context
- HR new-hire → provision identity and open onboarding ticket
- Ticket closed → send CSAT survey and update CRM
- RMM agent offline > 24h → escalate to NOC channel
Self-hosting and reliability
Run n8n in Docker behind a reverse proxy with Postgres as the execution store (SQLite is fine for small setups but Postgres scales). Use n8n's queue mode with a separate worker process for high-volume workflows so the editor stays responsive. Back up the n8n database — your workflows are intellectual property.
Lessons learned
- Use Postgres in queue mode for production n8n
- Store credentials in n8n's vault, never in workflow nodes
- Add error-trigger workflows so a failed run alerts the NOC
- Back up the n8n database — workflows are code
Written by
Jamshed Alam
Global MSP & IT Infrastructure Consultant with 20 years across Exchange, Microsoft 365, Azure, security and automation. Available for project and contract work worldwide.