upsert_contact
Create or update contacts by channel and platform user ID; omitted fields stay unchanged for existing contacts, and new tags are added if missing.
Instructions
Create or update a contact. Upsert keyed by (channel, platform_user_id). 201 when created, 200 when an existing contact was updated. Fields you omit on an existing contact are left untouched, tags included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | Tag names, created if missing. | |
| No | |||
| notes | No | ||
| phone | No | ||
| stage | No | ||
| channel | Yes | ||
| custom_fields | No | ||
| platform_user_id | Yes |