---
title: groupIdentifier
framework: intents
role: symbol
role_heading: Instance Property
path: intents/ininteraction/groupidentifier
---

# groupIdentifier

The unique identifier of the interaction’s group.

## Declaration

```swift
var groupIdentifier: String? { get set }
```

## Mentioned in

Deleting Donated Shortcuts

## Discussion

Discussion Assigning the same identifier string to two or more interaction objects defines a group. You can use the group identifier later to delete all interactions with that identifier. The default value of this property is nil, which means that the interaction is not associated with a group.

## See Also

### Accessing Interaction Attributes

- [intentHandlingStatus](intents/ininteraction/intenthandlingstatus.md)
- [direction](intents/ininteraction/direction.md)
- [dateInterval](intents/ininteraction/dateinterval.md)
- [identifier](intents/ininteraction/identifier.md)
