query Opportunity($id: String!) {
opportunity(id: $id) {
actualValue {
amount
currency
formatted
}
bookingLink {
assignedTo {
accessLevel
assignedBookingLinks {
__typename
}
avatarUrl
closeRate
dealsCount
email
}
averageDealSize {
amount
currency
formatted
}
averageDealSizeByCurrency {
amount
currency
formatted
}
conversionRate
createdAt
description
}
call {
actionItems
aiSummary
analysis {
analysisType
analyzedAt
buyerCertaintyIndex
call {
__typename
}
callJourney
closingScore
}
attribution
bookingLink {
assignedTo {
__typename
}
averageDealSize {
__typename
}
averageDealSizeByCurrency {
__typename
}
conversionRate
createdAt
description
}
calendarAttemptId
}
callStatus
closedAt
createdAt
}
}{
"id": "string"
}{
"data": {
"opportunity": {
"actualValue": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"bookingLink": {
"assignedTo": {
"accessLevel": "ADMIN",
"assignedBookingLinks": [
{
"__typename": "BookingLink"
}
],
"avatarUrl": "string",
"closeRate": "value",
"dealsCount": "value",
"email": "string"
},
"averageDealSize": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"averageDealSizeByCurrency": [
{
"amount": "value",
"currency": "string",
"formatted": "string"
}
],
"conversionRate": "value",
"createdAt": "string",
"description": "string"
},
"call": {
"actionItems": [
"string"
],
"aiSummary": "string",
"analysis": {
"analysisType": "string",
"analyzedAt": "string",
"buyerCertaintyIndex": "value",
"call": {
"__typename": "Call"
},
"callJourney": "value",
"closingScore": "value"
},
"attribution": "value",
"bookingLink": {
"assignedTo": {
"__typename": "User"
},
"averageDealSize": {
"__typename": "Money"
},
"averageDealSizeByCurrency": [
{
"__typename": "Money"
}
],
"conversionRate": "value",
"createdAt": "string",
"description": "string"
},
"calendarAttemptId": "string"
},
"callStatus": "cancelled",
"closedAt": "string",
"createdAt": "string"
}
}
}opportunity
Get a single opportunity by ID (the underlying booking call’s ID).
opportunity(id: String!): Opportunity!Arguments
Returns
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)
query Opportunity($id: String!) {
opportunity(id: $id) {
actualValue {
amount
currency
formatted
}
bookingLink {
assignedTo {
accessLevel
assignedBookingLinks {
__typename
}
avatarUrl
closeRate
dealsCount
email
}
averageDealSize {
amount
currency
formatted
}
averageDealSizeByCurrency {
amount
currency
formatted
}
conversionRate
createdAt
description
}
call {
actionItems
aiSummary
analysis {
analysisType
analyzedAt
buyerCertaintyIndex
call {
__typename
}
callJourney
closingScore
}
attribution
bookingLink {
assignedTo {
__typename
}
averageDealSize {
__typename
}
averageDealSizeByCurrency {
__typename
}
conversionRate
createdAt
description
}
calendarAttemptId
}
callStatus
closedAt
createdAt
}
}{
"id": "string"
}{
"data": {
"opportunity": {
"actualValue": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"bookingLink": {
"assignedTo": {
"accessLevel": "ADMIN",
"assignedBookingLinks": [
{
"__typename": "BookingLink"
}
],
"avatarUrl": "string",
"closeRate": "value",
"dealsCount": "value",
"email": "string"
},
"averageDealSize": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"averageDealSizeByCurrency": [
{
"amount": "value",
"currency": "string",
"formatted": "string"
}
],
"conversionRate": "value",
"createdAt": "string",
"description": "string"
},
"call": {
"actionItems": [
"string"
],
"aiSummary": "string",
"analysis": {
"analysisType": "string",
"analyzedAt": "string",
"buyerCertaintyIndex": "value",
"call": {
"__typename": "Call"
},
"callJourney": "value",
"closingScore": "value"
},
"attribution": "value",
"bookingLink": {
"assignedTo": {
"__typename": "User"
},
"averageDealSize": {
"__typename": "Money"
},
"averageDealSizeByCurrency": [
{
"__typename": "Money"
}
],
"conversionRate": "value",
"createdAt": "string",
"description": "string"
},
"calendarAttemptId": "string"
},
"callStatus": "cancelled",
"closedAt": "string",
"createdAt": "string"
}
}
}