Software+AICase study 05
05 · Workflow automation Self-hosted n8n · queue mode

Ten workflows, one cluster

The data team was spending its week on the same chores: describing warehouse columns, answering questions about documents, and taking in spreadsheets by hand. We stood up n8n in queue mode and put ten of those jobs on it, where an engineer can open any run and see each step.

n8n 1.106 Queue mode Redis PostgreSQL 15 Traefik TLS Main, worker, webhook
Ten named workflows on one n8n cluster: catalog, assistants, intake, and agents
The ten workflows. Catalog jobs, assistants, spreadsheet intake, and small agents, on one cluster. Queue mode · Traefik, Redis, PostgreSQL
10Workflows in production, from cataloging to a test chat
3 processesThe editor, a worker, and a webhook process, so a long job does not block a chat
RedisThe queue between them. PostgreSQL holds the state
TraefikTLS in front of the cluster

01 · The catalog

What each workflow actually does

Two jobs describe data. The Trino catalog reads tables and asks a model for a column description. The metadata catalog reads the data catalog on a schedule and writes descriptions back. Four jobs answer people: document question-and-answer over an in-memory vector store, a chat that can run code against retrieved text, a text-to-SQL chat, and a scheduled index of table metadata. One job takes a spreadsheet from a form, extracts the rows, and asks a model for structured JSON. The last three are a research chat with memory and live search, a file summarizer, and a small test agent used to check that the model responds.

The ten workflows grouped as catalog, assistants, intake, and agents
Same ten, grouped. Catalog, assistants, intake, agents.

02 · Look inside a group

The steps, without the slogans

Choose a group. The chain is the real shape of the workflow, shortened to the steps that matter.


          

03 · The cluster

Built so a long job cannot freeze a chat

Queue mode

The main process serves the editor. A worker pulls jobs from Redis. A third process takes webhooks. A catalog sync does not sit on top of a live chat.

State you can inspect

PostgreSQL 15 stores execution state. Traefik terminates TLS. An admin UI sits beside the database for when a run needs a human.

Models are a step, not a platform

Several workflows call an external model, and the research chat can search the web. The cluster is self-hosted. The model calls are not.

A test agent, not a monitor

Workflow 10 is a three-step chat used to confirm the model is wired up. It is not a synthetic probe of queue latency.

Work with Software+AI

Still moving data between tools by hand?

We stand up the cluster and the workflows, and we leave both somewhere your team can open and edit.