sdkDeterministic

Create crm contact

pipeline.createCrmContact

Create one workspace CRM contact without a campaign or sending. Choose an explicit existing CRM stage; does not infer interest or connection. Contact fields accept canonical and common company/title aliases. Duplicate LinkedIn identities return the existing contact unchanged.

Parameters

workspaceId
string
No description.
linkedinUrlrequired
string
No description.
stagerequired
string
No description.
contactrequired
object
No description.
customFields
object
No description.

Example

TypeScripttypescript
await pipeline.createCrmContact({
"linkedinUrl": "https://example.com",
"stage": "example",
"contact": {}
})

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"
]
},
"created": {
"type": "boolean"
}
},
"required": [
"contact",
"created"
]
}

Exceptions

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