Events
Data collections provide events for when records are created, updated, or deleted.
Event Types
created
- Triggered when a new record is createdupdated
- Triggered when an existing record is updateddeleted
- Triggered when a record is deleted
Implementation Types
Implementation Type | Description | When to Use | Documentation |
---|---|---|---|
Webhook ⭐ | Real-time event notifications via HTTP callbacks | External app supports webhooks | Webhook Events |
Pull Latest Records | Fetch records based on timestamps | API supports timestamp filtering, no webhooks | Pull Latest Implementation |
Custom Pull | Subscribe/pull with state management | API has delta/change tracking | Custom Pull Implementation |
Full Scan | Compare complete record snapshots | No other options available, small collections only | Full Scan Implementation |
⭐ Recommended - Choose webhook implementation whenever possible for best performance and real-time updates.
If event implementation is not provided, a full-scan
implementation will be used by default.
Data Collection Events Configuration Example
events:
created:
implementationType: webhook # or pull-latest, custom-pull, full-scan
updated:
implementationType: webhook
deleted:
implementationType: webhook
Updated 5 days ago