Can I update hubdb table row using the Webhook inside the workflow

Hi super new user here. I am working on this project where I have to modify the hubdb table. I am just wondering if I can do so using the webhook in the hubspot workflow. If so, then please guide me how to.

Hi, @ashu125 :waving_hand: Thanks for reaching out. Can you provide any additional details, code snippets, or screenshots to help our community with more info, please? Or additional cotext on the project you are working on? This will help the community better understand if what you are asking is possible.

Looking at the dev documentation I do not see a way to accomplish your goal:

I’ll tag in a few community members to see if anyone has successfully built out a similar solution – @JBeatty @miljkovicmisa @himanshurauthan any thoughts on where to get started?

Thank you so much :raising_hands: – Jaycee

Hi @Jaycee_Lewis, thank you for tagging me in.

Hello @ashu125,

Unfortunately, currently, you can’t update the hubdb using the webhook actions in the workflow. The reason is that HubSpot has not defined any statement that will help you to check what the post request has in it. Instead, of this you can use custom cod action to fulfill your requirements

Hope this will help you out.

Hi Himanshu, Thank you so much for your answer. Btw can you please tell how do I change my hubdb table data on submitting a form ? I don’t want to use the api, are there any ways ?

Hi @ashu125,

Are you talking about using the Webhook action inside of a workflow? If so it is not doable, because the webhook action does not allow you to specify exactly what the body of the post request looks like. Using a custom code action it is possible to do so because you can use a library like Axios to make a post request to the HubDB API.

Best,

Hi @JBeatty

That’s what I was asking for. Thank you so much for confirming that.