> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAutomationDialogRecipientsProps

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/shared/slots/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Members shared by both automation dialogs' recipients regions.

**Signature:**

```typescript
export interface IAutomationDialogRecipientsProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [allowEmptySelection?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsallowemptyselection) |  | boolean | **_(BETA)_** _(Optional)_ Allows removing the last recipient. |
| [allowExternalRecipients?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsallowexternalrecipients) |  | boolean | **_(BETA)_** _(Optional)_ Allows recipients that are not workspace users. |
| [allowOnlyLoggedUserRecipients?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsallowonlyloggeduserrecipients) |  | boolean | **_(BETA)_** _(Optional)_ Restricts the selection to the logged-in user. |
| [externalRecipientOverride?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsexternalrecipientoverride) |  | string | **_(BETA)_** _(Optional)_ When set, the only addable recipient is this external address. |
| [loggedUser?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsloggeduser) |  | [IAutomationRecipient](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iautomationrecipient/index.md) | **_(BETA)_** _(Optional)_ The logged-in user as a recipient candidate. |
| [maxRecipients?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsmaxrecipients) |  | number | **_(BETA)_** _(Optional)_ Maximum number of recipients. |
| [notificationChannelId?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsnotificationchannelid) |  | string | **_(BETA)_** _(Optional)_ Id of the automation's currently selected notification channel. |
| [notificationChannels?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsnotificationchannels) |  | [INotificationChannelIdentifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.inotificationchannelidentifier/index.md)[] \| [INotificationChannelMetadataObject](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.inotificationchannelmetadataobject/index.md)[] | **_(BETA)_** _(Optional)_ Notification channels, used to derive channel-specific recipient constraints. |
| [onChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsonchange) |  | (recipients: [IAutomationRecipient](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iautomationrecipient/index.md)[]) =&gt; void | **_(BETA)_** Replaces the selection with the complete updated array. |
| [value](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogrecipientsprops/index.md#iautomationdialogrecipientspropsvalue) |  | [IAutomationRecipient](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iautomationrecipient/index.md)[] | **_(BETA)_** Currently selected recipients. |

## Property details

### IAutomationDialogRecipientsProps.allowEmptySelection

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Allows removing the last recipient.

**Signature:**

```typescript
allowEmptySelection?: boolean;
```

### IAutomationDialogRecipientsProps.allowExternalRecipients

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Allows recipients that are not workspace users.

**Signature:**

```typescript
allowExternalRecipients?: boolean;
```

### IAutomationDialogRecipientsProps.allowOnlyLoggedUserRecipients

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Restricts the selection to the logged-in user.

**Signature:**

```typescript
allowOnlyLoggedUserRecipients?: boolean;
```

### IAutomationDialogRecipientsProps.externalRecipientOverride

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

When set, the only addable recipient is this external address.

**Signature:**

```typescript
externalRecipientOverride?: string;
```

### IAutomationDialogRecipientsProps.loggedUser

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The logged-in user as a recipient candidate.

**Signature:**

```typescript
loggedUser?: IAutomationRecipient;
```

### IAutomationDialogRecipientsProps.maxRecipients

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Maximum number of recipients.

**Signature:**

```typescript
maxRecipients?: number;
```

### IAutomationDialogRecipientsProps.notificationChannelId

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Id of the automation's currently selected notification channel.

**Signature:**

```typescript
notificationChannelId?: string;
```

### IAutomationDialogRecipientsProps.notificationChannels

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Notification channels, used to derive channel-specific recipient constraints.

**Signature:**

```typescript
notificationChannels?: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
```

### IAutomationDialogRecipientsProps.onChange

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Replaces the selection with the complete updated array.

**Signature:**

```typescript
onChange: (recipients: IAutomationRecipient[]) => void;
```

### IAutomationDialogRecipientsProps.value

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Currently selected recipients.

**Signature:**

```typescript
value: IAutomationRecipient[];
```
