Hi. We have been owrking with Hubspot and Zapier integrations for a few months. Everything works like a charm. But these last days we faced an issue. We need to let our in Zapier to gain access to a contact IP address.
We trigger the integration vis the “On Form Submission” event, so, every time a user in Hubspot submits a form, we need the IP address from where that form was submitted.
It looks that Hubspot can’t inform that info when using a Zapier integration. Am I missing something? I already refreshed the zap and the link between them, with no results.
Hi @fgiraldi , it should be possible to access the IP address of the form submission if it is included. Since you are looking to have Zapier integration access this information from HubSpot, it is best you check with Zapier on whether this is something they implemented/can implement on their end.
Hi! Thanks for taking the time to answer this. You may be right, I should be able to just include the user IP Address in the form and then take it in Zapier. The problem is that I couldn’t find a way to do that. It looks to me that “IP Address” can’t be included in forms. I think I could access the IP address from the contact info, but the zap in Zapier is triggered on form submission, because we are collecting lead data, so every submission count.
Yes you are right that you would not be able to include IP address as a field on a HubSpot form and you can access the IP address using Contacts API. What does the Zap do? It is triggered on form submission, but what is the action taken by Zapier after the trigger?
The zap gets the form data and triggers a webhook to a third party site for lead management. In some cases, some logic is added to format some fields, but in a generic way, it just sends the form info to another site’s endpoint
I see. In this case, it depends on how Zapier is grabbing the form data. If they are using this endpoint to get the form submission data for example, the IP address field likely won’t be included.
Zapier would be your best resource to find out more on whether it’s possible to include the IP address in the way they grab the form data. I won’t have more insight into Zapier’s capability here.
I got the following reply from technical support regarding the same issue.
It appears that the Create Form Submission in HubSpot action in Zapier uses our Submit data to a form API endpoint. What is most likely happening is that HubSpot is grabbing the IP Country based on the IP of the source (Zapier) sending the submission. As stated in our Contact Property KB:
IP country: the country reported by the contact’s IP address. This is automatically set by HubSpot and can be used for segmentation and reporting.
The contact’s IP is the one the submission is being sent from (Zapier). We run some tests, and the IP location properties are populated based on the source IP location of the submission, and can not be manually overridden. In essence, the properties can and will be updated as HubSpot receives new data like when a marketing email is opened or a new form is submitted.