# Observability for n8n with Opik

> Start here to integrate Opik into your n8n-based workflow automation for end-to-end LLM observability.

[n8n](https://n8n.io) is a powerful workflow automation platform that allows you to connect various services and automate tasks through a visual interface. With the `n8n-observability` package, you can automatically trace workflow executions and node operations using OpenTelemetry.

<Warning>
  This integration only works with **self-hosted n8n** installations. It is not compatible with n8n Cloud.
</Warning>

<Frame>
  <img src="https://files.buildwithfern.com/https://opik.docs.buildwithfern.com/docs/opik/2026-01-30T17:33:07.444Z/img/tracing/n8n_integration.png" alt="n8n tracing in Opik" />
</Frame>

## Features

* 🔍 **Automatic tracing** of workflow executions and individual node operations
* 📊 **Standard OpenTelemetry** instrumentation using the official Node.js SDK
* 🎯 **Zero-code setup** via n8n's hook system
* 🔌 **OTLP compatible** - works with Opik's OpenTelemetry endpoint
* ⚙️ **Configurable** I/O capture, node filtering, and more

## Account Setup

[Comet](https://www.comet.com/site?from=llm\&utm_source=opik\&utm_medium=colab\&utm_content=n8n\&utm_campaign=opik) provides a hosted version of the Opik platform. [Simply create an account](https://www.comet.com/signup?from=llm\&utm_source=opik\&utm_medium=colab\&utm_content=n8n\&utm_campaign=opik) and grab your API Key.

> You can also run the Opik platform locally, see the [installation guide](https://www.comet.com/docs/opik/self-host/overview/?from=llm\&utm_source=opik\&utm_medium=colab\&utm_content=n8n\&utm_campaign=opik) for more information.

## Quick Start with Docker

The fastest way to get started is with Docker Compose:

```bash