Invoice Ledger

n8n homelab automations that are worth building

Not forty ideas. Five automations that earn their keep, and — for each one — the way it fails silently, because that is the part listicles skip.

Guide · node parameters checked against n8n documentation on 22 October 2026 · works with JavaScript switched off

The rule that decides whether an automation is worth having

An automation that runs and works is invisible. An automation that has stopped is also invisible — the same nothing happens either way. That symmetry is why homelab automation decays: nobody notices a job that stopped in March until a disk fills in July.

So the test for each item below is not "is it useful" but "how would I find out it died". Where the answer is "I would notice", the automation is a decoration. Where the answer is a line in a file that changes on a schedule, it is infrastructure.

Two primitives do all the work: the Schedule Trigger (a clock) and the HTTP Request node (a way to ask a service a question).12

0. The heartbeat, before any of the five

Before automating anything, build the thing that tells you n8n itself is running. A workflow on a Schedule Trigger that runs every fifteen minutes and appends a timestamped line to a file — or updates one row in a table — is enough. Then read that file from somewhere that is not the machine being watched: your laptop, a phone shortcut, a second box.

Why so primitive: n8n's execution history is a record of what ran, not proof that the thing you care about ran. If n8n is down, there is no failed execution to alert you — there is no execution at all. A heartbeat written by the run itself is the only signal that survives that case.

Do not monitor a box from inside that box. A cron job on the same host cannot tell you the host is dead. This is the one place where a second machine is not optional: the cheapest option is a tiny n8n Cloud instance running one HTTP Request check, or a small VPS doing the same with curl.

1. The disk guard

What it does. Once a day, check free space on the volume that holds your containers and your media. If it falls below a number you chose, send one message — not a stream of them.

Why this one first. Everything else fails loudly compared to a full disk. A full disk takes down PostgreSQL, takes down the container runtime, and takes down the automation that would have told you. On a small board, the same disk is also holding n8n's execution data, which grows by design.

How to build it. There are two honest routes. The clean one is to ask the metrics endpoint you already run (node_exporter, or your NAS's API) over HTTP. The blunt one is the Execute Command node running df -P / | tail -1 | awk '{print $5}'. Three things before you reach for it: it is disabled by default from n8n 2.0 because it runs shell commands on the machine that runs n8n, so you have to take it off the excluded-nodes list (NODES_EXCLUDE) yourself;34 it is not available on n8n Cloud at all;3 and when n8n itself runs in Docker the command runs inside the n8n container, so df / reports the container's view of the disk, not necessarily the volume you meant to watch. Point it at the mount you care about, or use the metrics route above. It also works only if you never wire it to a webhook or a form trigger — anything a stranger can reach must not be able to run a shell command.

df -P / | tail -1 | awk '{print $5}' | tr -d '%'   # prints used percent as a bare number

The trap. An alert that fires every hour gets muted, and then the real one is muted too. Put a floor under it: send at most one message per day per condition, and include the number in the message so the reader can see it moving.

2. Service health that checks what the service does

What it does. Every five minutes, ask each self-hosted service a question that only a working service can answer. Not "is the port open" — a TCP connect succeeds on a wedged process. Ask for a page that requires the database.

Why it is better than uptime pings. A container that restarts every ten minutes looks up from outside, because something is answering. A response body that mentions the library count, or an HTTP status from an endpoint that reads the database, tells you the difference.

The trap. The check runs inside n8n, on the same host, and shares its fate. If that is all you have, accept it and say so; the heartbeat plus an external check is what covers the case where the host is gone.

3. Verify the backup instead of taking it

What it does. Reads the newest backup artefact, checks its timestamp and its size, and fails if either is stale or implausible. That is a different job from making the backup, and it catches the failure that matters: a backup job that has been "succeeding" for weeks while writing zero bytes.

How. Schedule Trigger → Read/Write Files or an HTTP call to your storage → a Code node that compares the timestamp with Date.now() and the size with a floor you set from a known-good copy → IF → notify. The n8n side is trivial; the discipline is having a number for "too small", which you get by looking at one that worked.

The trap. Verifying a file's existence is not verifying a restore. A backup is proven by restoring it, which is a manual drill once a quarter, not a workflow. The guide on backing up n8n and proving the restore has the drill.

4. Media intake: the one automation people actually notice

What it does. Watches a drop folder (or an upload API) and, when new media arrives, files it, tells the library to scan, and posts one message naming what was added.

Why it earns its place. It is the automation that pays back in visible time, which makes it the one that teaches you the node model. The pattern — trigger, transform, one outbound request, one notification — is the same pattern every item on this page uses.

The trap. Anything that deletes or overwrites should not be automated first. Move, copy, rename, notify; delete last, and never in a workflow whose trigger is a webhook.

5. Invoice capture, if the homelab also runs a business

What it does. Reads supplier invoices out of a mailbox, parses the fields, appends each one once to a CSV ledger, and flags what it could not read. The guide on the invoice pipeline is the whole build, node by node, and there are three free starter workflows on the free workflows page to try before writing anything.

Why it belongs in this list. It is the only automation here with a deadline attached: invoices that are not booked by the quarter end cost money in a way a filled disk does not. It is also the one this site sells a pack for — eleven workflows, USD 49, no AI and no API key: Invoice Ledger (the n8n.io listing). The free starters are the honest sample; run one on your own invoices first.

The shape every one of these should share

PieceWhy
Schedule Trigger with an explicit timezoneA "daily" job that runs at the wrong hour is a job you will not trust
One condition, one messageTwo alerts for one problem halves the chance either is read
A number in the message"Disk 94%" is actionable; "disk problem" is not
A line written by the run itselfThe only evidence that survives n8n being down
Nothing destructive on a webhook triggerA reachable endpoint that deletes is a liability, not an automation

Honest limits

Troubleshooting

Sources

  1. n8n docs — Schedule Trigger node. Read 2026-10-22.
  2. n8n docs — HTTP Request node. Read 2026-10-22.
  3. n8n docs — Execute Command node (disabled by default from n8n 2.0; self-hosted only, not on n8n Cloud; with Docker the command runs in the n8n container). Read 2026-10-22.
  4. n8n docs — Nodes environment variables (NODES_EXCLUDE default list is n8n-nodes-base.executeCommand and n8n-nodes-base.localFileTrigger; "[]" enables all). Read 2026-10-22.

Version note: written against n8n 2.44.x, the line current on 2026-10-22. Node names and parameters can change between major versions; the documentation links above are the authority.