# Prepare Initial Renewal Send Schedule

> Perform Prepare Initial Renewal Send Schedule through GenHealth - Renewals.

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

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

- Handler: `renewal_prepare_initial_send_schedule`

## Inputs

- `scheduled_date` — Scheduled Date (date, required)
  Required date in YYYY-MM-DD format.
- `account_key` — Account Key (text)
  Optional text value.
- `lead_days` — Lead Days (number)
  Optional numeric value.
  Default: `62`
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`
- `use_local_agent` — Use Local Agent (boolean)
  Optional true-or-false value.
  Default: `false`
- `assignment_distribution_window_days` — Assignment Distribution Window Days (number)
  Optional numeric value.
  Default: `7`
- `trigger_payload` — Trigger Payload (json)
  Optional JSON value.

## Outputs

- `should_process` — Should Process
- `dry_run` — Dry Run
- `end_date` — End Date
- `start_date` — Start Date
- `account_key` — Account Key
- `use_local_agent` — Use Local Agent
- `assignment_plan_job_id` — Assignment Plan Job Id
- `assignment_distribution_window_days` — Assignment Distribution Window Days

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": [
    "scheduled_date"
  ],
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "lead_days": {
      "type": "number",
      "default": 62,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "account_key": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "scheduled_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "trigger_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "use_local_agent": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "assignment_distribution_window_days": {
      "type": "number",
      "default": 7,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "dry_run": {},
    "end_date": {},
    "start_date": {},
    "account_key": {},
    "should_process": {},
    "use_local_agent": {},
    "assignment_plan_job_id": {},
    "assignment_distribution_window_days": {}
  },
  "additionalProperties": true
}
```
