# Send PO Upload Summary Email

> Perform Send PO Upload Summary Email through ClaimSoft.

Source: [https://genhealth.ai/docs/workflows/integrations/claim-soft/claimsoft_send_po_upload_summary_email](https://genhealth.ai/docs/workflows/integrations/claim-soft/claimsoft_send_po_upload_summary_email)

Integration: [ClaimSoft](https://genhealth.ai/docs/workflows/integrations/claim-soft.md)

- Handler: `claimsoft_send_po_upload_summary_email`

## Inputs

- `source_workflow_id` — Source Workflow Id (workflow_select)
  Optional selected identifier or value.
- `source_workflow_name` — Source Workflow Name (text)
  Optional text value.
- `trigger_payload` — Trigger Payload (expression)
  Optional literal value or workflow expression.
- `scheduled_run_at` — Scheduled Run At (expression)
  Optional literal value or workflow expression.
- `fallback_run_at` — Fallback Run At (expression)
  Optional literal value or workflow expression.
- `timezone` — Timezone (text)
  Optional text value.
  Default: `"America/Los_Angeles"`
- `lookback_hours` — Lookback Hours (number)
  Optional numeric value.
  Default: `24`
- `max_source_runs` — Max Source Runs (number)
  Optional numeric value.
  Default: `500`
- `to_emails` — To Emails (text, required)
  Required text value.
- `internal_dry_run_email_domains` — Internal Dry Run Email Domains (text)
  Optional text value.
  Default: `"genhealth.ai"`
- `subject` — Subject (text)
  Optional text value.
- `upload_node_id` — Upload Node Id (text)
  Optional text value.
  Default: `"upload_purchase_order_document"`
- `purchase_order_node_id` — Purchase Order Node Id (text)
  Optional text value.
  Default: `"select_purchase_order"`
- `unsafe_order_number_tokens` — Unsafe Order Number Tokens (text)
  Optional text value.
  Default: `"ROOT,REMAKE"`

## Outputs

- `success` — Success
- `status` — Status
- `successful_upload_count` — Successful Upload Count
- `order_numbers` — Order Numbers
- `window_start` — Window Start
- `window_end` — Window End
- `emailed_to` — Emailed To
- `html` — Html
- `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": [
    "to_emails"
  ],
  "properties": {
    "subject": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "timezone": {
      "type": "string",
      "default": "America/Los_Angeles",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "to_emails": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "lookback_hours": {
      "type": "number",
      "default": 24,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "upload_node_id": {
      "type": "string",
      "default": "upload_purchase_order_document",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "fallback_run_at": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_source_runs": {
      "type": "number",
      "default": 500,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "trigger_payload": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "scheduled_run_at": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source_workflow_id": {
      "type": "string",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "workflow_select"
    },
    "source_workflow_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "purchase_order_node_id": {
      "type": "string",
      "default": "select_purchase_order",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "unsafe_order_number_tokens": {
      "type": "string",
      "default": "ROOT,REMAKE",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "internal_dry_run_email_domains": {
      "type": "string",
      "default": "genhealth.ai",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "html": {},
    "error": {},
    "status": {},
    "success": {},
    "emailed_to": {},
    "window_end": {},
    "window_start": {},
    "order_numbers": {},
    "successful_upload_count": {}
  },
  "additionalProperties": true
}
```
