Workflows
Data Replication
The replication worker is responsible for mirroring your Uniconta data into your Chainbox environment. It uses a hybrid approach to ensure data is consistent without putting unnecessary load on the API.
How Data is Updated
The worker uses three specific methods to keep things current:
-
Hourly Full Sync: A standard refresh of core entities (Customers, Groups, Contacts, etc.) to ensure the local environment stays in parity with Uniconta.
-
Real-time Updates (Webhooks): For high-priority data like Products, Customers, and Price Lists, the worker listens for changes. When you update a record in Uniconta, the change is pushed to your database almost immediately.
-
Offset Tracking: For high-volume tables like Invoices and Inventory Transactions, the worker only fetches "new" records created since the last sync.
Technical Notes
-
Schema Automation: The worker handles schema generation. If you add "Extra Fields" (User-Defined Fields) to any Uniconta table, we can include it automaticly.
-
User-Defined Tables: Any custom tables you've built in Uniconta are supported.
-
Product Filtering: If you want to exclude specific products, from being replicated.