# Create Doctor from NPI Registry

> Perform Create Doctor from NPI Registry through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_create_doctor_from_npi_registry](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_create_doctor_from_npi_registry)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_create_doctor_from_npi_registry`

- Connection type: `brightree`

## Inputs

- `first_name` — First Name (expression, required)
  Required literal value or workflow expression.
- `last_name` — Last Name (expression, required)
  Required literal value or workflow expression.
- `npi` — Npi (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `message` — Message
- `doctor_key` — Doctor Key
- `doctor_name` — Doctor Name
- `created` — Created
- `pecos_verified` — Pecos Verified
- `error` — Error
- `error_message` — Error Message

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

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "created": {},
    "message": {},
    "success": {},
    "doctor_key": {},
    "doctor_name": {},
    "error_message": {},
    "pecos_verified": {}
  },
  "additionalProperties": true
}
```
