Have you ever wished you had several newsletter sign-up forms on different websites that all collected subscribers into a single newsletter list?

This guide shows you how to do that.

This is a premium feature.

To follow along with this tutorial, ensure you’ve installed the latest versions of both Noptin and the Ultimate Addons Pack on each website you would like to connect.

Step 1: Create a listener on the master site.

Open one of the sites and then create an automation rule that listens to incoming webhooks and creates or updates a subscriber.

To do this,

First, log into your site’s admin dashboard and then click on Noptin > Automation Rules to open the automation rules overview page…

Open automation rules overview page

… and then create a new automation rule that creates/updates a subscriber whenever there is an incoming webhook.

Noptin will provide you with a secret URL for your webhook but you can still set a secret verification key for added security. Feel free to use this random password generator to generate a secret verification key.

Add a verification key to the incoming webhook trigger
Replace the value with your own secret verification value. Add as many verification keys as needed.

Next, map the subscriber fields as shown below and then save your automation rule.

TIP:

The merge tags in the above screenshot won’t show when you click the merge tags button.

Don’t worry, we’ll provide them in step 2.

Noptin will save the automation rule and then reveal its secret URL. Copy it and head to the next step.

Incoming webhook URL

Step 2: Create outgoing webhooks on the external sites

The final step is to visit each website where you would like to sync subscribers and then create an automation rule to sync the subscribers.

To do this,

First, log into your site’s admin dashboard and then click on Noptin > Automation Rules to open the automation rules overview page…

Open the automation rules overview page

… and then create a new automation rule that sends a webhook whenever a subscriber is created or updated.

Tip: Feel free to use any trigger.

For example,

You can create an automation rule that only sends the webhook whenever a subscriber confirms their email address.

You can set up conditional logic if you want Noptin to only send the webhook when the specified conditions are met.

Example automation rule conditional logic
Example conditional logic that only sends the webhook if a logged-in user subscribes using a subscription shortcode.

Next, paste the webhook URL that you copied in Step 1 into the “Webhook URL” field and then set the method and content type as shown below:-

Set up the webhook data

Click on the add button to add data to your webhook request as shown below.

Tip 1: You must include all the verification details you specified in step 1.

Both the key and the value should match those that you used when setting up step 1.

Tip 2: Remember to provide all the merge tags that you used when mapping the custom fields in step 1.

For example,

If you set the subscriber’s name as [[first_name]], you need to add a field in step 2 that has first_name as the key.

You can always map the value in step 2 to a merge tag.

That’s all.

Save your automation rule and test to see if everything works well.

Note that the webhook won’t send if you save a subscriber’s data without changing anything.

What if your REST API requires authentication?

In this case, you need to add an authorization header to each of the external sites’ automation rules.

To do this,

First, click open your “master” site’s admin dashboard and then click on Users > Profile to open your profile edit form.

Next, scroll down to the Application Passwords section and generate a new application password.

generate wordpress application password

Once done, use an online tool such as the one below to base64 encode the username and password.

The username is your WordPress admin username, while the password is your new application password. If you aren’t sure, scroll to the top of your WordPress admin profile page to verify your username.

Header Key: Authorization

Header Value: Basic

Finally, open each of the external sites and add the generated authorization header as shown below:-

add authorization header to noptin webhook sender

Related Guides

  • Cleaning Up Your Email List: A Step-by-Step Guide to Deleting Bounced Subscribers

    How to automatically delete subscribers who bounce or report your emails as SPAM

    Read More

  • Custom Fields

    One of the most powerful features of Noptin is its support for custom fields. You can use custom fields to store more information about your subscribers (such as their phone numbers and birthdays). This guide shows you how to create and edit custom fields. Creating Custom Fields To create a new custom field:- First, visit…

    Read More

  • Importing Subscribers

    Learn how to import subscribers from another system into Noptin.

    Read More

  • Subscriber Lists

    Subscriber lists allow you to categorize your subscribers, similarly to how you use normal categories in WordPress. You can set lists in such a way that subscribers can only be on a single list at a time or multiple lists at the same time. Unlike tags, subscribers can select their own lists either on the…

    Read More

  • Tagging Subscribers

    Learn how to manually or automatically tag or untag subscribers based on how they signed-up and the actions they take on your site. You can then filter email recipients by tags

    Read More

  • Double Opt-in

    This guide shows you how to enable double opt-in and how to edit the double opt-in email. Double opt-in means that subscribers will not receive any marketing emails unless they confirm their email addresses.

    Read More

  • Unsubscribing

    To comply with the CAN-SPAM act and other anti-spamming laws, Noptin allows you to add the [[unsubscribe_url]] merge tag to your emails to give your subscribers a way to unsubscribe from your newsletter. This is added by default to your newsletter’s permission reminder. You can, however, add it anywhere in the emails you send. Customizing…

    Read More

  • Welcome New Subscribers

    74% of your subscribers expect a welcome email after they sign up for your email list. Invespcro A welcome email is the first email that you send to your subscribers after they sign up for your email list. To set up a welcome email:- First, click on Noptin > Email Campaigns > Automated Emails to…

    Read More

  • Automatically delete non-confirmed subscribers

    If you’ve enabled double opt-in, you can set up an automation rule that automatically deletes any subscriber who does not confirm their email address after a certain period. To do this:- First, open your admin dashboard and then click on Noptin > Automation Rules to open the automation rules overview page. Next, click the “Add…

    Read More

  • Bulk-delete newsletter subscribers

    Noptin allows you to bulk delete your newsletter subscribers. You can delete all your subscribers or filter them by:- This is useful, for example, if you have a comma-separated list of bounced emails and need to bulk-delete all of them. To do this:- First, open your admin dashboard and then click on Noptin > Email…

    Read More

  • Exporting Subscribers

    How to download your subscribers or only a segment of your subscribers.

    Read More

  • Hiding Forms From Existing Subscribers

    It’s annoying when you keep displaying newsletter subscription forms to your existing email subscribers. To hide the forms from existing subscribers:- Open the Noptin settings page and toggle the “Hide From Subscribers” switch. That’s all! Your existing email subscribers will no longer see any subscription forms, checkboxes, or popups. However, subscribers that you imported from…

    Read More

  • Manage Subscription Preferences

    Create a manage preferences form where subscribers can unsubscribe (or resubscribe) from your newsletter or update their subscription details.

    Read More

  • Notify the site admin when there’s a new subscriber

    This guide shows you how to notify the site admin whenever there’s a new subscriber. We’ll use automation rules to achieve this.

    Read More

  • How to Retrieve and Restore Your Subscribers from a cPanel Backup

    We recommend that you export your subscribers before installing a major update. This way, you can always re-import the subscribers if anything goes wrong. This tutorial shows you a workaround you can use to import your subscribers in case you forgot to export your subscribers. Step 1: Access cPanel and Open phpMyAdmin Step 2: Locate…

    Read More