n8n-io/n8n

Accessing Ticket Object ID in Hubspot Trigger Node

codisfy opened this issue · 3 comments

Bug Description

I'm having trouble getting a Hubspot-based workflow working with the trigger node using the "Ticket Created" event. The issue I'm facing is that I'm unable to retrieve the ObjectId (the ticket's ID) in the payload.

After researching, it seems that the ObjectId might be removed if it's not related to a Deal, Company, or Contact. However, I'm wondering if there's any way we can expose the ObjectId? Are there any potential downsides to doing so?

To Reproduce

Setup a Hubspot App

Use the Trigger Node with Ticket Created event

Send a test payload and see that ObjectId is missing (image)

image

Expected behavior

If there are no constraints, the node should allow access to ObjectId, this will help to fetch the ticket details using another node.

Operating System

Ubuntu 22.04

n8n Version

1.40.0

Node.js Version

20

Database

SQLite (default)

Execution mode

main (default)

Hey @codisfy,

Thanks for letting us know about this, I have popped in a PR that should resolve it. Once reviewed it will be merged and available in a future release.

Thank you! Much appreciated!