# List Pending Documents

> Perform List Pending Documents through ProviderFlow.

Source: [https://genhealth.ai/docs/workflows/integrations/provider-flow/providerflow_list_pending_documents](https://genhealth.ai/docs/workflows/integrations/provider-flow/providerflow_list_pending_documents)

Integration: [ProviderFlow](https://genhealth.ai/docs/workflows/integrations/provider-flow.md)

- Handler: `providerflow_list_pending_documents`

- Connection type: `providerflow`

## Inputs

- `source` — Source (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `status` — Status (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `created_by` — Created By (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `assigned_to` — Assigned To (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `description_text` — Description Text (expression)
  Optional literal value or workflow expression.
- `selected_page` — Selected Page (number)
  Optional numeric value.

## Outputs

- `success` — Success
- `documents` — Documents
- `count` — Count
- `current_page` — Current Page
- `total_pages` — Total Pages
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "status": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "created_by": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "assigned_to": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "selected_page": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "description_text": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "success": {},
    "documents": {},
    "total_pages": {},
    "current_page": {}
  },
  "additionalProperties": true
}
```
