Overview
With the Flixer API you can retrieve data for synchronization with external systems such as:- CRM systems
- Business Intelligence tools
- Google Sheets or Excel
- Zapier / Make automations
Available data
Retrieving leads
Retrieving work items
/leads, but returns work items that are further along in the process (scheduled, in progress, completed).
Synchronization strategies
Periodic sync
Poll the API at fixed intervals (e.g. every 5 minutes):Incremental sync
Keep track locally of which items you already have and filter onreceivedAt:
Example: Google Sheets
Synchronize leads to Google Sheets with Apps Script:Best practices
Cache responses where possible
Cache responses where possible
If you need the same data multiple times, cache the response locally instead of making repeated API calls.
Use idempotent upserts
Use idempotent upserts
Use the
id field as the unique key when synchronizing. Check whether an item already exists before adding it.Log sync results
Log sync results
Keep track of when you last synchronized and how many items were processed. This helps with debugging.
Handle errors gracefully
Handle errors gracefully
If a sync fails, log the error and try again later. Do not stop the entire sync because a single item fails.