---
title: "init(title:content:groupName:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/increatenoteintent/init(title:content:groupname:)"
---

# init(title:content:groupName:)

Initializes the intent object with the specified note content.

## Declaration

```swift
init(title: INSpeakableString?, content: INNoteContent?, groupName: INSpeakableString?)
```

## Parameters

- `title`: The title text to apply to the note.
- `content`: The content of the note.
- `groupName`: The name of the group in which to store the note. Group names correspond to folders or other means of organizing notes within your app.

## Return Value

Return Value An initialized intent object or nil if the object could not be created.

## Discussion

Discussion Normally, you don’t create instances of this class yourself. Instead, SiriKit creates instances when the user asks to create a note. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.
