Clay Icon

Troubleshooting API Contact Verification in HubSpot Integration

·
·

I believe I have successfully connected my Clay table with HubSpot using the API. My goal is to check whether a contact (using first & last name or email) already exists in HubSpot before proceeding with enrichment. However, I’m encountering an issue:

  • The API request returns a 200 status, which I understand means the request was successful.

  • But when I inspect the response data, it states "false", even though I know for certain that the contact exists in HubSpot.

How can I correctly verify whether a contact already exists in my HubSpot database? Am I missing something in the setup or parsing of the response data?

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    To correctly verify if a contact exists in your HubSpot database using the API, follow these steps: 1. Use the "Lookup Contact" action in Clay's HubSpot integration. 2. For the lookup, use the contact's email address as the primary identifier. If email isn't available, you can try using the first and last name, but this may be less reliable. 3. Run a test with a few rows to check if contacts are found. If you're still getting "false" responses for existing contacts, there might be an issue with the API request or response parsing. To troubleshoot further, could you please copy and paste the JSON of your API request and response into the chat?

  • Avatar of Fabian G.
    Fabian G.
    ·
    ·

    { "properties": [ "email" ], "inputs": [ { "email": " Email e" } ] }

  • Avatar of Fabian G.
    Fabian G.
    ·
    ·

    Can I drop the url when a person joined?

  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Hey Fabian,

    Could you please send us the URL? For faster assistance, I recommend including all relevant information upfront so we can help you right away instead of going back and forth between messages.

    Sorry for the delay.

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·