# Extract Consignment Source Location

> Perform Extract Consignment Source Location through Consignment Intake.

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

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

- Handler: `extract_consignment_source_location`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `email_location_name` — Email Location Name (expression)
  Optional literal value or workflow expression.
- `email_body_location_name` — Email Body Location Name (expression)
  Optional literal value or workflow expression.

## Outputs

- `outcome` — Outcome
- `mapping_id` — Mapping Id
- `configured_business_address` — Configured Business Address
- `configured_location_name` — Configured Location Name
- `matched_source` — Matched Source
- `warehouse_id` — Warehouse Id
- `warehouse_name` — Warehouse Name
- `warehouse_number` — Warehouse Number
- `resolved` — Resolved

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

### Output schema

```json
{
  "type": "object",
  "properties": {
    "outcome": {},
    "resolved": {},
    "mapping_id": {},
    "warehouse_id": {},
    "matched_source": {},
    "warehouse_name": {},
    "warehouse_number": {},
    "configured_location_name": {},
    "configured_business_address": {}
  },
  "additionalProperties": true
}
```
