# Append Order Note

> Perform Append Order Note through Brightree.

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

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

- Handler: `brightree_append_order_note`

- Connection type: `brightree`

## Inputs

- `sales_order_key` — Sales Order Key (expression)
  Optional literal value or workflow expression.
- `note_text` — Note Text (textarea)
  Optional text value.
- `condition_value` — Condition Value (expression)
  Optional literal value or workflow expression.
- `condition_expected_value` — Condition Expected Value (text)
  Optional text value.
- `guard_value` — Guard Value (expression)
  Optional literal value or workflow expression.
- `guard_expected_value` — Guard Expected Value (text)
  Optional text value.
- `guard_label` — Guard Label (text)
  Optional text value.
- `skip_if_present_text` — Skip If Present Text (text)
  Optional text value.
- `order_lease` — Order Lease (json)
  Optional JSON value.
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `status` — Status
- `attempted` — Attempted
- `updated` — Updated
- `already_present` — Already Present
- `sales_order_key` — Sales Order Key
- `note_text` — Note Text
- `reason` — Reason
- `message` — Message
- `order_lease` — Order Lease
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "note_text": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "guard_label": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "guard_value": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_lease": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "condition_value": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "sales_order_key": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "guard_expected_value": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "skip_if_present_text": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "condition_expected_value": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "reason": {},
    "status": {},
    "message": {},
    "success": {},
    "updated": {},
    "attempted": {},
    "note_text": {},
    "order_lease": {},
    "already_present": {},
    "sales_order_key": {}
  },
  "additionalProperties": true
}
```
