Work / Open source

n8n workflow examples

Four workflows you can read, import and run. Built for a made-up coffee roaster, tested, and published with the tests.

My part
Everything
When
November 2026
Status
Public, MIT licence

The problem

Almost all my work is private. A client's ERP is not something I can put on GitHub. So I built four workflows for a company that does not exist, Brasa Norte Coffee, the way I would build them for one that does.

What I built

A WhatsApp assistant that answers from the catalog in Spanish or English, saves order requests as leads and hands over to a human when the customer asks or when it does not know.

A money watcher that sends one alert a day per unanswered lead, stuck deal or late invoice, and never the same alert twice.

An invoice check that reads a supplier's PDF, turns it into data and compares it with the purchase order in plain code: prices within 2%, quantities, totals, duplicates.

An order workflow that reserves stock and works out what has to be roasted, including the weight lost in roasting. All or nothing: an order is never half reserved.

The rule in all four: the model handles language, code handles money and stock. Every workflow has an error path and a check for duplicates. The nodes that send mail or messages are there, switched off.

How it fits together

  1. Triggerwebhook, daily schedule
  2. Rules in codeduplicates, tolerances, all-or-nothing stock
  3. Modellanguage only, structured output
  4. Outcomeapproved or review queue, one status row per run, error workflow

What came out

Measured means counted in the code or the system. Estimated means my own estimate, with the assumption next to it.
Workflows4measured
Test files with real responses4measured, run 6 Nov 2026
Test cases for the invoice check10measured
LicenceMITmeasured

Each test file ends with a list of what I did not test.

Open the repository on GitHub

Built with

  • n8n
  • JavaScript
  • OpenAI API
  • Webhooks

Tell me what goes wrong on a normal Tuesday.

Book a 30-minute call

Thirty minutes, video or phone. You describe one process that costs you time. I ask questions and tell you honestly whether I would automate it, fix it first, or leave it alone. No slides.

Lima time, UTC-5. I reply within one working day, in English, Dutch or Spanish.

Open to remote roles and to projects.