Event Type for Webhooks
You can configure webhooks to send notifications triggered by item-specific events. For example, every time a new item is created. You can choose from the following four event types:
- Item Saved (ItemSavedEvent) — when a new item is created (ItemCreatedEvent) or an existing item is updated (ItemUpdatedEvent). This is the default event type.
- Item Created (ItemCreatedEvent) — only when a new item is created.
- Item Updated (ItemUpdatedEvent) — only when an item is updated.
- Item Deleted (ItemDeletedEvent) — when an item is deleted.
Webhook events are consolidated and sent to their respective webhook configurations based on the following rules:
- Webhook Configurations Exist for Item Created, Item Updated, and Item Saved Events
- Rule 1 — when an ItemCreatedEvent is followed by an ItemUpdatedEvent within the configured timeframe, only the ItemCreatedEvent with the final state is sent to the Created webhook configuration. The ItemSavedEvent (of EventType: Created) with the final state is sent to the Saved webhook configuration.
- Valid Webhook Configurations Exist for Both a Parent Item Type and a Child Item Type
- When an event occurs for a parent item type followed by an event for a child item type, only the child event is sent to the child webhook without modification.