function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dorian Kane 5Dorian Kane 5 

Webhook API and HTTP POST request from hubspot to SFDC

User-added image

I need to connect hubspot and sf with a webhot so i can update some field on sf but i dont know how this can be done.i have admin ex and not much experience on coding Apex

 

Can someone explain What I need to do..
 
-Do i need to make a Public Web Service in Salesforce
-Does Anyone have a better idea.

Ramesh DRamesh D
@Dorlan
Step1: Create a apex rest (post)service api 
https://www.greytrix.com/blogs/salesforce/2018/06/04/creating-an-endpoint-in-salesforce-and-using-rest-api-to-externally-access-it/
Step2: and your url in hubspot(under webhook url) 

Let me know if you have any issues

Thanks
Ramesh
 
Alejandro Lugo 3Alejandro Lugo 3
@Ramesh

I'm following that exact same steps but the POST calls are not reaching into my SF org. I think it has to do with authentication. Any ideas?