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

# confirm(intent:completion:)

Validates that your app is able to start the workout.

## Declaration

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

```swift
optional func confirm(intent: INStartWorkoutIntent) async -> INStartWorkoutIntentResponse
```

## Parameters

- `intent`: The intent object that contains details about the user’s request. This object’s information has already been resolved by the user.
- `completion`: The handler block to execute with your response. You must execute this handler while implementing this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion This method validates that your app is able to start the workout. For example, checking that a workout isn’t already in progress or that data you need for the workout is available.
