Connect n8n

Monitor n8n Cloud or self-hosted instances with an API key.

Overview

Opsmatic monitors both n8n Cloud and self-hosted n8n instances (version 0.190.0 and newer, including Docker and Kubernetes deployments). Monitoring is read-only: Opsmatic polls availability and reads workflow execution data, it never modifies your workflows.

Create an n8n API key

n8n Cloud

  1. Log into your n8n Cloud instance and open Settings.
  2. Click API Keys, then Create API Key.
  3. Name it something recognizable, e.g. Opsmatic Monitoring.
  4. Copy the key — it is only shown once.

Self-hosted n8n

  1. Make sure the public API is enabled (N8N_PUBLIC_API_DISABLED must not be true).
  2. Go to Settings → API in your instance and create a key.
  3. Note your instance base URL, e.g. https://n8n.your-domain.com.

Add the connection in Opsmatic

  1. Go to Connections → Add connection and choose n8n.
  2. Enter your instance URL (for self-hosted) or cloud URL.
  3. Paste the API key. Credentials are encrypted at rest.
  4. Click Test & save — Opsmatic verifies the connection before saving.

What gets monitored

  • Availability — periodic health checks against your instance, with incidents on downtime.
  • Executions — workflow runs, success/failure rates, and durations.
  • Anomalies — statistical baselines flag unusual failure rates or response times.

Check frequency depends on your subscription tier and can be tuned per connection.