How To Create Smart List Webhooks
Link: https://support.brilliantdirectories.com/support/solutions/articles/12000096184
Here is an overview of our Webhooks functionality: Developer Hub - Webhooks
The Webhooks functionality can be used to send data to any URL endpoint. This allows for sending data to intermediaries (Zapier, Pabbly Connect, Wokato, APIFuse, etc), API endpoints on other platforms, or custom endpoints created by the user to receive data.
Create the Smart List
The first step is to create the smart list based on the member search results.
Follow the steps in this article: My Members » Smart Lists
Create the Webhook Event
The Webhook Event must be created on Zapier, Pabbly Connect, Wokato, APIFuse, etc.
We have another article that explains how to do it: Connecting Webhook Events With Zapier
However, we will share specific instructions for smart lists on this article.
For this example, Zapier is used.
Create a new Zapier account or log in to an existing account.
Click on the "+ Create Zap" button:

Next, add a Zap name at the top left.
Click on the "1. Trigger" button:

Select the "Webhook" option:

Then, in the right sidebar, select the Event >> Catch Hook and click on "Continue":

Then click on "Continue" again:

Copy the Webhook URL:

Add the Webhook URL to the BD Admin
Go to Developer Hub >> Webhooks:

In the search bar, type Smart to locate Members Smart Lists. Paste the Webhook URL, enable the webhook using the toggle switch, and save the changes at the top right of the screen.

Configuration Note: Pasting the Webhook URL directly into the global Members Smart Lists field applies the endpoint execution to all member smart lists on the site. To target an isolated list instead, leave the global field blank and click New Webhook +.

Then select the specific smart list you want to create the Webhook for:

Go to My Members >> Smart Lists. Find the smart list created at the beginning of this article and click on Actions >> Sync Webhook Now:

Select the information that needs to be sent on the webhook and click on the "Continue With Webhook" button:

A success pop-up will show up.
Click on "Close Window":

Test the Trigger
Now go back to Zapier and click on "Test trigger":

Zapier will show the information sent from the admin, which means it was connected correctly. Select a request and click on "Continue with selected record":

Here is where we need to select what we want to do (Create a new google sheet, send an email notification, etc). In this case, we will create a new Google Sheet, so we will type "Sheet" on the search bar and select "Google Sheets":

For this example, we will create a new spreadsheet row. Zapier will ask to connect a Google Account to proceed.

A new Google Sheet named 'Smart List Webhook' can be created for this workflow, containing the specific fields intended for the webhook payload

Then go back to Zapier. When the account has been connected, Zapier will recognize the new spreadsheet created.

Parse the data and click on Test:

Check the spreadsheet to see if the information was updated:

Go back to Zapier and click on "Publish"

Schedule the Webhook
There are 3 ways to schedule a smart list webhook:
- Schedule Daily: The cron job will run once every day.
- Schedule Weekly: The cron job will run every Sunday.
- Schedule Monthly: The cron job will run on the first day of the month.
It can be selected here:

Requirement: Automated scheduling options (Schedule Daily, Schedule Weekly, Schedule Monthly) are only visible if the global Members Smart Lists webhook is enabled within Developer Hub > Webhooks.
The system will automatically create a cron job that will run on the selected schedule:

