> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmembrane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Events

Data collections provide events for when records are created, updated, or deleted.

## Event Types

* `created` - Triggered when a new record is created
* `updated` - Triggered when an existing record is updated
* `deleted` - 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](/reference/workspace-elements/external-events/webhook)                                                                 |
| **Pull Latest Records** | Fetch records based on timestamps                | API supports timestamp filtering, no webhooks      | [Pull Latest Implementation](/reference/workspace-elements/data-collections/data-collection-events/data-collection-events-pull-latest)s |
| **Custom Pull**         | Subscribe/pull with state management             | API has delta/change tracking                      | [Custom Pull Implementation](/reference/workspace-elements/data-collections/data-collection-events/data-collection-events-custom-pull)  |
| **Full Scan**           | Compare complete record snapshots                | No other options available, small collections only | [Full Scan Implementation](/reference/workspace-elements/data-collections/data-collection-events/data-collection-events-full-scan)      |

⭐ **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

```yaml theme={null}
events:
  created:
    implementationType: webhook # or pull-latest, custom-pull, full-scan
  updated:
    implementationType: webhook
  deleted:
    implementationType: webhook
```

<br />

## Configuring Intervals

The [custom pull](/reference/workspace-elements/data-collections/data-collection-events/data-collection-events-pull-latest) and [pull-latest records](/reference/workspace-elements/data-collections/data-collection-events/data-collection-events-pull-latest) implementation types use a default interval of **300 seconds**, while **Full scan** uses a default interval of **10,800 seconds**.

These intervals can be configured at either the **trigger node level** (when a data source is not used) or the **data source level**(when a data source is used) using the **pull update interval** and **full sync interval** options.

Refer to the [limits page](/docs/managing-membrane/limits#external-event-pulls) to see the minimum allowed interval.

<Frame>
  <img src="https://files.readme.io/f2073d3bc34c1fadce307a69fad23ee5cc0b6bbbdc5407e3ce0e8bf6dff13c9f-Screenshot_2026-01-13_at_15.59.11.png" alt="Events illustration" />
</Frame>
