Using WebHook

Hi,

I’m trying to send WebHook request to my CRM when the contact is created. My questions are:

1. What filter I can use to send this request all the time that the contact is created?. Can I used when contactId is unknown?.

2. How can I included the new contactId value top pass information to my CRM?. Now I only see the option to include the Webhook URL

3. How can I get the HubSpot IP address to include it in our allowlist?

Thanks in advanced,

Kale

@kaleperez ,

Is the CRM in question HubSpot or another. Our webhooks features send from HubSpot to your app and not the other way around

Hi Dennis thanks for your answer,

Yes, I got that. My questions is related to send this request from HubSpot to my own CRM.

I will try to ask my questions using the other way:

1. I need to receive a notification when the new contact is created through WebHook. I will use this notification to run a process to create this new contact in my own CRM. How can I do this?. I’m thinking to use the filter “contactId is unknow”. Is this the best way?

2. Can I include in this notification the “contactId” value of the new contact as part of the notification’s body ?. How can I do this?

3. We are using the IP restrictions in our server. How can I know the HubSpot IP address to include it in my allowlist.

Thanks in advanced,

Kale

Ok. You will need to create use a Developer account where you will create an “app” that will act as the middle man between your external db and your HubSpot portal. In the app, you can create webhook subscriptions that can be triggered by contact creation. In the payload that is sent your app, there will be an objectId to identify the record that was created. You can see an example payload here

I believe that answers 1 & 2. The third question is problematic as it is a dynamic range and there is bo guarantee that the IP address will stay the same.

Thank you so much for your suggestions. I have another question about this. I followed your recomendations and using my development account I created an app. But when I worked with the WbHooks and create a new subscription I have two problems.

1. When I selected contact object type and property changed, the list of the property didn’t show up any of my custom properties like “BC User Id”.

2. In the object type I couldn’t see the “Subscription” object. This is a custom object that we created.

I need to do something to connect my developer account with my current account to get these information.

Thanks in advanced,

Kale

@kaleperez ,

Not all properties will display by default in the webhooks subcription dropdown, but you can type in the internal name of a property and it should work.

Unfortunately, you will not be able to subscribe to a Custom Object via the webhooks in a developer account. You could explore sending a webhook via a workflow, though as a workaround

I have another questions about workflow - webhook process. I created a workflos and sending the webhook site. I tested using webhook.site and it’s working fine, but when I started using my site and I tested the workflow I got the following warning “Testing results include invalid JSON”. The webhook working fine, I received the correct information in my site, but it’s not working for all new and update subscriptions (When I tested the webhook.site the same workflow is working fine, all the time that the new subscription is created or the subscription is updated).

It also showed me the message to say “Select up to 20 fields from the webhook response to output that can be used in later actions in the workflow.” But I can’t see any place that I can do this.

Thanks in advanced,

Kale