Find Contact in Hubspot based on Webhook from Other tool
Hi there, brand new to Zapier so apologies for whats likely a very easy question. I’m trying to update a contact in hubspot based on a webhoook from another service. I believe I have the general steps needed, but need some help with the implementation
Because the “update contact in hubspot” Zap requires the Contact/Object id (hubspot internal id) I realized I first need to Find Contact in Hubspot, and then pass the Object ID information onto another step of the Zap that updates the contact
Trigger - Catch Raw hook in Webhooks by Zapier
Webhook from brightback is sent to zapier to start the flow
Action - Find Contact in Hubspot
Set-up Action STUCK HERE
First search property name
First search property value
Questions -
In step 3 above, I’m trying to lookup the user based on our internal UID, which is stored in the hubspot property `RealVision User Contact Property: User ID”. But I don’t know what/how i’m supposed to format the “First search property value”.
The UID is contained in the Raw Body value as shown, but i’m not sure how to tell zapier to look there or if it’s even possible?
My plan is then to use the returned object id, from the lookup to update my contact in the next step of the zap. Is that the correct next path forwards?
Page 1 / 1
Hi @Real Vision TV
Good question.
You’ll need to add additional Zap steps to parse out the desired data point you want to use to search by.
Try using Formatter > Text > Split
Hey there @Real Vision TV - how are you coming along with the formatter step Troy outlined above? Let us know if you have any hang ups and we’re happy to keep troubleshooting with ya :]
Best, Rachael
Definitely could still use some help.
I got the text format step added, but am not sure it’s actually doing anything due to my set-up.
Questions -
Is the text formatter strep correct?
What output should I be looking for in the “find hubspot contact”
How do I format my search parameters for the “find hubspot contact” step? I honestly don’t have the faintest idea what zapier means by “first search property name” or first search property value? Best I can tell, value is meant to be the data its searching and the property name is how it’s formatted.
Text formatter step set-up
Text formatter output appears to still be a json blob?
My search for hubspot contact step now has the above output as an option, but it’s definitely not formatted in a way that the find contact can use it I don’t think .
@Real Vision TV
You probably want to remove the enclosing brackets.
Also, in your screenshots from the raw JSON data, I don’t see “quote” specified.
Perhaps provide a specific example of the data point label/value that you are trying to parse out.
Here is the data input that I need to parse from.
I need to pull out the ID value associated with the field “chargbee.subscription.customer.id” and pass that onto the “Find Contact in Hubspot” action, which will search on the user.id field that we store in hubspot.