Skip to main content

createTaskV2

Creates a Task

Arguments

assignToTeamIdID

The Team that the Task will be assigned to

assignToUserIdID

The User that the Task will be assigned to

associations[TaskV2AssociationCreateInput!]

The associations of the Task

autoAssignmentStrategy[TaskV2AutoAssignmentStrategy!]

The strategy to use for auto-assigning the Task

conditions[TaskV2ConditionInput!]

The conditions of the Task

descriptionHtmlString

The description of the Task

draftMessageContextPromptString

Optional prompt for AI draft message generation (used for DRAFT_V1 tasks)

dueDateDateTime!

A deadline for the Task to be completed

expiresAtDateTime

The date and time the Task will expire

idempotencyKeyString

The idempotency key for the Task, unique within the brand

localIdID

The local ID of the Task

notifyAssigneesBoolean

Whether to notify the assignees of the Task

rationaleContextPromptString

Optional prompt for AI rationale context generation (used for DRAFT_V1 tasks)

timeZoneString!

The timezone of the Task

titleString!

The title of the Task

typeTaskV2Type!

The type of the Task

Returns

CreateTaskV2Payload!