← All work

Shopify × Daftra Accounting Integration

A large n8n workflow that keeps Daftra accounting in step with a Shopify Plus store — invoicing and payment synchronisation without manual entry.

Start a similar project
Industry
Business automation
Platforms involved
n8n, Shopify
My role
Designed and built the n8n workflow
Shopify × Daftra Accounting Integration — n8n workflow screenshot
Open the full-size workflow screenshot

Overview

One production n8n workflow ("All Integration with Daftara") connects the Shopify store to Daftra, the accounting system. Store activity is sent to n8n, transformed into Daftra's format and written to Daftra, so invoices and payments appear in accounting without being typed in again. The screenshot is a successful run from the execution log.

Business problem

Every online order also had to exist in the accounting system. Entering invoices and payments in Daftra by hand meant duplicate work, delays and the risk of totals not matching the store.

Solution architecture

A webhook-driven n8n workflow with many branches: it normalises the Shopify data, checks what already exists in Daftra before writing, creates or updates the records, and records invoices and payments through the Daftra API.

Shopify order
n8n · normalise data
Find in Daftra
Create or update records
Invoice & payment in Daftra
Respondlog

Workflow steps

  1. 01

    Shopify sends the order event to an n8n webhook.

  2. 02

    Code nodes normalise customer, line-item and payment data.

  3. 03

    The workflow checks Daftra for existing records before creating anything.

  4. 04

    Missing records are created; existing ones are reused or updated.

  5. 05

    The invoice and its payment are written to Daftra.

  6. 06

    Branches handle the different order and payment cases, and each run ends with a response.

Key automation features

  • Single workflow covering the Shopify → Daftra sync
  • Look-up before write to avoid duplicate records
  • Invoice and payment synchronisation
  • Branching for different order and payment cases
  • Full execution history in n8n for every run

Business benefits

  • Invoices and payments reach accounting without manual entry
  • One source of truth: accounting follows the store
  • Every run is visible and traceable in the n8n execution log

Technologies

DaftraJavaScriptn8nWebhooks

Status

In production — the screenshot is a successful execution from the n8n log.

Related projects

Let's talk

Have a store, a checkout or a workflow that needs fixing?

Tell me what the business needs. I'll reply with a clear plan, the stack and a quote.

Start a project WhatsApp