---
title: INAddTasksIntent
framework: intents
role: symbol
role_heading: Class
path: intents/inaddtasksintent
---

# INAddTasksIntent

A request to add tasks to an existing task list.

## Declaration

```swift
class INAddTasksIntent
```

## Overview

Overview Siri creates an instance of INAddTasksIntent when the user asks to add one or more tasks to a task list. Alternatively, if the user asks to create a note, and your app or Intents extension doesn’t support INCreateNoteIntent, SiriKit uses this intent instead. The intent contains the tasks to add and the target task list, and can also include location or time triggers that you assign to each of the new tasks. To process the request, your handler must adopt the INAddTasksIntentHandling protocol. INAddTasksIntent is available to both Siri Intents and Siri Suggestions and doesn’t require an unlocked device before processing. Example Phrases Users can ask Siri to add tasks to a task list in a variety of ways. Although not exhaustive, the following table provides a few sample phrases, in different languages, that you can use when testing your intents.  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |

## Topics

### Initializing the Intent Object

- [init(targetTaskList:taskTitles:spatialEventTrigger:temporalEventTrigger:priority:)](intents/inaddtasksintent/init(targettasklist:tasktitles:spatialeventtrigger:temporaleventtrigger:priority:).md)
- [init(targetTaskList:taskTitles:spatialEventTrigger:temporalEventTrigger:)](intents/inaddtasksintent/init(targettasklist:tasktitles:spatialeventtrigger:temporaleventtrigger:).md)

### Getting the Task Details

- [targetTaskList](intents/inaddtasksintent/targettasklist.md)
- [taskTitles](intents/inaddtasksintent/tasktitles.md)
- [priority](intents/inaddtasksintent/priority.md)

### Getting the Trigger Information

- [spatialEventTrigger](intents/inaddtasksintent/spatialeventtrigger.md)
- [temporalEventTrigger](intents/inaddtasksintent/temporaleventtrigger.md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Task Addition

- [INAddTasksIntentHandling](intents/inaddtasksintenthandling.md)
- [INAddTasksIntentResponse](intents/inaddtasksintentresponse.md)
