Claim listing on directory website

Have had a look around the forum but can’t find any answers so far.

I’m currently building a directory website for business people.

So far I have added data to by DB to include business name, email, url, etc for businesses.

I’m now trying to find a way where these businesses can click a ‘claim listing’ button so that they can sign up and edit their specific listing themselves.

Does anyone have any thoughts on how to achieve this?

My guess so far would be that I need to…

  • Add the businesses in the ‘User’ data type
  • Assign a temp password to user
  • Trigger the ‘Send password reset email’ when a business clicks the ‘claim listing’ button.
  • Then the business can update their password and login to update their business details.

Any help on how to get this setup is massively appreciated :slight_smile:

Kind Regards,

Calum

Hey Calum. I do this in my marketplace apps.

I put on the listing page a floating element on bottom with a ‘claim listing’ button. When the user clicks that, they are then shown the signup flow.

On the data type I use for the business, I have a field called ‘owner’ which is a User type. So when they select the business, I add that user to the ‘owner’ field. You could also do what you thought

But there is no need to do anything else you mention

This is because there is no need to create a User account for each business in the database in advance. Simply create the user when they claim the listing.

In reality, you’ll also need a system in place to verify they actually own the listing. Play like the big boys and send out a snail mail to their business address with a verification code (Google does this for registering a business account on Google). Or you could find an alternative approach, but you definitely don’t want to be having ‘blue tick mark’ issues with people claiming a listing they don’t actually own.

Thanks so much for your response.

With your approach, is there any custom states setup and privacy settings so that they can only edit their details?

Just wondering how your workflow works for that because all I can envisage so far is a button that signs up the user but not sure how I restrict them to only edit the business details of the business they claim.