create_or_update_user
Creates a new user or updates an existing one by matching email or external ID, ensuring no duplicate users.
Instructions
WRITE: Create a user, or update it if one already exists with the same email or external_id (POST /api/v2/users/create_or_update). Idempotent: cannot create duplicates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| role | No | ||
| Yes | |||
| phone | No | ||
| external_id | No | Unique ID from an external system, used for matching | |
| organization_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||