sdkDeterministic

Update crm contact

pipeline.updateCrmContact

Correct saved contact identity, company or title using the returned updatedAt timestamp. Does not research or send.

Parameters

workspaceId
string
No description.
prospectIdrequired
string
No description.
expectedUpdatedAtrequired
string
No description.
contactrequired
object
No description.

Example

TypeScripttypescript
await pipeline.updateCrmContact({
"prospectId": "00000000-0000-4000-8000-000000000000",
"expectedUpdatedAt": "2026-01-01T00:00:00.000Z",
"contact": {
"first_name": "Alex"
}
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"contact": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"linkedinUrl": {
"type": [
"string",
"null"
]
},
"firstName": {
"type": [
"string",
"null"
]
},
"lastName": {
"type": [
"string",
"null"
]
},
"fullName": {
"type": [
"string",
"null"
]
},
"companyName": {
"type": [
"string",
"null"
]
},
"jobTitle": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"conversionStage": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"workspaceId",
"updatedAt"
]
}
},
"required": [
"contact"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline