Access a record from Hubspot API based on it if has a specific property value

Hi,

I am making a custom code action where I want to access a record of a custom object based on if it matches a certain property criteria. For example, I want a specific contact record based on whether property x is equal to some value y. I want to do this in one call to the Hubspot api rather than loop through records due to the time restriction on custom code actions.

Thanks

Hey @RZia ,

This should be possible by using the CRM Search endpoint. I’ve used it several times within custom coded workflow actions for various purposes. Here is an example of how I used it to find a company with a specific value.

Hope it helps!