# Reconcile Template Schedule

> Perform Reconcile Template Schedule through Brightree.

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

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

- Handler: `brightree_reconcile_template_schedule`

- Connection type: `brightree`

## Inputs

- `template` — Template (expression, required)
  Required literal value or workflow expression.
- `account_key` — Account Key (text)
  Optional text value.
- `max_attempts` — Max Attempts (number, required)
  Required numeric value.
  Default: `3`
- `retry_delay_seconds` — Retry Delay Seconds (number, required)
  Required numeric value.
  Default: `5`

## Outputs

- `success` — Success
- `outcome_category` — Outcome Category
- `audit_outcome` — Audit Outcome
- `template_key` — Template Key
- `source_sales_order_key` — Source Sales Order Key
- `previous_next_run_date` — Previous Next Run Date
- `expected_next_run_date` — Expected Next Run Date
- `attempts` — Attempts
- `manual_review_required` — Manual Review Required
- `manual_review_marked` — Manual Review Marked
- `reason` — Reason
- `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": [
    "template",
    "max_attempts",
    "retry_delay_seconds"
  ],
  "properties": {
    "template": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "account_key": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "max_attempts": {
      "type": "number",
      "default": 3,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    },
    "retry_delay_seconds": {
      "type": "number",
      "default": 5,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "reason": {},
    "success": {},
    "attempts": {},
    "template_key": {},
    "audit_outcome": {},
    "outcome_category": {},
    "manual_review_marked": {},
    "expected_next_run_date": {},
    "manual_review_required": {},
    "previous_next_run_date": {},
    "source_sales_order_key": {}
  },
  "additionalProperties": true
}
```
