# Select Facility Document Candidates

> Perform Select Facility Document Candidates through MyForms.

Source: [https://genhealth.ai/docs/workflows/integrations/my-forms/myforms_select_facility_document_candidates](https://genhealth.ai/docs/workflows/integrations/my-forms/myforms_select_facility_document_candidates)

Integration: [MyForms](https://genhealth.ai/docs/workflows/integrations/my-forms.md)

- Handler: `myforms_select_facility_document_candidates`

## Inputs

- `account_key` — Account Key (text, required)
  Required text value.
  Default: `"soundview_intake"`
- `from_date` — From Date (text, required)
  Required text value.
  Default: `"09/03/2026"`
- `max_candidates` — Max Candidates (number, required)
  Required numeric value.
  Default: `10`
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`
- `trigger_payload` — Trigger Payload (json)
  Optional JSON value.

## Outputs

- `success` — Success
- `items` — Items
- `candidate_count` — Candidate Count
- `source_rows_scanned` — Source Rows Scanned
- `handled_skipped` — Handled Skipped
- `pending_retry_skipped` — Pending Retry Skipped
- `unreadable_skipped` — Unreadable Skipped
- `max_candidates` — Max Candidates
- `dry_run` — Dry Run
- `account_key` — Account Key
- `from_date` — From Date
- `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",
  "required": [
    "account_key",
    "from_date",
    "max_candidates"
  ],
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "from_date": {
      "type": "string",
      "default": "09/03/2026",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "account_key": {
      "type": "string",
      "default": "soundview_intake",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "max_candidates": {
      "type": "number",
      "default": 10,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    },
    "trigger_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "items": {},
    "dry_run": {},
    "success": {},
    "from_date": {},
    "account_key": {},
    "max_candidates": {},
    "candidate_count": {},
    "handled_skipped": {},
    "unreadable_skipped": {},
    "source_rows_scanned": {},
    "pending_retry_skipped": {}
  },
  "additionalProperties": true
}
```
