# Select Template Schedule Audit Candidates

> Perform Select Template Schedule Audit Candidates through Brightree.

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

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

- Handler: `brightree_select_template_schedule_audit_candidates`

- Connection type: `brightree`

## Inputs

- `account_key` — Account Key (text)
  Optional text value.
- `start_date` — Start Date (date)
  Optional date in YYYY-MM-DD format.
- `end_date` — End Date (date)
  Optional date in YYYY-MM-DD format.
- `max_candidates` — Max Candidates (number, required)
  Required numeric value.
  Default: `5000`

## Outputs

- `success` — Success
- `templates` — Templates
- `count` — Count
- `start_date` — Start Date
- `end_date` — End Date
- `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": [
    "max_candidates"
  ],
  "properties": {
    "end_date": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "account_key": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "max_candidates": {
      "type": "number",
      "default": 5000,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "message": {},
    "success": {},
    "end_date": {},
    "templates": {},
    "start_date": {}
  },
  "additionalProperties": true
}
```
