Events
Triggering Webhook Types
The following event types are associated with the Ticket event payload from Hubspot.Hubspot Ticket CreatedHubspot Ticket Properties UpdatedHubspot Ticket DeletedHubspot Ticket RestoredHubspot Ticket MergedHubspot Ticket Associations Updated
Copy
Ask AI
{
"archived": false,
"archived_at": "2024-07-04T10:32:12+00:00",
"associated_companies": [
{
"id": "39580875173",
"type": "contact_to_company"
}
],
"associated_contact_id": "123456",
"associated_contacts": [
{
"id": "39580875173",
"type": "contact_to_company"
}
],
"associated_deals": [
{
"id": "39580875173",
"type": "contact_to_company"
}
],
"created_at": "2024-07-04T10:32:12+00:00",
"id": "2970281109",
"pipeline_id": "123456",
"properties": {
"content": "Ticket description",
"createdate": "2024-07-16T10:41:02.266Z",
"hs_lastmodifieddate": "2024-07-16T14:27:29.505Z",
"hs_object_id": "2970281109",
"hs_pipeline": "0",
"hs_pipeline_stage": "1",
"subject": "My Subject"
},
"recently_updated_property_names": [
"subject",
"hs_pipeline_stage"
],
"updated_at": "2024-07-04T10:32:12+00:00"
}
Copy
Ask AI
{
"archived": "Whether the ticket was archived",
"archived_at": "When the ticket was archived",
"associated_companies": {
"id": "ID",
"type": "Type (label) of the association"
},
"associated_contact_id": "The ID of the associated contact, or the first associated contact if there are multiple",
"associated_contacts": {
"id": "ID",
"type": "Type (label) of the association"
},
"associated_deals": {
"id": "ID",
"type": "Type (label) of the association"
},
"created_at": "When the ticket was created",
"id": "ID",
"pipeline_id": "The ID of the pipeline the ticket is associated with",
"properties": {
"key": null,
"value": null
},
"recently_updated_property_names": "The properties that were updated for a webhook event triggering this event payload to be created",
"updated_at": "When the ticket was updated"
}
Payload Field Details
Hide fields
Hide fields
ID IDCEL
Copy
Ask AI
id
Example
Copy
Ask AI
"2970281109"
HI ID PII Ticket propertiesCEL
Copy
Ask AI
properties
Example
Copy
Ask AI
{
"content": "Ticket description",
"createdate": "2024-07-16T10:41:02.266Z",
"hs_lastmodifieddate": "2024-07-16T14:27:29.505Z",
"hs_object_id": "2970281109",
"hs_pipeline": "0",
"hs_pipeline_stage": "1",
"subject": "My Subject"
}
Whether the ticket was archived
CEL
Copy
Ask AI
archived
Example
Copy
Ask AI
false
When the ticket was archived
CEL
Copy
Ask AI
archived_at
Example
Copy
Ask AI
"2024-07-04T10:32:12+00:00"
When the ticket was created
CEL
Copy
Ask AI
created_at
Example
Copy
Ask AI
"2024-07-04T10:32:12+00:00"
When the ticket was updated
CEL
Copy
Ask AI
updated_at
Example
Copy
Ask AI
"2024-07-04T10:32:12+00:00"
The properties that were updated for a webhook event triggering this event payload to be created
CEL
Copy
Ask AI
recently_updated_property_names
Example
Copy
Ask AI
[
"subject",
"hs_pipeline_stage"
]
The ID of the pipeline the ticket is associated with
CEL
Copy
Ask AI
pipeline_id
Example
Copy
Ask AI
"123456"
The ID of the associated contact, or the first associated contact if there are multiple
CEL
Copy
Ask AI
associated_contact_id
Example
Copy
Ask AI
"123456"
Associated contacts
CEL
Copy
Ask AI
associated_contacts
Example
Copy
Ask AI
[
{
"id": "39580875173",
"type": "contact_to_company"
}
]
Mapped array of: ID
CEL
Copy
Ask AI
associated_contacts.map(x, x.id)
Example
Copy
Ask AI
[
"39580875173"
]
Mapped array of: Type (label) of the association
CEL
Copy
Ask AI
associated_contacts.map(x, x.type)
Example
Copy
Ask AI
[
"contact_to_company"
]
Associated deals
CEL
Copy
Ask AI
associated_deals
Example
Copy
Ask AI
[
{
"id": "39580875173",
"type": "contact_to_company"
}
]
Mapped array of: ID
CEL
Copy
Ask AI
associated_deals.map(x, x.id)
Example
Copy
Ask AI
[
"39580875173"
]
Mapped array of: Type (label) of the association
CEL
Copy
Ask AI
associated_deals.map(x, x.type)
Example
Copy
Ask AI
[
"contact_to_company"
]
Associated companies
CEL
Copy
Ask AI
associated_companies
Example
Copy
Ask AI
[
{
"id": "39580875173",
"type": "contact_to_company"
}
]
Mapped array of: ID
CEL
Copy
Ask AI
associated_companies.map(x, x.id)
Example
Copy
Ask AI
[
"39580875173"
]
Mapped array of: Type (label) of the association
CEL
Copy
Ask AI
associated_companies.map(x, x.type)
Example
Copy
Ask AI
[
"contact_to_company"
]
