<!--
{
  "availability" : [
    "iOS: 11.0.0 - 27.0.0",
    "iPadOS: 11.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0",
    "watchOS: 4.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INCreateNoteIntent/init(title:content:groupName:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INCreateNoteIntent(im)initWithTitle:content:groupName:"
  },
  "title" : "init(title:content:groupName:)"
}
-->

# init(title:content:groupName:)

Initializes the intent object with the specified note content.

```
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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)