# Persist Consignment Intake Records

> Perform Persist Consignment Intake Records through Consignment Intake.

Source: [https://genhealth.ai/docs/workflows/integrations/consignment-intake/persist_consignment_intake_records](https://genhealth.ai/docs/workflows/integrations/consignment-intake/persist_consignment_intake_records)

Integration: [Consignment Intake](https://genhealth.ai/docs/workflows/integrations/consignment-intake.md)

- Handler: `persist_consignment_intake_records`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `extracted_fields` — Extracted Fields (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `patient_written` — Patient Written
- `insurance_written` — Insurance Written
- `order_written` — Order Written
- `error_kind` — Error Kind

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": [
    "document_id",
    "extracted_fields"
  ],
  "properties": {
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "extracted_fields": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "success": {},
    "error_kind": {},
    "order_written": {},
    "patient_written": {},
    "insurance_written": {}
  },
  "additionalProperties": true
}
```
