custom_fields_create
Define a new custom field on contacts, companies, or deals. Use this when the user mentions tracking a piece of data the CRM doesn't have a built-in column for (e.g. "track each contact's loan amount", "add a 'referral source' field"). field_key is auto-generated from name (snake_case) unless provided. After creation, the field is immediately available as a {{cf.<field_key>}} merge tag in every email/SMS composer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human label, e.g. "Loan amount" or "Referral source". | |
| type | Yes | Field type. `select` requires the `options` array. | |
| options | No | For type=select only: the list of allowed values, e.g. ["Hot", "Warm", "Cold"]. | |
| fieldKey | No | Optional — explicit identifier (snake_case, ≤60 chars). Defaults to a slug of `name`. | |
| entityType | Yes | Which entity gets this custom field. |