# Send Backlog Push Report

> Perform Send Backlog Push Report through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/send_backlog_push_report](https://genhealth.ai/docs/workflows/integrations/gen-health/send_backlog_push_report)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `send_backlog_push_report`

## Inputs

- `window_hours` — Window Hours (number)
  Optional numeric value.
  Default: `"24"`
- `start_date` — Start Date (text)
  Optional text value.
- `end_date` — End Date (text)
  Optional text value.
- `timezone` — Timezone (text)
  Optional text value.
  Default: `"America/New_York"`
- `to_emails` — To Emails (text)
  Optional text value.
- `cc_emails` — Cc Emails (text)
  Optional text value.
- `subject` — Subject (text)
  Optional text value.
  Default: `"{report_title} — {report_day}"`
- `report_title` — Report Title (text)
  Optional text value.
  Default: `"Backlog migration — daily push report"`
- `client_name` — Client Name (text)
  Optional text value.
- `billing_base_url` — Billing Base Url (text)
  Optional text value.
- `email_body` — Email Body (select)
  Optional selected identifier or value.
  Default: `"auto"`
  Options: Auto (detailed up to the threshold, then brief) ("auto"), Detailed (every document as a card) ("detailed"), Brief (counts + needs-a-person list; line items in the PDF) ("brief")
- `email_detail_threshold` — Email Detail Threshold (number)
  Optional numeric value.
  Default: `"25"`
- `attach_pdf` — Attach Pdf (boolean)
  Optional true-or-false value.
  Default: `"true"`
- `send_when_empty` — Send When Empty (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `output_path` — Output Path (text)
  Optional text value.

## Outputs

- `success` — Success
- `report_day` — Report Day
- `window_start` — Window Start
- `window_end` — Window End
- `window_label` — Window Label
- `subject` — Subject
- `recipients` — Recipients
- `email_sent` — Email Sent
- `skip_reason` — Skip Reason
- `output_path` — Output Path
- `pdf_attached` — Pdf Attached
- `email_mode` — Email Mode
- `total` — Total
- `migrated_count` — Migrated Count
- `needs_review_count` — Needs Review Count
- `not_migrated_count` — Not Migrated Count
- `tasks_opened` — Tasks Opened
- `html` — Html
- `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",
  "properties": {
    "dry_run": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "subject": {
      "type": "string",
      "default": "{report_title} — {report_day}",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "end_date": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "timezone": {
      "type": "string",
      "default": "America/New_York",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "cc_emails": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "to_emails": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "attach_pdf": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "email_body": {
      "enum": [
        "auto",
        "detailed",
        "brief"
      ],
      "type": "string",
      "default": "auto",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "start_date": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "client_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "output_path": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "report_title": {
      "type": "string",
      "default": "Backlog migration — daily push report",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "window_hours": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "send_when_empty": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "billing_base_url": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "email_detail_threshold": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "html": {},
    "error": {},
    "total": {},
    "subject": {},
    "success": {},
    "email_mode": {},
    "email_sent": {},
    "recipients": {},
    "report_day": {},
    "window_end": {},
    "output_path": {},
    "skip_reason": {},
    "pdf_attached": {},
    "tasks_opened": {},
    "window_label": {},
    "window_start": {},
    "migrated_count": {},
    "needs_review_count": {},
    "not_migrated_count": {}
  },
  "additionalProperties": true
}
```
