deal.closed
What this event means
Klipy never sends a webhook withtype: "deal.closed". Closing a deal moves it into the pipeline’s Closed Won or Closed Lost stage, which fires the same internal deal.stage_changed event as any other stage move. That event reaches your endpoint as type: "deal.moved". Detect a close by inspecting data.newStageId on that event.
Webhook type
There is no deal.closed type. Deal-close notifications use deal.moved — see deal.moved for the complete payload reference.
How to detect a close inside deal.moved
Internal source mapping
Payload example
won field, cycle_length field, or days_diff_from_estimate field in this payload. Derive the outcome from data.newStageId instead.
Delivery and idempotency handling
- Use
data.deal_idfor dedupe and as the immutable entity reference. - Detect a close by checking whether
data.newStageIdequalsCLOSED_WONorCLOSED_LOST— Klipy does not send a distinct event type for this. - If your system needs closed-at timing, store your own timestamp when you first receive the event. See Webhook delivery, errors, and retries for retry behavior.
Related links
deal.moved— full payload reference for the event that carries deal-close notifications.- Webhook introduction
- Webhook event types