Regarding Webhook Integration

SOLVE
Pabbly_Connect
Member

How to add webhook in user account, if user is using my OAuth app (Pabbly Connect) in hubspot.

1. Created the developer account along with App Test account1
Authenticated the App Test account1 with developer account app called Pabbly Connect.
Also successfully tested get all contacts of my App Test account1 with Oauth2.0 authentication

2021-02-02

https://www.screenpresso.com/=JqZ9c
2. Added the webhook url in my Pabbly Connect App for every new c...


2021-02-02

https://www.screenpresso.com/=tdL0d
https://www.screenpresso.com/=UV8vb
 3. My concern is regarding when the other user Authenticate my app (Pabbly Connect) using his account, the authentication is successful also the app is listed in Their Connected apps, but when the user creates the new contact they didn't get any webhook response in webhook.site
 Video below is a user account related videos, it is not a test account
https://www.screenpresso.com/=yXrmc
https://www.screenpresso.com/=gC0Rd
https://www.screenpresso.com/=cJyOf

2021-02-02

 

 so by concluding all the points mentioned above my main concern is:
 
a. If other user want to set their own webhook will they have to create their own app separately in development? or can they set webhook by using or authenticating via my app called Pabbly Connect. If yes, how is it possible?

Also, how should I procced regarding this issue please guide me
 b. Is there any direct way to add webhooks for other user using my app (Pabbly Connect) via POST webhooks API?
 My APP ID: 215930
0 Upvotes
1 Accepted solution

Accepted Solutions
dennisedson
Solution
Community Manager

Hi @Pabbly_Connect 

Are you still working on this?

If you look in your App Monitoring, you will see that if the webhook was successfully sent from HubSpot and can even look at the payload.  You should have an app built that will handle that payload. 

Your app should be made to handle the OAuth process and refresh the token as needed.  Once this is established, any portal can connect to your app and, assuming the user of that portal has the correct permission, you should see events being sent to your app which will include a portal id, event id as well as many other values. 

Maybe @prosa has something to add to this 😀

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
3 Replies 3
dennisedson
Solution
Community Manager

Hi @Pabbly_Connect 

Are you still working on this?

If you look in your App Monitoring, you will see that if the webhook was successfully sent from HubSpot and can even look at the payload.  You should have an app built that will handle that payload. 

Your app should be made to handle the OAuth process and refresh the token as needed.  Once this is established, any portal can connect to your app and, assuming the user of that portal has the correct permission, you should see events being sent to your app which will include a portal id, event id as well as many other values. 

Maybe @prosa has something to add to this 😀

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content

View solution in original post

0 Upvotes
Pabbly_Connect
Member

Hello,

Thank you for your resopnse.
https://www.screenpresso.com/=yt6If


https://www.screenpresso.com/=IHTbb

Webhook response to webhook url mentioned in developer app

https://www.screenpresso.com/=MyAde

Tested the webhook response for new contact creation in user account which has Oauth developer app installed inside it

https://www.screenpresso.com/=7W4Rc


https://www.screenpresso.com/=pzPBd


https://www.screenpresso.com/=uj57c


https://www.screenpresso.com/=GUnCc

https://www.screenpresso.com/=xJ2sc

Tested the webhooks response in app monitoring tab, i see webhooks response is coming fine

but my question is if the user installs my app then if user added the new contact then the response of the event will only comes to the webhook url which is predefined in the developer app account, suppose if user wants to have the event response in some other webhook url other than which is defined in app developer account will the user able to do as such or not?

if yes what is the possible solution

if not then will the user has to create his own developer account to add his own webhook url, please guide me it's so confusing for me

Regards
Astha
Team Pabbly

0 Upvotes
prosa
Top Contributor

Hi there, I would like to take a look at the integration's webhooks configutation and the motitoring tab for your integration. 

and Also, please share some info on how you are handling the resquest for the webhook on your server please. 

If this post helped you resolve your issue, please consider marking it as the solution. Thank you for supporting our HubSpot community.