This guide shows you how to use a simple webhook to connect the Simple Membership plugin with Zapier. By setting this up, you can automatically send member data to Zapier whenever a new member completes the registration form, enabling seamless automation workflows.
Table of Contents
Prerequisites
This documentation assumes you have working knowledge of Zapier and are comfortable performing minor code edits. If you require assistance with the code modifications, we recommend hiring our dedicated developer or a third-party professional.
Download the Integration Code
Use the link below to download the ready-to-use example addon:
Download Zapier Integration Example Addon
How to Use
Step 1) Create a Zap in Zapier
- Go to your Zapier Dashboard.
- Create a new Zap and select “Webhooks by Zapier” as the trigger app.
- Choose “Catch Hook” as the trigger event.
- Copy the Webhook URL provided by Zapier.
Step 2) Install and Activate the Example Addon
- Go to Plugins → Add New → Upload Plugin on your WordPress dashboard.
- Upload the downloaded Zapier example addon ZIP file.
- Activate it.
Step 3) Edit the Addon File
Open the plugin file (swpm-zapier-webhook.php) using a text editor or via your hosting file manager.
Find the following line near the top of the file:
$zapier_webhook_url = 'https://hooks.zapier.com/hooks/catch/XXXXXXX/XXXXXXXX';
Replace it with your actual Zapier Catch Hook URL. For example:
$zapier_webhook_url = 'https://hooks.zapier.com/hooks/catch/1234567/abcdefg';
Step 4) Save the File
That’s it! From now on, whenever a member completes the registration form, this addon will send the following data to your Zapier Webhook:
- Username
- Name
Troubleshooting Related
If you encounter issues, enable debug logging feaature in the core plugin then do a new test. If everything is set up correctly, you should see a log entry that includes the following line:
Data sent to Zapier webhook URL
Also ensure your Zapier webhook URL is correct to avoid data transmission issues.