Skip to main content
All CollectionsIntegrationsZapier
Zapier tutorial: Approve a listing after the listing fee is paid
Zapier tutorial: Approve a listing after the listing fee is paid

How to automatically approve and publish listings when your providers pay the listing fee using Zapier

Yifan Dong avatar
Written by Yifan Dong
Updated over a week ago

Welcome to a practical Zapier tutorial! In this guide, we'll walk through automating the approval of a listing once a provider has paid a listing fee. This tutorial will cover the final step on how to implement listing fees in your marketplace.

Marketplace admins normally need to manually approve listings, which can be time-consuming and delay the provider’s listing from going live. With Zapier, you can automate this process. Once payment is confirmed via Stripe, Zapier triggers the listing approval in Sharetribe, allowing listings to be published automatically upon successful payment. This automation saves you time and effort by eliminating manual approvals. Let’s dive into the technical setup and streamline your marketplace workflow!

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 understand better 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. Stripe Payment Page

  2. 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 Zapier information. Learn more about how to set up your marketplace in our guide to charging a listing fee.

Here is how you should set things up in brief:

  1. Listing Approval Feature Enabled

  2. Dynamic Parameters Set Up

    • Add the Listing_ID and Email Address as dynamic parameters to the listing approval CTA button. This is crucial to ensure that the correct listing ID and email address are fetched during the Zap process so the correct listing is approved and the right listing owner is notified.

  3. Marketplace Activity

    • Your Sharetribe marketplace (test or live) should have at least one listing in a pending approval state so that Zapier can perform the actions and test whether they work. If you don’t have any recent listings, create one now to ensure there’s data for Zapier to process.

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 automatically approving a listing here.

  3. Click on "Try this Zap."

Step 1: Find the payment in Stripe

First, locate the payment in Stripe that will be used as the trigger for approving the listing in Sharetribe.

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

  2. Select "Checkout Session Completed" as the Trigger event

  3. Connect the Stripe account where you have you’ve set up the listing fee payment page/ product.

    1. Click Continue to move to the Configure section

  4. Select "True" in the would you like to use test mode data for the test sample field.

    1. Click Continue to move to the "Test" section

  5. Test the trigger, and make sure it finds a recent Stripe payment. You can perform a Stripe payment in Test mode (Learn how here).

IMPORTANT: Test payments in Stripe (payments using test credit card credentials and the test checkout page) do not work as triggers in Zapier. This means you will not be able to test the fully automated workflow while Stripe is in Test mode. Only Live mode payments on a live checkout page can trigger a Zap. Nevertheless, you can use Stripe’s test data only if you are finding the record it creates in Zapier manually while testing your Zap.

Step 2: Approve listing

Once the Zap is triggered by Stripe after a successful payment, the next step is to approve the corresponding listing in Sharetribe.

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

  2. Select "Approve listing" as the Action event

  3. Connect your Sharetribe account

    1. Click Continue to move to the Configure section

  4. Select "Client reference ID" as the Listing ID.

  5. Select "True" in Expand the response to "Return the full resource?"

    1. Click Continue to move to the "Test" section

  6. Test this action to confirm that Zapier finds the listing pending approval, corresponding to the payment made.

By following these steps, you’ll automate the listing approval process and notify providers when their listings are published.

Final thoughts

Thanks for reading this tutorial about creating a Zap for your Sharetribe marketplace to automatically approve a listing after the listing fee is paid.

Another way to monetize listings would be to charge a subscription fee for posting rights. In exchange for a recurring payment, a user is given posting rights. When they unsubscribe, you revoke their payment posting rights and close their open listings using the Sharetribe-Zapier integration.

Feel free to 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?