Skip to main content
All CollectionsIntegrationsZapier
Zapier tutorial: Approve user based on the User type
Zapier tutorial: Approve user based on the User type

Learn how to automatically approve a user to your marketplace based on their User type.

Yifan Dong avatar
Written by Yifan Dong
Updated yesterday

Welcome to a practical Zapier tutorial! In this guide, you'll learn how to set up a Zap to automatically approve a user to your marketplace based on their User type.

By default, whenever you enable the "Approve users who want to join" setting, you need to approve each individual user manually from Console. However, sometimes you may want to approve one side of the marketplace automatically (for example, customers), while still reviewing the other side manually (for example, providers).

About Zapier

Zapier is a powerful and versatile tool for integrating different tools into your marketplace. You can learn more about Zapier in our introductory article or through this brief video from Zapier.

If you haven’t read the introduction and the action/event Zapier articles, we encourage you to do so to better understand how Zapier works. But if you want to dive straight into action, feel free to read on!

What you need for this tutorial

External accounts

  1. Zapier Account

    • Create a Zapier account if you don’t already have one. You can sign up at www.zapier.com.

    • During registration, Zapier may ask which apps you plan to use. You can enter Sharetribe at this point or add it later.

How to set up your marketplace

Your marketplace must be configured in a certain way to support this Zap. Here is how you should set things up:

  1. Recently created user

  2. User approval setting enabled

With these pieces in place, let's get started!

Getting your Integration API key from Console

You'll need Integration API keys to connect your Sharetribe marketplace to Zapier.

  1. Click on "+ Add a new application".

  2. Give the application a descriptive name (like Zapier), and select "Integration API".

  3. Click "Add application".

  4. Important: Copy and paste the Client ID and Client secret to a safe place, like a password manager.

IMPORTANT: Think of the Client ID and Secret as a sort of a password to your marketplace that can be used to access your marketplace data through other services. Note that you won’t be able to ever see the Client secret to this application again in the Console under any circumstances. Make sure you copy it to a secure place. If you lose it, you will need to create a new application.

Creating the Zap, step by step

(Optional) Importing the Zap template

  1. Go to www.zapier.com and log in with your account (or create a free one if you don't already have one).

  2. Open the pre-made Zap for approving users based on their User type here.

  3. Click on "Try this Zap."

Step 1: User signup

We start by using the a user signup as the event to trigger the Zap.

  1. In the Setup section, select Sharetribe as the app

  2. Select "User Events" as the Action event

  3. Connect your Sharetribe account

    1. Click Continue to move to the Configure section

  4. Select "User created" as the Event type

    1. Click Continue to move to the test section

  5. Test this action to confirm that Zapier can find a newly signed up user on your marketplace.

Step 2: Filter by user type

In this step, we'll add a filter to include only users who belong to a certain User type to ensure that only those users get approved in the following step.

  1. In the Setup section, select Filter by Zapier as the app

    1. Click Continue to move to the Configure & test section

  2. Select "User Profile Public Data User type" in the Only continue if field.

  3. Select (Text) Exactly matches, and enter the User Type ID you have configured in Console for that specific User type.

    1. Click continue.

Step 3: Approve user

  1. In the Setup section, select Sharetribe as the app

  2. Select "Approve user" as the Action event

  3. Connect your Sharetribe account

    1. Click Continue to move to the Configure section

  4. Select "User ID" in the User ID field

    1. Click Continue to move to the test section

  5. Test this action to confirm that Zapier correctly approves the user who signed up

That’s it! From now on, Zapier will automatically approve any user belonging to the specified User type in the marketplace.

Final thoughts

Thanks for reading this tutorial about creating a Zap for approving users based on the User type.

Please get in touch with us from your Console or from the bottom right section of this page from the chat widget if you have any questions about this guide, or anything else. We'll be happy to help!

Did this answer your question?