Step-by-step guide on how to continuously sync data from an API (using a sync template).
modifiedAfter
timestamp from the webhook payload as a parameter in your request to fetch only the modified records.
_nango_metadata.cursor
. Nango uses cursors internally to keep a chronological list of record modifications.
Each time you fetch records, you should store the cursor
of the last record you fetched to remember how far you’ve synced (for each connection & sync combination).
The next time you fetch records, pass in the cursor of the last-fetched record to only receive records modified after that record: