---
title: "Deploy n8n AI enabled with Langfuse & workers"
description: "n8n with AI Agentic Flows (+Langfuse) and Scalable Worker Architecture"
category: "AI/ML"
url: https://railway.com/deploy/n2Evf-
---

# Deploy n8n AI enabled with Langfuse & workers

n8n with AI Agentic Flows (+Langfuse) and Scalable Worker Architecture

**[Deploy n8n AI enabled with Langfuse & workers on Railway](https://railway.com/template/n2Evf-)**

- **Creator:** RailGenius
- **Category:** AI/ML
- **Total deploys:** 24

## Template content

### Worker https://devicons.railway.app/i/n8n.svg

- **Image:** n8nio/n8n
- **Start command:** `sh -c "cd \$(npm root -g)/n8n && npm install langfuse-langchain langfuse && n8n worker"`

### Postgres https://img.icons8.com/color/48/postgreesql.png

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl
- **Start command:** `/bin/sh -c "unset PGPORT; docker-entrypoint.sh postgres --port=5432"`

### Primary https://devicons.railway.app/i/n8n.svg

- **Image:** n8nio/n8n
- **Start command:** `sh -c "cd \$(npm root -g)/n8n && npm install langfuse-langchain langfuse && n8n start"`
- **Health check:** /healthz
- **Public domain:** Yes

### Redis https://img.icons8.com/color/48/redis--v1.png

- **Image:** bitnami/redis

## Documentation

This n8n template has Langfuse enabled so that you can log all your AI traces to your langfuse cloud or self hosted instance.
n8n is an open-source, node-based workflow automation platform. With support for AI agentic flows, it enables the orchestration of autonomous agents that reason, plan, and act across systems. Workflows can be designed to include AI decision-making, data enrichment, and dynamic task execution. To scale efficiently, n8n supports distributed worker processes, allowing parallel execution of jobs, queue-based scaling, and horizontal deployment for high-throughput automation.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/n2Evf-
