Opportunity
A booking call viewed as a deal.
Read-only projection: the underlying call joined to its lead and any linked
sale, with stage computed at read time by the shared pipeline-status
derivation — the same rules that drive the Opportunities pipeline in the
dashboard, so partners see the stage the team sees.
OpportunityFields
Money collected on this deal so far: the sum of its settled payments. A call recorded before deals sums every settled sale on it. Null until a payment is settled, or when the recorded currency is missing, invalid, or conflicting.
Scheduler the call was booked through
The underlying booking call, for transcript, analysis, closer, and the rest of the call graph.
Raw outcome status of the underlying call. Null when no outcome has been recorded yet.
When the deal closed: the latest settled payment's closed time, falling back to the call's end time. Null while the deal is open.
When the opportunity (booking call) was created (ISO 8601)
Expected deal value. Null when the amount or its currency was not recorded.
Unique identifier (the underlying booking call's ID)
The lead this deal is with. Null when the lead was deleted.
Every payment recorded on the deal, in order. A payment plan has one per
payment: what was paid when the deal closed, then each later payment with
its due date. A cancelled payment stays in the list with status
cancelled. This is the schedule as it stands now; the call.closed
webhook carries it as it was at close and is not sent again when payments
change. Empty when no sale is recorded.
When the call is/was scheduled (ISO 8601)
Derived pipeline stage, computed at read time from the lead's call history (disqualification, upcoming bookings, most recent past outcome, qualification signals, stored status fallback).
When the underlying call was last updated (ISO 8601)