Create or update contact
upsert_contactCreate a contact or update one by ID; review a preview and confirm before changes are saved.
Instructions
Create a contact, or update one when contact_id is given (only provided fields change). TWO-STEP: the first call (no confirm_token) only returns a preview and a confirm_token; nothing is written. Show the preview to the user, and only after they approve call again with the same arguments plus confirm_token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | ||
| No | |||
| notes | No | ||
| phone | No | ||
| company | No | ||
| contact_id | No | ||
| confirm_token | No | Omit on the first call to get a preview. Pass the token from the preview (with identical arguments) to apply the change. |