Database Structure / Zoho Integration

Hello,

I’m new to Bubble and trying to figure out the best way to structure my database for a marketplace app.

There will be 3 different types of users (REFERRAL PARTNERS, CLIENTS and VENDORS) that log in to create/view DEALS and QUOTES. REFERRAL PARTNERS will be able to create their own login, a CLIENT login and a DEAL. CLIENTS can log in to create DEALS on their own as well. VENDORS can log in to view DEALS and respond with a QUOTE. What is the best way to structure a database so all these users/things interact correctly?

Here are some screenshots of my first attempt:

The built-in field Creator - User is confusing to me. Can someone please explain?

My Zoho CRM is set up with these 5 modules interacting correctly. Would it be better to create an API with the CRM?

Thank you,

Max

Anyone have any ideas of how this could be best structured?

Hey mate, you can do away with the zoho crm integration. What you are looking to do can be structured in Bubble easily enough.

I’d suggest creating a new Data Type called something like ‘User Category’, then enter your 3 different types of users. Then all of your users are set-up under the default User Data Type (table). Just add User Category as a Field in the User Data table and ensure it’s type is set to ‘User Category’.

Then just build everything using the User Data table and filter your searches / views based on the User Category field.

This should be a good start anyway. Good luck!

1 Like