# Poll Service Requests

> Perform Poll Service Requests through Epic CareLink.

Source: [https://genhealth.ai/docs/workflows/integrations/epic-care-link/epic_poll_service_requests](https://genhealth.ai/docs/workflows/integrations/epic-care-link/epic_poll_service_requests)

Integration: [Epic CareLink](https://genhealth.ai/docs/workflows/integrations/epic-care-link.md)

- Handler: `epic_poll_service_requests`

- Connection type: `epic_carelink`

## Inputs

- `max_pages` — Max Pages (number, required)
  Required numeric value.
  Default: `50`
- `max_requests` — Max Requests (number, required)
  Required numeric value.
  Default: `40`

## Outputs

- `success` — Success
- `outcome` — Outcome
- `pages_read` — Pages Read
- `requests_listed` — Requests Listed
- `duplicates_removed` — Duplicates Removed
- `skipped_missing_external_id` — Skipped Missing External Id
- `deferred_count` — Deferred Count
- `staged_complete_count` — Staged Complete Count
- `staged_partial_count` — Staged Partial Count
- `preserved_packet_count` — Preserved Packet Count
- `attachment_download_count` — Attachment Download Count
- `attachment_browser_page_count` — Attachment Browser Page Count
- `attachment_current_frame_pdf_count` — Attachment Current Frame Pdf Count
- `attachment_portal_popup_count` — Attachment Portal Popup Count
- `retryable_failure_count` — Retryable Failure Count
- `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_pages",
    "max_requests"
  ],
  "properties": {
    "max_pages": {
      "type": "number",
      "default": 50,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    },
    "max_requests": {
      "type": "number",
      "default": 40,
      "description": "Required numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "outcome": {},
    "success": {},
    "pages_read": {},
    "deferred_count": {},
    "requests_listed": {},
    "duplicates_removed": {},
    "staged_partial_count": {},
    "staged_complete_count": {},
    "preserved_packet_count": {},
    "retryable_failure_count": {},
    "attachment_download_count": {},
    "skipped_missing_external_id": {},
    "attachment_browser_page_count": {},
    "attachment_portal_popup_count": {},
    "attachment_current_frame_pdf_count": {}
  },
  "additionalProperties": true
}
```
