Task
No description
type Task {
id: ID!
contact: Contact!
assigned_to: User
subject: String!
status: TaskStatus!
priority: TaskPriority!
type: TaskType
type_label: String
due_date: DateTime
comment: String
completed_at: DateTime
completed_by: User
workflow: Workflow
step_type: StandardTaskType
outcome: SequenceTaskOutcome
body: String
rendered_subject: String
rendered_body: String
manual_email_template: NextGenEmail
is_test: Boolean!
thread_preview: TaskThreadPreview
sending_mailbox: TaskSendingMailbox
email_send_block: SequenceEmailBlock
third_party_email_send: ThirdPartyEmailSend
notes: String
step_position: Int
step_count: Int
can_work: Boolean!
created_at: DateTime!
created_by: User
updated_at: DateTime!
updated_by: User
}
Fields
Task.id ● ID! non-null scalar
Task.contact ● Contact! non-null object
Task.assigned_to ● User object
Task.subject ● String! non-null scalar
Task.status ● TaskStatus! non-null enum
Task.priority ● TaskPriority! non-null enum
Task.type ● TaskType object
Task.type_label ● String scalar
The type's display name. Prefer this over type { name }: a standard type has no row, so
the type relation resolves null for every task carrying a built-in type id.
Task.due_date ● DateTime scalar
Task.comment ● String scalar
Task.completed_at ● DateTime scalar
Task.completed_by ● User object
Task.workflow ● Workflow object
The sequence this task belongs to. Null on a task that was created by hand.
Task.step_type ● StandardTaskType enum
What the rep has to do. Decides which outcomes they can record. Null for a custom task type.
Task.outcome ● SequenceTaskOutcome enum
Task.body ● String scalar
What the rep sends or reads. Editing the step updates work that is already open.
Task.rendered_subject ● String scalar
The subject with this contact's tokens resolved. Manual email steps only.
Task.rendered_body ● String scalar
The body with this contact's tokens resolved. Manual email steps only.
Task.manual_email_template ● NextGenEmail object
The Personally Authored email a manual email step sends. Null on every other step type, and null when the chosen email was deleted — which is what lets a surface say so instead of presenting an empty editor.
Task.is_test ● Boolean! non-null scalar
Whether this task belongs to a sequence test run, whose waits were collapsed so somebody could work the steps immediately. Surfaces as a chip; changes nothing about the work itself.
Task.thread_preview ● TaskThreadPreview object
Where this email will land, resolved through the same service the send uses so the screen cannot promise one thing and the send do another. Null on every non-email step, and null when the rep has no usable mailbox — the surface is already saying so.
Task.sending_mailbox ● TaskSendingMailbox object
Where this email will go out from. Null on every non-email step, and null when the caller has no mailbox at all.
Task.email_send_block ● SequenceEmailBlock enum
Why this contact cannot be emailed right now. Null when they can, and on every non-email step.
Task.third_party_email_send ● ThirdPartyEmailSend object
The Gmail send that closed this manual email task. Null until it is sent.
Task.notes ● String scalar
Task.step_position ● Int scalar
Where this step sits in its sequence, counting from 1.
Populated by the myQueue query only. Null on tasks from any other query, and null when the sequence's steps have changed since the task was created and its node no longer exists.
Task.step_count ● Int scalar
How many steps the sequence has. Pairs with step_position to read "3 of 8".
Populated by the myQueue query only, and null elsewhere.
Task.can_work ● Boolean! non-null scalar
Whether the caller may act on this task: it is open, and it is assigned to them.
False does NOT mean the task is hidden. A reader may see a task they cannot work, which is what the sequence board relies on. Surfaces read this to decide between work controls and a read-only view. The mutations apply the same test themselves.
Task.created_at ● DateTime! non-null scalar
Task.created_by ● User object
Task.updated_at ● DateTime! non-null scalar
Task.updated_by ● User object
Returned By
completeSequenceTask mutation ● completeTask mutation ● createTask mutation ● deleteTask mutation ● rewindSequenceContact mutation ● sequenceTask query ● skipSequenceTask mutation ● snoozeSequenceTask mutation ● task query ● updateTask mutation
Member Of
EmailThreadMessage object ● SendSequenceEmailResult object ● SequenceTasksResponse object ● TaskPaginator object


