> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Or Update Notification Contact

> Documentation for the Create Or Update Notification Contact action for Healthie

![images/healthie.svg](https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/healthie.svg?fit=max\&auto=format\&n=EU2WCxuXGIUQcziR\&q=85\&s=d168a24dbae69f2202ca63dd7aa2e1f3)

# Parameters

**Action** `Parameters`

**parameters**

**ID** `string`

`ID`
This field maps to the destination API `id` field.

**First Name** `string`

`PII`
This field maps to the destination API `first_name` field.

**Last Name** `string`

`PII`
This field maps to the destination API `last_name` field.

**Phone Number** `string`

`PII`
This field maps to the destination API `phone_number` field.

**Email** `string`

`PII`
This field maps to the destination API `email` field.

**Emergency** `bool`

This field maps to the destination API `emergency` field.

**Relationship** `string`

This field maps to the destination API `relationship` field.

**Notification Contact Array Index** `int64`

This field maps to the destination API `0..n notification contacts array index (default 0)` field.

```json Result Object Example theme={null}
{
  "$result_object_key": {
    "email_address": "john.doe@example.com",
    "first_name": "John",
    "id": "212012",
    "is_emergency_contact": true,
    "last_name": "Doe",
    "phone_number": "+15551234123",
    "relationship": "Caregiver"
  }
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": {
    "email_address": "Email address of the notification contact",
    "first_name": "First name of the notification contact",
    "id": "ID for the notification contact",
    "is_emergency_contact": "Whether the notification contact is an emergency contact",
    "last_name": "Last name of the notification contact",
    "phone_number": "Phone number of the notification contact",
    "relationship": "Relationship between the notification contact and the user"
  }
}
```

### Result Object Field Details

You can use the result of the action's data as inputs to downstream workflow actions.

Each fetch action requires an object name, which nests the action's result data inside the downstream data context in the workflow. See [Passing Data Between Actions](https://docs.morf.health/docs/knowledge_base/passing_data_between_actions.md) for how to set it and reference the result from downstream nodes.

Here we demonstrate how to refer to this data using the prefix `$result_object_key`.

**NotificationContact** `Fetch Action Response Object`

**fields**

**id** `string` *required*

ID for the notification contact

```json CEL theme={null}
$result_object_key.id
```

```json Example theme={null}
"212012"
```

**first\_name** `string`

First name of the notification contact

```json CEL theme={null}
$result_object_key.first_name
```

```json Example theme={null}
"John"
```

**last\_name** `string`

Last name of the notification contact

```json CEL theme={null}
$result_object_key.last_name
```

```json Example theme={null}
"Doe"
```

**email\_address** `string`

`PII` Email address of the notification contact

```json CEL theme={null}
$result_object_key.email_address
```

```json Example theme={null}
"john.doe@example.com"
```

**is\_emergency\_contact** `bool` *required*

Whether the notification contact is an emergency contact

```json CEL theme={null}
$result_object_key.is_emergency_contact
```

```json Example theme={null}
true
```

**phone\_number** `string`

`PII` Phone number of the notification contact

```json CEL theme={null}
$result_object_key.phone_number
```

```json Example theme={null}
"+15551234123"
```

**relationship** `string`

Relationship between the notification contact and the user

```json CEL theme={null}
$result_object_key.relationship
```

```json Example theme={null}
"Caregiver"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.