create_or_update_contact
Create a new contact or update an existing one using a unique identifier. Matches by ID, email, or phone to keep contact data consistent.
Instructions
Create a contact if they do not exist, or update the existing contact. Uses the contact identifier to match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The contact's email address. | ||
| phone | No | The contact's phone number, including the country code (e.g., +60123456789). | |
| language | No | The contact's language code, based on the ISO 639-1 standard (e.g., 'en' for English). | |
| lastName | No | The last name of the contact. | |
| firstName | Yes | The first name of the contact. | |
| identifier | Yes | The contact's identifier. Can be the contact's ID, email, or phone number. | |
| custom_fields | No | An array of custom field objects, each with a name and value. |