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

# handle(intent:completion:)

Handles saving any settings to the designated profile.

## Declaration

```swift
func handle(intent: INSaveProfileInCarIntent, completion: @escaping @Sendable (INSaveProfileInCarIntentResponse) -> Void)
```

```swift
func handle(intent: INSaveProfileInCarIntent) async -> INSaveProfileInCarIntentResponse
```

## Parameters

- `intent`: The intent object containing details about the user’s request. Your handler object has already resolved and confirmed the information in this object.
- `completion`: The handler block to execute with your response. 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 implementation of this method should communicate with the vehicle and save the settings under the specified profile name or index number. You’re responsible for choosing which settings to save. When done, execute the provided block with a response object indicating whether or not the operation was successful.
