---
title: "resolveTargetNote(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inappendtonoteintenthandling/resolvetargetnote(for:with:)"
---

# resolveTargetNote(for:with:)

Resolves the note that receives the new content.

## Declaration

```swift
optional func resolveTargetNote(for intent: INAppendToNoteIntent, with completion: @escaping @Sendable (INNoteResolutionResult) -> Void)
```

```swift
optional func resolveTargetNote(for intent: INAppendToNoteIntent) async -> INNoteResolutionResult
```

## Parameters

- `intent`: The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to resolve which note receives new content. Use the intent object to identify which note the user wants to modify. If the intent doesn’t identify a specific note, you might want to prompt the user to specify a value or you might indicate success and select a default note.

## See Also

### Resolving the Intent Parameters

- [resolveContent(for:with:)](intents/inappendtonoteintenthandling/resolvecontent(for:with:).md)
