# Set Preferred Contact

> Perform Set Preferred Contact through Essette.

Source: [https://genhealth.ai/docs/workflows/integrations/essette/essette_set_preferred_contact](https://genhealth.ai/docs/workflows/integrations/essette/essette_set_preferred_contact)

Integration: [Essette](https://genhealth.ai/docs/workflows/integrations/essette.md)

- Handler: `essette_set_preferred_contact`

- Connection type: `essette`

## Inputs

- `essette_account_id` — Essette Account Id (select, required, dynamic options)
  Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
  Default: `"primary"`
- `auth_id` — Auth Id (expression, required)
  Required literal value or workflow expression.
- `contact_name` — Contact Name (expression, required)
  Required literal value or workflow expression.
- `email` — Email (expression)
  Optional literal value or workflow expression.
- `phone` — Phone (expression)
  Optional literal value or workflow expression.
- `phone_extension` — Phone Extension (expression)
  Optional literal value or workflow expression.
- `fax` — Fax (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `auth_id` — Auth Id
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "essette_account_id",
    "auth_id",
    "contact_name"
  ],
  "properties": {
    "fax": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "email": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "phone": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "auth_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "contact_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "phone_extension": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "essette_account_id": {
      "type": "string",
      "default": "primary",
      "description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "auth_id": {},
    "success": {},
    "error_message": {}
  },
  "additionalProperties": true
}
```
