Mutation
mutation CallUpdateOutcome($id: String!, $status: CallStatusInput!) {
callUpdateOutcome(id: $id, status: $status) {
call {
actionItems
aiSummary
analysis {
analysisType
analyzedAt
buyerCertaintyIndex
call {
__typename
}
callJourney
closingScore
}
attribution
bookingLink {
assignedTo {
__typename
}
averageDealSize {
__typename
}
averageDealSizeByCurrency {
__typename
}
conversionRate
createdAt
description
}
calendarAttemptId
}
userErrors {
code
field
message
}
}
}Variables
{
"id": "string",
"status": "cancelled"
}Response
{
"data": {
"callUpdateOutcome": {
"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"
},
"userErrors": [
{
"code": "string",
"field": [
"string"
],
"message": "string"
}
]
}
}
}Mutations
callUpdateOutcome
Update call outcome with status and optional notes.
Sends the same webhook as REST: `call.completed` for a completed outcome and `call.no_show` for a no-show. Setting `cancelled` runs the booking cancellation flow, which emits the cancellation event. Outcome notes stay private. Rescheduling has its own endpoint. Nothing is sent when nothing was saved.
@example ```graphql
mutation {
callUpdateOutcome(id: "call_id", status: closed, notes: "Deal won") {
call {
id
status
callNotes
}
userErrors {
message
field
code
}
}
}
```
MUTATION
callUpdateOutcome(expectedStatus: CallStatus, id: String!, notes: String, status: CallStatusInput!): CallUpdatePayload!Arguments
expectedStatus
The status you last read on the call, or null if it had none. If the call no longer has it, nothing is saved and userErrors returns code CALL_STATUS_CHANGED on field expectedStatus. Exception: if the call already has the outcome you sent and you sent no notes, the mutation succeeds, saves nothing and sends no webhook. Leave it out, or send the status the call still has, and the outcome is saved and the webhook sent as before.
id
String!
required
notes
String
status
required
Returns
call
userErrors
[UserError!]!
Mutation
mutation CallUpdateOutcome($id: String!, $status: CallStatusInput!) {
callUpdateOutcome(id: $id, status: $status) {
call {
actionItems
aiSummary
analysis {
analysisType
analyzedAt
buyerCertaintyIndex
call {
__typename
}
callJourney
closingScore
}
attribution
bookingLink {
assignedTo {
__typename
}
averageDealSize {
__typename
}
averageDealSizeByCurrency {
__typename
}
conversionRate
createdAt
description
}
calendarAttemptId
}
userErrors {
code
field
message
}
}
}Variables
{
"id": "string",
"status": "cancelled"
}Response
{
"data": {
"callUpdateOutcome": {
"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"
},
"userErrors": [
{
"code": "string",
"field": [
"string"
],
"message": "string"
}
]
}
}
}