Skip to main content
FlowFuse Application Guide

Node-RED Guide

Design patterns

The moves that turn a flow into something you can reuse, test and hand off.

Design patterns — start here

The moves that turn a flow into something you can reuse, test and hand off. Find the seams, pick the lightest level of reuse, keep the UI and logic apart, and hold state in context — then scale only when one instance proves it must.

Name the structure

Most spaghetti is three or four components never named; draw a box around each.

Name the stages hiding inside one instance

Before

one flow, no seams

nothing to reuse or hand off

After

Ingest

Normalize

Enrich

Publish

A giant flow is bad because it has no seams. Most spaghetti is three or four well-defined components that were never named.

Use it when

You cannot reuse, test, or hand off a piece of a blob, and any edit means reading the whole tab. Naming the structure is the fix, not tidier wires.

How to apply it

Look for a repeated cluster, a logical stage (ingest, normalize, enrich, publish), a bounded responsibility, or a reuse magnet. Draw a box around each and extract it.

Good for

Splitting one tab into ingestion, processing, storage, and presentation.