All Collections
Thrive Automator
Examples of Automations
Connecting Your Thrive Themes Website to Digistore24 Using Thrive Automator
Connecting Your Thrive Themes Website to Digistore24 Using Thrive Automator

Learn how to use Thrive Automator to connect to your Digistore24 account.

Iulia Dezmirean avatar
Written by Iulia Dezmirean
Updated over a week ago

In case you want to connect your Thrive Themes account to Digistore24, you can do that using Thrive Automator, using the "Incoming Webhook" start trigger.

As an example, we will create an automation that will register users that have purchased a product we've set up on Digistore24 to our site and grant them access to one of our Thrive Apprentice products.

This article will guide you through the steps in which you can achieve this connection.

Create your product in Digistore24

Naturally, in order to get started with the connection, you will have to make sure that you've created, set up and published the product you're selling from the Digistore24 platform.

Since this is a third-party integration, we'll not go through the details on how to do that in this article, as Digistore24 does have a comprehensive knowledge base with various information about how to use their platform. Here are some resources:

Create the automation in Thrive Automator

We'll start working in Thrive Automator and create our automation. To access the dashboard, go to your WordPress admin dashboard and, in the left sidebar, hover over Thrive Dashboard. From the sub-menu that opens, click on Thrive Automator:

The dashboard will open, and you will see a list of your previously created automations. To add a new one, click on the "Add new" button from the top right-hand side of the dashboard:

In case you need help setting up automations in Thrive Automator, make sure you check out this knowledge base section, with various articles about that.

As you start setting up the new automation, you can start by renaming it:


Choose the automation start trigger - Incoming Webhook

Then, it's time to choose the start trigger. Open the dropdown with the list of available options and choose the "Incoming Webhook" start trigger:

Upon choosing this start trigger, a webhook URL will be generated. This is the URL that we have to add into the Digistore24 Integrations section, to interconnect the two platforms. You can go ahead and copy this URL:

Access the Digistore24 Integrations

To be able to use the webhook and properly populate the fields with the necessary information, we will need to work in both Thrive Automator and Digistore24 at the same time.

Once the webhook URL has been copied, access your Digistore24 account, click on "Settings" from the top menu and click on "Integrations(IPN)" from the sub-menu that opens:

You will have to add a new connection using this option:

Scroll down to the bottom of the integrations list and choose "Webhook":

Then, provide a name for the connection:

Choose the products that should be included in this integration, and set up the rest of the mandatory fields.

You will get to the "Webhook URL" field, and this is where we will have to paste in the Webhook URL generated in Thrive Automator:

For the connection to properly work, we will also need to set up the correct parameters/incoming data, according to what information we want to be assigned to our users.

Digistore24 comes with a set of default parameters that can be sent over to your users when registered:

It is very important to make sure the data that will be received by the webhook will be correctly set up.

This means that we will have to make sure that the correct fields will be mapped in the "Incoming data" section.

In Thrive Automator, you can either manually add the data, or you can use the "Listen" mode to populate the fields:

If you want to use this feature, click on "Listen" and go back to the Digistore24 integration and click on "Test Connection". When you go back to the automation, all of the parameters will be added:

Make sure that the integration is saved, before testing it.

By default, when the fields are added in Thrive Automator, they will all have the "Text" type selected:

Important! In order for the data to be sent properly, you might have to change the types of the fields that will be relevant for your integration.

For example, in case of the "email" field, you will have to change the type from "Text" to "Email":

This is just to ensure that, in the next step where we will have to find or create a user, the automation can correctly map out the email of the user.

And if you do not wish to keep all of the fields that have been added here, you can manually remove some of them:

Click on "Done" to save the start trigger:

Additionally, you can also set up the security settings, in the form of incoming data key-value pairs:

The security settings simply represent an additional layer of security. If you decide to add key-value pairs here, when the Incoming Webhook does not receive these values in the header, it will be rejected and the automation will not fire.

Choose a filter (optional)

Optionally, before moving to the next step, you can add a filter in the automation. This is not mandatory, but it can be an additional step that will ensure the automation only starts in the right situation.

For example, you can add a filter to have the automation run only if a specific product has been purchased. You can use the "Product ID" field in this filter.

If you want to do that, go ahead and add a "Filter" as the next action:

You will then have access to this dropdown, that will populate with the fields that have been sent over from DigiStore24, when using the "Listen" feature of the Incoming Webhook start trigger:

To have the automation start for a specific product, I will go for the "Product ID" field, and then choose the "Equals" option from the next field:

A new field will appear, where you will have to insert the value, so the product ID:

In this particular case, the product ID can be found under the list of products from the DigiStore24 website:

Once you've added the product ID, you can click on "Done" to save the filter:

Choose the next action - "Find or create user"

Once the start trigger has been chosen, you can go ahead and choose the rest of the actions that the automation should perform.

In this case, once the webhook is received (the product has been purchased via Digistore24), the automation will have to check whether an account associated with this user already exists so that they will be added as a subscriber to my site.

If the user has not been found, an account will be created and they will be added as a subscriber.

After that, they will be granted access to one of my Thrive Apprentice products.

Therefore, the next action to be taken here should be the "Find or create user" one.

This way we can ensure that, regardless of the situation of the person that has been assigned the tag (whether they have an account created on our site or not), the automation will either find the user and grant them access, or they will create a new user.

For this action, you will have to choose the role to be granted to the user, and you can also map out the first and last name:

Choose the next action - "Grant access to product"

It is time to choose the next and last action here:

This should be the "Grant access to product" action, that will become available once you've added the "Find or create user" action:

All there's left to do here is choose the Thrive Apprentice product that the users will get access to:

Click on "Done" when finished:

When you're done, you can activate the automation from the top right side of the automation, and click on "Save and finish".

As a result, upon making their purchase, users will be added to your site and, if you go to the "Customers" section of your Thrive Apprentice dashboard, you'll also notice that they have gained access to the product with the course:

Revoke users' access from the Thrive Apprentice product

In case you want to automate the process that removes the users from the Thrive Apprentice product (in case their subscription has ended or other similar situations), you can quickly create another automation that does that.

In Thrive Automator, you will have to create a new automation with the following structure:

As you can see, it is almost identical to the other one, except for the last step, which will remove the users from having access to the product.

For this, you will have to set up another webhook in DigiStore24, that will run for events such as these ones:

This, of course, will depend on the way you want to create the process on your site.

When setting up this second webhook in DigiStore24, the Webhook URL that has to be inserted in this field will be the Webhook URL of the Thrive Automator automation that removes the users from the Thrive Apprentice product (shown above):

If you create this entire setup, you'll end up with the following result:

  • when someone purchases your product via DigiStore24, they will be granted access to your Thrive Apprentice product;

  • in case an order event such as a refund, missed recurring payment, end of subscription, etc. occurs, they will be revoked their access to the Thrive Apprentice product.

Hopefully, this article was useful to you. If so, feel free to leave a smile below πŸ˜„

Remember that you can always find out more information and examples of automations created with Thrive Automator in our knowledge base.

Did this answer your question?