Skip to main content

deal.closed

What this event means

Klipy never sends a webhook with type: "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

There is no 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_id for dedupe and as the immutable entity reference.
  • Detect a close by checking whether data.newStageId equals CLOSED_WON or CLOSED_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.
Last modified on September 14, 2026