Flagship Project
Approval Automation · Approval Workflow
Northwind Office Solutions — Automated Purchase Approval Workflow
Northwind Office Solutions’ purchase approval process ran through scattered Slack messages and manual follow-ups — requests got lost, sign-offs were forgotten, and employees had no way to check status. I built a six-workflow system that routes every purchase request through Manager and Finance approval automatically, with a full audit trail and reminders for anything stuck.
Note: Self-directed simulation — Northwind Office Solutions is a fictional business; no real client was involved.
n8n
Airtable
Slack
Discord
Gmail
The Challenge
Northwind Office Solutions supplies office furniture and equipment to businesses. As the company grew, purchase requests grew with it — faster than the manual process could keep up. A request moved through a long manual chain: employee → Google Form → spreadsheet → Operations → Manager approval → Finance approval → Purchasing, with every handoff done by hand.
Approvals lived in easily-lost Slack messages, sign-offs were routinely forgotten, and there was no centralized way to track a request's status. Employees had no visibility into where their request stood, so they kept asking for updates instead of getting them automatically — adding even more manual work on top of an already overloaded process.
The Solution
I designed a relational Airtable schema and six cooperating n8n workflows, each covering one clear stage of the approval lifecycle so nothing depends on a single person remembering to act.
How it works
Intake & routing — new purchase requests are validated, checked for duplicates, and logged straight to Airtable with the requesting employee’s manager captured automatically.
Two-stage approval — every request routes through Manager approval first, then Finance approval, with every decision recorded to a full audit trail.
Reminders & escalation — a daily check flags requests stuck awaiting Manager or Finance sign-off past their threshold, so nothing sits untouched.
The Results
✦ Automatic Manager → Finance routing
Every purchase request moves through the correct approval chain without anyone chasing a sign-off.
✦ A complete audit trail
Every decision — approvals, rejections, and info requests — is logged automatically for full transparency.
✦ Stuck approvals get flagged automatically
Daily reminders and escalations mean no request is silently forgotten.
✦ Handles messy real-world requests, not just the happy path
Duplicate submissions, employees with no assigned manager, and requests with multiple line items are all caught and handled automatically — with an 8-case edge-case hardening pass built in.
✦ Employees can resolve stalled requests themselves
A dedicated self-service workflow lets employees update and resubmit a "needs more information" request on their own, instead of waiting on manual follow-up.
How It’s Built
This section is for the technically curious. If you just care about the results, you’ve already seen them above.
Trigger
n8n Form Trigger — Purchase Request Intake (14 fields: employee email, justification, up to 3 line items)
Database
Airtable — 5 relational tables (Departments, Employees, Purchase Requests, Line Items, Approval History)
Approval Routing
Two-stage Manager → Finance chain, with Finance approver looked up dynamically (never hardcoded)
Notifications
Slack (private DMs to approvers) + Discord (#operations channel for Ops alerts and escalations)
Gmail — 6 status-based templates routed through a Switch node (Submitted, Approved, Rejected, etc.)
Error Handling
Centralized Error Handler workflow registered across all 7 workflows, with Retry On Fail on every notification node
Logic
Code nodes for line-item splitting, plus a Limit node pattern to prevent multi-item branches from cascading downstream
Infrastructure
Self-hosted n8n via Docker — no n8n Cloud conveniences, so credentials, OAuth, and webhook limitations were configured and worked through manually
Key engineering decisions
Audit-safe approval snapshots
The Manager field on each Purchase Request is captured as a snapshot at submission time rather than a live link — so approval routing stays stable and auditable even if the org chart changes while a request is mid-approval.
Dynamic Finance routing
The Finance approver is looked up at runtime from Employees where Role = Finance and Active = true, instead of being hardcoded — since Finance approval is company-wide, not department-based, and this keeps the system correct as staff change.
Airtable linked-record handling
Airtable's linked-record fields always read and write as arrays of IDs, even for single links — writing a bare string into one throws an "expects an array" error. Every write into a linked field had to be wrapped correctly to account for this, which wasn't obvious until it broke.
Centralized error handling
Rather than adding error handling separately to each workflow, a single Error Handler workflow is registered as the "Error Workflow" for all 7 others — any failure anywhere triggers one centralized Discord alert, with Retry On Fail on the notification nodes most likely to hit transient API issues.
