EngagementsTasks
Retrieve the available Tasks in HubSpot.
Select
When selecting Task Engagements, they can be filtered by columns marked below as 'Filterable'. For those columns, the supported server-side operators is: =.
SELECT * FROM EngagementsTasks WHERE ID = '11896356808'
Insert
INSERT INTO EngagementsTasks([Task title], [Task notes], [Task status], [Task type], [Activity date])
VALUES ('Test Task Title', 'Body of the task', 'IN_PROGRESS', 'LINKED_IN_MESSAGE', current_timestamp())
Update
UPDATE EngagementsTasks SET [Task notes] = 'Updated Task body test', [Task status] = 'COMPLETED' WHERE ID = '11896363224'
Delete
DELETE FROM EngagementsTasks WHERE ID = '11896363224'
Columns
| Name | Type | ReadOnly | References | Filterable | Description |
| Id [KEY] | Long | False | True |
Unique identifier of the object. |
|
| Archived | Bool | True | False |
Whether the object is archived or not. |
|
| CreatedAt | Datetime | True | False |
When the object was created. |
|
| UpdatedAt | Datetime | True | False |
When the object was last updated. |
|
| Business units | String | False | True |
The business units this record is assigned to. |
|
| AtMentioned Owner Ids | String | False | True |
The owners that have been at-mentioned on the engagement |
|
| Attached file IDs | String | False | True |
The IDs of the files that are attached to the engagement |
|
| Notes (preview) | String | True | True |
A plain-text preview of the notes field on a task |
|
| HTML Body Preview | String | True | True |
The HTML representation of the engagement body preview |
|
| Body Preview Truncated | Bool | True | True |
Indicates if the engagement body was truncated for the preview |
|
| Calendar Event ID | String | True | True |
The event ID for the synced task. |
|
| Activity created by | Decimal | True | True |
The user who created the engagement |
|
| Created by user ID | Decimal | True | True |
The user that created this object. This value is automatically set by HubSpot and may not be modified. |
|
| Create date | Datetime | True | True |
The date that an engagement was created |
|
| Engagement Source | String | False | True |
The source that created this engagement |
|
| Engagement Source ID | String | False | True |
The specific ID of the process that created this engagement |
|
| Follow up action | String | False | True |
What action should be performed during follow up |
|
| GDPR deleted | Bool | True | True |
Indicates the body of this engagement has been cleared because of a GDPR delete request |
|
| Last modified date | Datetime | True | True |
The date any property on this engagement was modified |
|
| Merged object IDs | String | True | True |
The list of object IDs that have been merged into this object. This value is automatically set by HubSpot and may not be modified. |
|
| Updated by | Decimal | True | True |
The user who last updated the engagement |
|
| MS Teams message ID | String | True | True |
The message ID for the created task. |
|
| Associated Companies | Decimal | True | True |
The number of companies associated with this task |
|
| Associated Contacts | Decimal | True | True |
The number of contacts associated with this task |
|
| Associated Deals | Decimal | True | True |
The number of deals associated with this task |
|
| Associated Queue Objects | Decimal | True | True |
The number of objects associated with this task that support task queues |
|
| Associated Tickets | Decimal | True | True |
The number of tickets associated with this task |
|
| Object ID | Decimal | True | True |
The unique ID for this object. This value is automatically set by HubSpot and may not be modified. |
|
| Product name | String | False | True |
The name of the product associated with this engagement |
|
| Queue | String | False | True |
The list of queues that contain this engagement |
|
| Scheduled tasks | String | True | True | ||
| Task notes | String | False | True |
The content in the notes field on a task |
|
| Task completion date | Datetime | True | True |
The date that the task was completed |
|
| Contact Time Zone | String | True | True |
The time zone of the associated contact |
|
| For Object Type | String | False | True |
The object type for the task |
|
| Task is all day | Bool | False | True |
Determines if the task is due all day or at a specific time |
|
| Last Contact Outreach | Datetime | True | True |
The last time a call, email, or meeting was logged for the associated contact. This is set automatically by HubSpot based on user actions in the contact record |
|
| Last Sales Activity Date | Datetime | True | True |
The date of the last sales activity with the associated contact. This is set automatically by HubSpot based on user actions in the contact record |
|
| Task priority | String | False | True |
The priority of task |
|
| Task probability to complete | Decimal | True | True |
The probability the task will be completed |
|
| Relative Task Reminders | String | False | True |
The dates (relative to the due date) when reminders will be sent |
|
| Task Reminders | String | False | True |
The dates when reminders will be sent |
|
| Interval | String | True | True |
How often the task should repeat |
|
| Send Default Reminder | Bool | False | True |
Whether or not a reminder should be sent when the task is due |
|
| Sequence Enrollment Is Active | Bool | True | True |
Whether the sequence enrollment this task is a part of is currently active |
|
| Sequence step enrollment Id | String | True | True |
The id of the sequence step that created the task |
|
| Sequence Step Order | Decimal | True | True |
The order of this task in the sequence at time of enrollment |
|
| Task status | String | False | True |
The status of the task |
|
| Task title | String | False | True |
The subject text for the task |
|
| Task template id | Decimal | True | True |
The id of template the task was created from |
|
| Task type | String | False | True |
The type of task |
|
| Activity date | Datetime | False | True |
The date that an engagement occurred |
|
| Unique creation key | String | True | True |
Unique property used for idempotent creates |
|
| Unique ID | String | False | True |
The unique ID of the engagement |
|
| Updated by user ID | Decimal | True | True |
The user that last updated this object. This value is automatically set by HubSpot and may not be modified. |
|
| User IDs of all notification followers | String | True | True |
The user IDs of all users that have clicked follow within the object to opt-in to getting follow notifications |
|
| User IDs of all notification unfollowers | String | True | True |
The user IDs of all object owners that have clicked unfollow within the object to opt-out of getting follow notifications |
|
| User IDs of all owners | String | True | True |
The user IDs of all owners of this object |
|
| Owner Assigned Date | Datetime | True | True |
The timestamp when an owner was assigned to this engagement |
|
| Activity assigned to | String | False | True |
The user that the activity is assigned to in HubSpot. This can be any HubSpot user or Salesforce integration user, and can be set manually or via Workflows. |
|
| HubSpot Team | String | True | True |
The team of the owner of an engagement. |
|
| All owner ids | String | True | True |
The value of all owner referencing properties for this object, both default and custom |
|
| All team ids | String | True | True |
The team ids corresponding to all owner referencing properties for this object, both default and custom |
|
| All accessible team ids | String | True | True |
The team ids, including up the team hierarchy, corresponding to all owner referencing properties for this object, both default and custom |