# Update CMN

> Perform Update CMN through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_update_cmn](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_update_cmn)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_update_cmn`

- Connection type: `brightree`

## Inputs

- `cmn_key` — Cmn Key (expression, required)
  Required literal value or workflow expression.
- `cmn_form_key` — Cmn Form Key (expression, required)
  Required literal value or workflow expression.
- `initial_date` — Initial Date (date, required)
  Required date in YYYY-MM-DD format.
- `recertification_date` — Recertification Date (date, required)
  Required date in YYYY-MM-DD format.
- `length_of_need_months` — Length Of Need Months (number, required)
  Required numeric value.
- `signature_date` — Signature Date (date, required)
  Required date in YYYY-MM-DD format.
- `expiration_date` — Expiration Date (date)
  Optional date in YYYY-MM-DD format.

## Outputs

- `success` — Success
- `updated` — Updated
- `noop` — Noop
- `cmn_key` — Cmn Key
- `cmn_form_key` — Cmn Form Key
- `cmn_initial_date` — Cmn Initial Date
- `cmn_recertification_date` — Cmn Recertification Date
- `cmn_length_of_need_months` — Cmn Length Of Need Months
- `cmn_expiration` — Cmn Expiration
- `cmn_signature_date` — Cmn Signature Date
- `mismatches` — Mismatches
- `message` — Message
- `error` — Error

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": [
    "cmn_key",
    "cmn_form_key",
    "initial_date",
    "recertification_date",
    "length_of_need_months",
    "signature_date"
  ],
  "properties": {
    "cmn_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "cmn_form_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "initial_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "signature_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "expiration_date": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "recertification_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "length_of_need_months": {
      "type": "number",
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "noop": {},
    "error": {},
    "cmn_key": {},
    "message": {},
    "success": {},
    "updated": {},
    "mismatches": {},
    "cmn_form_key": {},
    "cmn_expiration": {},
    "cmn_initial_date": {},
    "cmn_signature_date": {},
    "cmn_recertification_date": {},
    "cmn_length_of_need_months": {}
  },
  "additionalProperties": true
}
```
