upsert_lead
Create or update a lead by matching externalId, keeping CRM records in sync without duplicates.
Instructions
Create a lead, or update the one with the same externalId.
Requires scope leads:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| No | |||
| notes | No | ||
| phone | No | ||
| stage | No | ||
| value | No | In cents | |
| source | No | ||
| company | No | ||
| metadata | No | ||
| externalId | No | ID in your CRM; POST upserts on it | |
| description | No |