Hello, I’m trying to update a new property I added in HubSpot using an HTTP “push.” However, when I try to write the body using JSON, I get an “invalid input” error. I also tried updating it using the HubSpot Update node, but the property I created does not appear in the fields.
Hi @Faith_EM, could you please share the full error message you received on execution?
Hello @NCione Thank you for your reply !!
Here the details problems,
I used two approaches so I can update the HubSpot property via n8n.
- Using HTTP Request
The problem is that the request didn’t work give me “bad request / format is incorrect”
{
“properties”: {
{{ $json.properties… }} : true
}
} when the property is empty then make it = true.
=> I can add here that the property does exist, when I make an HTTP GET request to fill my input.
- Using the Company Node
The second approach is to update the property via the Company node using the company ID, however, the property doesn’t appear there, even when i write the internal name.
@Faith_EM when you used the Update a company HubSpot node, did you select Custom Properties from the Update Fields > Add Field dropdown? By default, HubSpot node only shows the default properties. If you need to access custom ones, you need to choose the “Custom Properties” option from said dropdown which should have them show up, or if you want to use the HTTP request node, there’s a value you need to add to the json request body (I think its “hasUniqueValue”: true but you should double check with the docs). Hope this solves your issue!
@NCione Thank uuu so so much for your help
It works !!!
Happy to help, glad to hear it works!
If you could please take a moment to mark this thread as solved I would really appreciate it, thanks!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.


