|
/ Knowledge Base /Integrations/ How to Automatically Add Users to Access Groups Using SureTriggers?

How to Automatically Add Users to Access Groups Using SureTriggers?

SureMembers lets you safeguard your website content by creating Access Groups. These access groups make sure that your content is only visible to people who are part of the given access group.

access groups

You can either add people to access groups manually or let SureTriggers do it automatically when certain conditions are met.

For example – If someone purchases your course on an E-commerce platform like SureCart or WooCommerce, SureTriggers can automatically add them to SureMembers access groups.

automation example

In the following guide, we will walk you through the process of adding users automatically in SureMembers using SureTriggers.

What is SureTriggers?

SureTriggers makes your work easier by connecting different apps and automating processes. It works smoothly with WordPress and other apps, allowing you to create automation workflows.

suretriggers homepage

With SureTriggers, you can perform actions in one app when something happens in another app.

For instance, when a customer purchases from your E-commerce store like SureCart or WooCommerce (trigger), you can set up an action to enroll the buyer into a SureMembers access group.

It helps you save time and effort!

How to Get SureTriggers

Once you’ve recognized the advantages of automation for yourself and your business, Getting Started with SureTriggers is a straightforward process.

Simply visit the SureTriggers website and click on the “Sign Up” button.

You’ll be guided through a straightforward registration process, where you’ll create an account with your basic details like name, email address, and a secure password.

Or you can simply sign up using your Google account details in a few clicks.

signup

Once you provide the information, you’ll get a one-click verification email to the email address that you used for registering.

Once you’ve verified your email, you’re ready to embark on your automation journey!

How to Connect SureTriggers with SureMembers

To connect your SureTriggers account with SureMembers, you can simply install and activate the SureTriggers plugin on the site where you’re using SureMembers.

If you need help installing SureTriggers on your WordPress site, our official documentation is here for you!

suretriggers plugin

Once you’ve installed SureTriggers plugin on your website, you will be able to use SureTriggers within your WordPress admin area and create workflows that involve SureMembers.

How to Create Workflow to Automatically Add Users in Access Groups

Once you’ve connected SureTriggers to your WordPress site where SureMembers is installed, you can simply follow the steps below.

Step 1: Setting Up Trigger for SureCart Purchase.

  • Click on Create Workflow to create a new automation.
create workflow
  • Give your workflow a name for easy reference. For example – Automatic user enrollment.
name your workflow
  • Click on the Add Trigger button.
add trigger
  • Select the app that should trigger your workflow. We’ll take SureCart as an example. It’s important to note that SureTriggers is compatible with a wide range of applications.
select surecart
  • Specify the trigger event, which is Purchase Created in this scenario.
purchase created
  • Select your Connection as the SureCart store in which you’re selling the products.
  • Choose the Product you want to associate with this trigger.
select connection and product
  • Click on the Fetch Data button.
fetch data
  • Click on the Save button.

Step 2: Setting Up Action to Automatically Enroll into SureMembers Access Group

Next, you’ll define the action that happens when the trigger event occurs.

  • Click on the + icon.
plus icon
  • Search for SureMembers and select it as your action app.
select suremembers
  • Choose Add User to Access group from the dropdown.

add user to group
  • Select the specific Connection to which you want to add users.
select action connection
  • Choose the user information you want to fetch. Here we have chosen the Customer Email.
customer email

  • Select the Access Group you want to enroll users into. In this example, it’s the “VIP Club.”
vip club
  • Click on the Test Action button
test action
  • Click on the Save button.

Here’s how the final automation workflow appears on the user interface.

publish

  • Click on Publish.

Once your workflow is live, whenever a customer buys the designated product on your website, they will automatically join the access group you defined in your workflow.

We hope this article was helpful. If you encounter any issues or have questions, we’re here to assist you. Feel free to reach out anytime!

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Remind me about SureMembers's HUGE Black Friday Sale

Scroll to Top