---
title: "n8n automation, self-hosted or cloud, built to run unattended"
url: https://soliditylabs.tech/services/automation-development/n8n-workflow-automation/
description: "Solidity Labs builds n8n workflows on n8n Cloud or self-hosted: integrations, AI agent steps, error workflows, queue mode, backups and upgrade procedures."
source: Solidity Labs (https://soliditylabs.tech)
---

Automation · n8n

# n8n automation, _self-hosted or cloud_, built to run unattended

Workflows whose failures reach a person, AI steps whose output is checked, queue mode when volume grows, and a self-hosted setup with backups and upgrades that someone on your team owns.

[Get a quote](/contact/get-a-quote/) [Book a free call](/contact/book-consultation/)

Free discovery callNDA on requestFixed proposal after scoping

workflow · inbound-leads · activeILLUSTRATIVE

1.  Webhookheader auth
2.  Validatededupe · schema
3.  AI classifyintent · fields
4.  IF checks passelse → review
5.  HubSpotcreate deal
6.  Slack#sales

last run: successerror workflow: setfailures → alert

In short

n8n is a fair-code workflow automation platform that runs on n8n Cloud or on your own servers. Solidity Labs designs and builds workflows and installations. We connect your CRM, finance and support tools, add AI agent steps with checked outputs, error workflows with alerts and queue mode for volume, and install self-hosted n8n with backups and a documented upgrade procedure.

Definition

## Why teams choose n8n

**Fair-code, not open source.** n8n’s Sustainable Use License lets you self-host it free for your own internal business use. Letting your customers build workflows in it, hosting it for others or white-labeling it needs a commercial license from n8n.

n8n sits between point-and-click tools and custom code. Workflows are drawn visually, but a Code node can run JavaScript or Python, the HTTP Request node can call almost any web API, and workflows can carry files as binary data. Because it can run on your own infrastructure, data can stay in your network or region.

The cost model is simple to reason about. n8n Cloud plans count each complete workflow run as one execution, however many steps it has. The self-hosted Community edition has no license fee, so what you pay for is servers and the time to look after them.

It also has AI building blocks: an AI Agent node that works with chat models such as OpenAI and Anthropic, plus memory, tools and vector stores such as Qdrant and PGVector. Its Evaluations feature runs a workflow against a test dataset. That makes it a practical home for [AI workflow automation](/services/ai-development/ai-workflow-automation/).

The trade-off: you own more. Self-hosted n8n runs in containers (Docker, or Kubernetes for larger setups) and needs someone to own the server, the database, the encryption key, backups and upgrades. We set that up and document it, or recommend n8n Cloud when nobody should own a server.

Problems we solve

## What we fix in n8n setups

1.  ### Silent failures
    
    Workflows that stop without anyone noticing, because no error workflow was assigned. We assign one to every production workflow; it alerts with the failed node, the error and a link to the execution.
    
2.  ### One giant workflow
    
    Hundreds of nodes nobody dares touch. We split it into sub-workflows with defined input fields, each testable on its own.
    
3.  ### Credentials everywhere
    
    One admin key reused across many workflows, or keys pasted into nodes. We move them into least-privilege n8n credentials with a named owner and a rotation plan.
    
4.  ### Single instance at its limit
    
    Executions back up and time out. Queue mode moves the work to workers through Redis, on a shared PostgreSQL database.
    
5.  ### Upgrades nobody dares run
    
    Instances left many versions behind. A staging copy, n8n’s Migration Report and workflow tests make upgrades routine.
    

What we build

## What we build

### Workflows

Lead routing, invoicing, onboarding, reporting, data sync and support automation, built from sub-workflows with test runs.

### AI agent workflows

n8n AI Agent and chat model nodes with tools, memory and output parsing, with each result checked by ordinary rules before the workflow acts on it.

### Custom nodes

Nodes for internal APIs n8n doesn’t cover, installed as private nodes on self-hosted n8n. n8n Cloud runs only verified community nodes.

### Self-hosted deployment

Docker or Kubernetes, PostgreSQL, queue mode, a managed encryption key, backups, monitoring, and SSO where your n8n license includes it.

### Error handling

A shared error workflow on every production workflow, alerts to Slack or email, node retry settings and retries of failed executions.

### Version control

Workflows kept in Git: n8n source control with separate environments on Business or Enterprise plans, or scheduled exports on the Community edition.

### Migration

Zaps and Make scenarios rebuilt in n8n, with parity tests on the same inputs.

How it works

## A production n8n workflow

The visible nodes are the easy part; validation, error handling and the execution setup make it production.

1.  **Trigger**form · webhook · cron
2.  **Validate & dedupe**
3.  **AI step**classify · extract
4.  **Confidence branch**
5.  **CRM update**HubSpot · Salesforce
6.  **Notify**Slack · email
7.  **Error queue**retries · alerts
8.  **Human review**low confidence

Fig. 2 — A trigger starts the run, inputs are validated and de-duplicated, an AI step classifies or extracts, and low-confidence cases go to a person instead of the CRM.

Trigger and validation

A webhook, schedule or app trigger starts the run. Callers are authenticated, and required fields and duplicates are checked before any other node runs.

Sub-workflows

Each job (look up, enrich, write) is a sub-workflow with defined input fields, so it can be tested and reused on its own.

AI step and checks

An AI node classifies or extracts. An If or Switch node then checks the result against the schema and your records; anything uncertain goes to a person.

Errors and retries

Node retry settings absorb short outages. Anything still failing triggers the error workflow, which alerts with the failed node, the error and a link to the execution.

Execution

In queue mode the main instance passes executions to workers through Redis. All of them share one PostgreSQL database and the same encryption key.

Field notes

## What breaks in production n8n, and how we check

In n8n, the nodes on the canvas are rarely what fails in production. The settings around them are: which workflow catches errors, which runs are saved, where the encryption key lives and how upgrades happen.

## Failure modes we design against

-   **A new workflow without an error workflow.** n8n assigns the error workflow in each workflow’s settings, not once for the whole instance. A workflow published without one fails without telling anyone. We keep one shared error workflow and check that every active workflow points to it.
-   **Failures that leave nothing to inspect.** The alert can only link to an execution n8n has saved, and a failed run can only be retried from saved data. We keep failed production executions and set retention for the rest.
-   **Retries that write twice.** Retry On Fail reruns a node after an error, and retrying a failed execution runs it again. A create step that timed out after the record was written makes a duplicate. Writes check for an existing record or carry a unique key first.
-   **A lost or mismatched encryption key.** n8n encrypts saved credentials with the instance’s encryption key. Every queue-mode worker needs the same key, and so does any server you restore a backup to. We keep the key in a secrets manager and recommend testing a restore with it, as agreed in the proposal.
-   **SQLite left in place.** n8n ships with SQLite, and its docs advise against SQLite in queue mode. Production setups start on PostgreSQL, so adding workers later needs no database move.
-   **Heavy work in Code nodes.** Code nodes run in task runners with a timeout, one minute by default from n8n 3.0. Large jobs are split into batches in a sub-workflow, or moved to a service built for them.
-   **Secrets pasted into nodes.** An API key typed into a Code node or an HTTP Request header ends up in the workflow JSON, in exports and in Git. Keys belong in n8n credentials.
-   **Major upgrades taken blind.** n8n 3.x, stable since version 3.4.1 on November 26, 2026, removes legacy nodes and changes defaults, and n8n says the move from 2.x is one way. When an upgrade is in scope, we run the Migration Report on the 2.x instance (Settings > Migration Report), take a full backup and upgrade a staging copy first.

## Which n8n setup we recommend

-   **n8n Cloud** when nobody on your team should run a server and n8n holding your workflow data is acceptable. Code nodes there can’t load external npm or Python libraries, and only verified community nodes are available.
-   **Self-hosted Community edition** for internal automation by one team. It is free under the Sustainable Use License and includes queue mode, but not SSO, Git source control, environments, external secrets or sharing of workflows and credentials beyond their owner.
-   **Self-hosted Business or Enterprise** when you need SSO, Git-based environments for development and production, or several teams sharing one instance. External secrets and log streaming are on Enterprise.
-   **Queue mode** when executions back up on one instance. It adds Redis and workers to run and monitor, so we add it when the volume needs it, not by default.

Plan features change. These are as n8n lists them on December 3, 2026, and we check them again when we scope a project.

## Before a workflow goes to production we check

1.  It uses the shared error workflow, and a forced failure (a Stop and Error node in a test run) produces an alert with a link to the execution.
2.  Failed executions are saved, and retention for the rest is set.
3.  Every write is safe to retry.
4.  Credentials are least-privilege, owned by a named role and used only by the workflows that need them.
5.  Every webhook authenticates its caller.
6.  The workflow is in Git, through n8n source control or a scheduled export.
7.  For self-hosted n8n: a restore of the database and the encryption key on a clean server is recommended before go-live; whether the project includes it is agreed in the proposal.

Process

## How we run it

1.  ### Discovery call
    
    A free call about goals, constraints, budget and timing. NDA on request.
    
    Free call
    
2.  ### Requirement gathering
    
    We write the scope: user stories, an architecture sketch, integrations, risks and open questions.
    
    Written scope
    
3.  ### Proposal & milestones
    
    A fixed proposal for the agreed scope, with milestones, acceptance criteria and the contract. Payments are milestone-based, as agreed in the proposal.
    
    Fixed proposal
    
4.  ### Development
    
    You see working software in demos at a cadence agreed in the proposal, live or recorded, with a staging link and a direct channel to the person running the build.
    
    Regular demos
    
5.  ### QA, delivery & support
    
    Testing, security checks, deployment and handover documentation. Source code and IP are transferred to you on final payment, followed by post-launch support as agreed in the proposal.
    
    Handover
    

Technology

## Tools we use for this

### n8n

-   n8n
-   Queue mode
-   Redis
-   PostgreSQL
-   Docker
-   Kubernetes

### AI

-   OpenAI
-   Anthropic Claude
-   Qdrant
-   pgvector

### Integrations

-   HubSpot
-   Salesforce
-   Slack
-   Google Workspace
-   Microsoft 365
-   Stripe
-   Xero

Scope drivers

## What shapes scope

We don’t publish prices or week counts, because they depend on scope. These are the factors that actually move them.

01

### Number of workflows and systems

Each workflow and integration needs build, tests and documentation.

02

### Hosting choice

n8n Cloud needs no infrastructure; self-hosting with queue mode, monitoring and backups needs setup and ongoing ownership.

03

### n8n plan

Features such as SSO, Git source control, environments and external secrets are on n8n’s paid plans, which changes what we configure.

04

### AI steps

Prompts, test datasets, output checks and review paths for AI nodes.

05

### Custom nodes

Internal APIs without existing nodes need custom development.

06

### Migration

Rebuilding existing automations and testing them for parity.

### Every engagement includes

-   Source code & IP transfer
-   Documentation
-   Handover session
-   Post-launch support as agreed
-   Demos at an agreed cadence

**We give a fixed proposal after a free discovery call and a written scope of work.** [Prepare a brief with the Project Planner](/resources/project-planner/)

Honest guidance

## When not to choose this

When not to use this

-   **Nobody can own a server and you don’t want n8n Cloud.** Zapier or Make may suit you better.
-   **Your customers should build their own workflows inside your product.** Under n8n’s license that needs a commercial agreement with n8n, so plan for one or choose another route.
-   **The process needs a full application with users and screens.** Build software; use n8n for the plumbing behind it.

Scope boundary

## What we engineer, and what others provide

### We engineer

-   Workflows, custom nodes and AI steps
-   Self-hosted setup, monitoring configuration and documentation

### You provide

-   Process owners, system access and an internal owner for n8n

### Licensed partners & providers

-   n8n (license and cloud service)
-   Your cloud provider
-   Model providers for AI steps

Security & quality

## How we keep it safe and correct

-   Credentials stored only in n8n’s encrypted credential store (or an external secrets store on Enterprise), never in Code nodes or headers
-   The encryption key kept in a secrets manager and backed up with the database; every worker uses the same key
-   Webhooks authenticated with header, basic or JWT auth, an IP allowlist, or the sending service’s signature
-   SSO and role-based projects on the n8n plans that include them
-   Run history keeps failed executions for debugging and only as much else as you need
-   Backups of the database and the encryption key; a restore test on a clean server recommended and scoped in the proposal; documented upgrade procedure

FAQ

## Questions buyers ask us

Not covered here? [Ask us directly](/contact/) — a person reads every message.

### ### Should we self-host n8n or use n8n Cloud?

Self-host when data must stay on your infrastructure, you need external npm or Python libraries in Code nodes, or you need private custom nodes, and someone can own the server. Use n8n Cloud when you’d rather not manage infrastructure.

### ### Can we use n8n inside a product we sell?

It depends on how. n8n’s license FAQ treats running pre-built workflows behind your product as internal use, as long as your customers never build or edit workflows. Letting customers build workflows, hosting n8n for them or white-labeling it needs a commercial license. We check your design against the current license, and n8n’s licensing team settles borderline cases. This is not legal advice.

### ### Can n8n run AI agents?

Yes. The AI Agent node works with chat models, tools and memory. We add a test dataset, checks on every output and human review for anything consequential.

### ### How much does n8n automation cost?

It depends on the number of workflows and systems, hosting, your n8n plan, AI steps, custom nodes and migration. We don’t publish prices; we give a fixed proposal after a free call and a written scope.

### ### Can you migrate our Zapier workflows to n8n?

Yes. We rebuild them in n8n, check them with parity tests on the same inputs, and recommend running old and new in parallel before switching.

### ### How do you handle n8n upgrades?

We document an upgrade procedure for your instance: a full backup, n8n’s Migration Report for removed nodes and changed defaults, the upgrade on a staging copy with workflow tests, then production. Whether we run upgrades or your team does is agreed in the proposal. Major versions need extra care: n8n says the move from 2.x to 3.x is one way.

Keep exploring

## Related services and reading

-   [API & Systems IntegrationReliable connections between your systems](/services/automation-development/api-integration-services/)
-   [AI Workflow AutomationLLM steps inside dependable business workflows](/services/ai-development/ai-workflow-automation/)

### From the blog

![](/assets/img/r/ai-agent-vs-chatbot-vs-automation-480.png)

AI & Machine Learning

### [AI Agent vs Chatbot vs Automation: Which One Do You Need?](/blog/ai-agent-vs-chatbot-vs-automation/)

Chatbots answer, automations follow fixed steps, and agents decide their own steps. Picking the wrong one wastes money or adds risk. Here is a decision guide with examples, trade-offs and the questions to ask.

Solidity Labs · October 16, 2026 · 6 min read

Last reviewed: December 2026 Reviewed by our independent expert review under our [editorial policy](/editorial-policy/)
