Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Dokumente, PDF & OCR

Dokumente, PDF & OCR

Reconcile CRM and invoicing owner fields with HTTPS APIs and Data Tables

When an API call/webhook arrives, it reads and extracts data from documents using Data Table.

Was sie bewirkt

## Reconcile CRM and invoicing fields ### How it works 1. Accepts an authenticated entity reference; separate source credentials determine which system owns the change. 2. Reads the current CRM and invoice records through your normalized REST adapters and compares only the source-owned fields. 3. Stops on missing records, tombstones or unresolved journal entries; unchanged fields need no write. 4. Verifies a minimal durable intent, rechecks the source, and applies a conditional per-field PATCH to the existing target. 5. Confirms the provider write marker and reads the target again before recording the applied result. ### Setup steps - [ ] Create Reconciliation_Journal with the documented column schema and select it in all three Data Table nodes. - [ ] Configure distinct CRM and invoice source tokens and HTTPS adapter base URLs in n8n Variables. - [ ] Attach each adapter's Header Auth credential to its four HTTP nodes. - [ ] Implement the documented snapshot, strong ETag, conditional PATCH and idempotency contract in both adapters. - [ ] Serialize this lane and test both directions, unchanged replay, conflict and uncertain writes before activation. ### Customization Map your provider fields to the fixed ownership policy and call the webhook from source-system events or your scheduler. The workflow does not create invoices or revive deleted records. Unknown write outcomes require manual reconciliation; raw business values are excluded from the journal.

Die Schritte

  1. Reconciliation Webhook
  2. Authenticate Reconciliation Source
  3. Source Authorized?
  4. Reject Source Authentication
  5. Validate Reconciliation Request
  6. Reconciliation Request Valid?
  7. Respond Reconciliation Decision
  8. Find Entity Reconciliation Journal
  9. Check Reconciliation Journal
  10. Journal Clear?
  11. Read Current CRM Record
  12. Read Current Invoice Record
  13. Plan Owner Field Patch
  14. Owner Fields Differ?

Insgesamt 34 Schritte.

Ähnliche Automatisierungen