CMS Development

ben-duchy
Top Contributor

Deal to HubDB API

SOLVE

Does anyone know of any 'off the shelf' API tools that allows you to sync Deals > HubDB?

 

We currently have a 3rd party that does this but we would like to bring it in-house.

0 Upvotes
1 Accepted solution
coldrickjack
Solution
Top Contributor

Deal to HubDB API

SOLVE

Hey @ben-duchy,

 

One option would be to use custom coded workflow actions. These are included with Operations Hub Professional/Enterprise. They allow you to write your own bespoke logic in either Javascript or Python within a workflow. You could do something like this to achieve your goal:

 

Screenshot 2022-09-02 at 13.04.30.png

The only thing I would be mindful of is that HubDB has a hard limit of 10,000 rows. So depending on the number of deals you have it may be problematic. Also, if you don't mind me asking what is the reason you want to store deals in HubDB? 

View solution in original post

2 Replies 2
ben-duchy
Top Contributor

Deal to HubDB API

SOLVE

Hi @coldrickjack,

 

Our main HubDB has no more than 2000 rows, so that's a good idea, thanks. I'll have to read up on it though as I'm not familiar with the code that's needed.

 

Regarding HubDB using deal data, it's just the way that my employer originally set it up. We don't hold any of our customer data inside HubDB, but the customer information is associated with a unique row inside Deals (regarding sale / build status on our house plots) which in turn is cloned with HubDB so that I can create custom web modules from it.

 

I've started using custom objects for web modules but I'm limited to 100 rows on each call with a max of 10 calls hence the reason why I need to stick with HubDB for now.

0 Upvotes
coldrickjack
Solution
Top Contributor

Deal to HubDB API

SOLVE

Hey @ben-duchy,

 

One option would be to use custom coded workflow actions. These are included with Operations Hub Professional/Enterprise. They allow you to write your own bespoke logic in either Javascript or Python within a workflow. You could do something like this to achieve your goal:

 

Screenshot 2022-09-02 at 13.04.30.png

The only thing I would be mindful of is that HubDB has a hard limit of 10,000 rows. So depending on the number of deals you have it may be problematic. Also, if you don't mind me asking what is the reason you want to store deals in HubDB?