The Webhooks app is one of the latest additions to the Whop apps roster, and is one of the most powerful apps out there. If you’ve used Discord before, you might be familiar with the concept of webhooks, and the Webhooks app works the same way. Whether you want to get automatic posts from news outlets or post manual webhook messages yourself, the Webhooks app is what you need.

In this guide, we’re going to remember what a Whop app is, take a look at the Webhooks app, how you can add it to your whop, how you can use it, and even how you can send manual messages by using scripts.

What is a Whop App?

Let’s think of a modular digital platform - a whop, to be exact. When you first create your whop, it will be a blank canvas waiting to be designed. Since it won’t have any modules, or “apps”, it will be unusable - until you start adding some.

Now, think of all the great digital platforms with specific purposes, like Coursera, which people use to create online courses, or Discord, which people use to chat with their friends. Wouldn’t it be cool if you could swap, add, or remove features from those platforms? Maybe you would want to give your course students a way to search a job board, or sell ebooks to your Discord members.

Well, this is where Whop comes in. With Whop, you can create an internet hub (known as a whop) where you decide which features it has.

There are a lot of apps on Whop that you can use to create combinations, and all of them are free to add, swap, or remove. One of those powerful apps is the Webhook app, which is the focus of this guide.

Let’s take a look at what the Webhook app is.

What is the Webhooks App on Whop?

The Webhooks app is a way to relay webhook posts to your whop. You can think of webhooks as a courier between two people. One writes a letter and gives it to the webhook, and it delivers the letter to the receiver. Of course, this is a super simplified explanation of webhooks - they’re pretty complicated when compared to a simple courier service.

But don’t worry, because no matter how complicated the concept of webhooks is, you can use the service super easily thanks to the Webhook app.

A preview of the Webhooks app on Whop

Using the Webhooks App

Webhook apps can be used for multiple purposes, but if you’re not going to manually post webhooks, which you can do, you’re somewhat limited by the services that do provide webhook posts.

Some of those services include GitHub, Zendesk, Zapier, and more. No matter what kind of service or manual posting you’re going to use, let’s see some example uses of the Webhooks app:

  • Announcements: Since you can send custom messages manually to the webhooks, you can use the app as an announcement channel. Of course, using the Webhooks app is a good way to publish announcements, but the Forums app might be better.
  • Following Third-Party Updates: A lot of media outlets use RSS feeds that can be turned into webhook posts. Let’s say you have a whop for Star Wars fans - you could connect the StarWars.com blog’s RSS feed to your webhook and get updates for each post.
  • News: Just like media outlets, many news channels also provide RSS feeds that can help your whop stay up to date with relevant topics.
  • Patch Notes: If you’re making changes to your whop or your whop is about a software/game/platform that gets patches, you might want to share the patch notes with your members using the Webhooks app.
  • Ecommerce and CRM Activity: If you’re running an ecommerce platform, it might be super helpful to use a webhook connection to get updates about actions. This will allow you and your team to stay synced.

How to Add the Webhooks App to Your whop

Adding the Webhooks app to your whop is as easy as adding any other app. But you have to make sure you have a whop to begin with. If you don’t have one, we suggest you take a look at our How to Create a Whop Product guide to see how you can create one in under 5 minutes.

If you do have a whop ready, let’s see how you can add the app to your whop. First, click on the Add apps button under the Admin Area of your whop. This will take you to the list of all available apps.

The Add apps button on a whop

Once you’re viewing the app list, find the Webhooks app and click on its Add app button to add it to your whop. If you don’t want to bother with finding the app, you can use the search bar at the top left of the list to search for the app.

The Add app button of the Webhooks app on Whop

Using the Webhooks App

Almost all apps on Whop have three sections: Set up, Preview as user, and Access. As their name suggests, each section allows you to access a different part of the app, but these sections are only visible to the staff of your whop - meaning that regular users won’t see them.

When you add the Webhooks app to your whop, you’ll be directed to the Set up section of the app, so let’s examine each section - starting with Set up.

The three sections of the Webhooks app on Whop: Set up, Preview as user, and Access

1. Set up Section and How to Send Manual Messages to the Webhooks App

When you first take a look at the Set up section of the Webhooks app, you’ll see a single button, which is all you need. The button is labeled Generate and copy - clicking on it will create a webhook URL for you.

When a service is trying to make a post request, which means sending a message, it will require a webhook URL to send the post request to. After clicking the Generate and copy button, the generated webhook URL will be copied to your clipboard so you can use it in the webhook service you’re going to utilize.

The Set up section of the Webhooks app on Whop

Now, if you’re not going to use a third-party service but send messages into the Webhooks app yourself, you can easily do so using a simple and short Python script. As you can see in the script below, we’re using the username and content keys to determine the contents of the message.

After making sure to replace your webhook URL part with the URL that you got using the Generate and copy button, let’s run the script to send a test message to the app.

import requests

webhook_url = 'your webhook URL'
message = {
    'username': 'The title of the webhook message',
    'content': 'The content of the webhook message',
}

response = requests.post(webhook_url, json=message)

if response.status_code == 200:
    print('Message sent successfully!')
else:
    print('Failed to send message:', response.status_code, response.text)

You can run this script by saving it with a .py extension on a text editor and then using the cmd/terminal to run the py filename.py command. If the script runs successfully, you’re going to see a “Message sent successfully!” message, and if not, “Failed to send message.”

DO NOT share the webhook URL you generate in the Webhooks app since as long as someone has the URL, they can send all sorts of unwanted material to the app.

2. Preview as user

After running the script (or using a service), let’s visit the Preview as user section to see our test message. The Preview as user section allows you to see the app from the perspective of a regular user. Since regular users can’t see the section buttons, what you see in this section will be the only thing they see.

The Preview as user section of the Webhooks app on Whop

As you can see, the username key of our script is displayed as the title of the webhook message, and the content is under the title. You can use the script to send as many manual messages as you want.

3. Access

Almost all apps on Whop have two access types: Free and Paid/Private. As their name suggests, the Free access type will allow anyone on the internet to access the Webhooks app and see its content as long as they have a link to the Webhooks app or your whop.

This is ideal if you’re looking to run a free, public platform where everyone is welcome. However, if you’re looking to monetize your platform or have greater control over who accesses the Webhooks app and how, you should select the Paid/Private option.

The Access section of the Webhooks app on Whop

Selecting the Paid/Private option will display a list of all the products in your whop. The purpose of this is to link the app with a product using the toggle buttons next to them in the list. Since products you can create in your whop can be free, single payment, subscription, waitlisted, or even private with secret passwords that you determine, you’ll be able to control how people access the app.

If you don’t have any products yet, you can create one using the Create Product button at the top right of the list. After clicking on the button, you’ll see a popup window with a few very simple steps, but still, we recommend you to check out our walkthrough on creating whop products on How to Create a Whop Product guide.

The Access section of the Webhooks app on Whop

Monetize Your whop and Start Earning Today

Now you know one of the latest additions to the Whop apps - great job for keeping up! Now, it’s time to take the next step and learn more by joining Whop University and checking out our other comprehensive guides.

Thousands of creators have been running their own monetized whops to generate income and create their dream digital platform, and it has never been easier. By utilizing features like 24/7 support, advanced analytics, and more, you can create your dream platform and start earning. Sign up to Whop today.