Process automation suite · 2025

Fifteen workflows keeping three systems in sync

ShippedIndependent engineer

A lead landed in the CRM, in an email, and in accounting as three separate records that nobody reconciled. No single system held the truth; it only came together in one person's workflow.

The constraint

The client's CRM, mail, and ledger already existed. The work was to connect them, not to replace them with a fourth platform. A failed run has to be visible. A silent skip is worse than a loud error.

Built with

  • n8n
  • REST APIs
  • Webhooks

How it works

CRM, email, and accounting stay where they are. n8n is the bus. Each workflow has a happy path and an error path into a log.

Architectural calls and their cost

Every design choice, the operational pressure behind it, what it bought, and the ongoing maintenance cost.

  1. n8n as the bus

    The operators needed to pause a flow and see why it stopped. A custom daemon would have been mine to read and theirs to trust.

    I built fifteen visual workflows in n8n so the client’s operators can inspect every step, pause a queue, and read the execution history without reading daemon code.

    The cost: The runtime is a dependency, and fifteen flows are a surface to keep working.

  2. Webhooks and REST as they actually are

    Each system had its own API shape. A universal schema would have meant rewriting three integrations in order to move one field.

    Each tool keeps its native payload shape while the workflows map only the fields that move between them, leaving the client’s existing CRM and ledger schemas untouched.

    The cost: Field mapping lives in the workflow, so a field added upstream is a change in n8n.

  3. Error path on every flow

    A dead credential or a rejected write used to strand the record with nobody told. A loud failure is recoverable; a silent skip is not.

    Every workflow branches on HTTP 422s, timeouts, and expired tokens, writing the full payload into an error log for one-click retry without losing a lead or invoice.

    The cost: Roughly twice the work per flow: a happy path and an error path carrying enough context to retry.

  4. No hero dashboard

    The client did not ask for a UI. What they needed was a lead that still reached the ledger when nobody had a tab open.

    I skipped building a custom web dashboard and put the entire budget into the background sync and error logs, leaving zero frontend code to maintain.

    The cost: There is no screen to check, so success is only visible in the ledger and the run log.

Before this build, a new customer existed as three disconnected records across the CRM, the email platform, and the accounting ledger. Keeping them aligned depended on one operator remembering to update all three places whenever a deal stage changed or an invoice went out.

Replacing those three tools with an all-in-one platform would have disrupted the whole company. Instead, I put n8n between them as a message bus running fifteen targeted workflows over webhooks and REST APIs. Each workflow translates only the fields that need to cross between two systems and leaves the rest of the upstream schema untouched.

Because background automations rot when an API token expires or a validation rule rejects a field, every workflow carries an explicit failure branch. If the accounting API returns a 422 or times out, the workflow catches the error, writes the raw payload and failure reason to a run log, and alerts the operator so the record can be replayed once the credential or field is fixed. At handover, the client received all fifteen workflow JSON exports, a credential location map, and a runbook showing which flow to pause first during maintenance.

Current status and proof

Shipped. Leads and invoices now flow between CRM, email, and accounting automatically, and the three copies stay in step.

  • Fifteen workflows connect CRM, email, and accounting.
  • Every flow carries its own error path into a run log with enough context to retry the record.
  • The client's CRM, mail, and ledger stayed where they were; nothing was replaced.
  • Shipped. The record reaches the ledger with no tab open.

What was handed over

  1. Workflow exports
  2. Credential map (names and locations, not the secrets)
  3. What each flow does, and which one to pause first
  4. Where the error log lives and how to retry a dead item
Next project E-commerce data pipeline Daily competitor price scraper with isolated parsers