---
title: "confirm(intent:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/increatenoteintenthandling/confirm(intent:completion:)"
---

# confirm(intent:completion:)

Confirms whether you can create the note.

## Declaration

```swift
optional func confirm(intent: INCreateNoteIntent, completion: @escaping @Sendable (INCreateNoteIntentResponse) -> Void)
```

```swift
optional func confirm(intent: INCreateNoteIntent) async -> INCreateNoteIntentResponse
```

## Parameters

- `intent`: The intent object containing details about the user’s request. The information in this object has already been resolved by your handler object.
- `completion`: The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. The handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to validate that you can create the note, but do not create the note yet. If creating the note involves contacting a remote server, validate that your server is available and ready to handle requests. At some point in your implementation, execute the provided completion block with a response object indicating your app’s readiness to create the note.
