By using our plugin, Urgency Coupons for Mailing Lists, you can create a personalized coupon code for each subscriber that you email. This tutorial shows you how to do this using SendPulse, a really great option for your email marketing needs.

Jump to section:

Note that you’ll need to have a paid SendPulse account so that you can set up automations and create a Webhook.

Step 1: Create Your Coupon in Urgency Coupons for Mailing Lists

You can create a coupon in the WordPress Dashboard under Urgency Coupons for Mailing Lists > All Urgency Coupons > New Coupon.

Fill out the various details about the coupon you wish to add, such as the value, amount, discount type, etc. The suffix is what will be added to their personalized email code. (If you need more details about this, you can find them in this post.)

Under Mailing List Provider, you’ll need to choose SendPulse. When you do this, you’ll note that a field is shown asking you to enter a code from SendPulse. You don’t have that yet but will soon.

Go ahead and save/publish your coupon. You’ll then see a Webhook URL which you’ll need to copy and use in Step 2. Also, we’ll be coming back to this coupon in a moment, so leave this tab open.

Webhook after adding an Urgency Coupon

Step 2: Set Up Your Automation in SendPulse & Add a Webhook

In SendPulse, you’ll need to create an automation if you don’t already have one. SendPulse has a lot of good documentation on doing that, and it’s pretty easy. Here’s a good link to get you started if you need.

Once you have an automation, you’ll need to add a webhook from under the “Action” section on the left in the screen shown.

When you’ve added the webhook, you’ll see options on right side:

  • Action: Send Webhook
  • Webhook Name: [This is just for your use and can be anything]
  • URL: Paste the Webhook URL you copied earlier in Step 1.

Note that below the URL setting, it says “please send the following key in your response…” Copy everything shown in red, including the brackets.

Keep this tab open, and go back to your coupon you created in Step 1.

Creating a webhook in SendPulse for Urgency Coupons for Mailing Lists

Step 3: Paste the SendPulse Code Into Your Coupon Settings

Head back over to the coupon you created in Step 1. If you closed it, that’s ok – just open it back up to edit it.

Scroll down to the section that says “SendPulse Key” and paste in the code you received from SendPulse. Make sure it begins and ends with brackets, and click Update to save your changes to the coupon.

Step 4: Test the Webhook In SendPulse

In your SendPulse settings, click the link that says “Run a test request.”

If everything was set up correctly, you should see a success message and a test coupon should have been created.

If it fails, make sure you put the proper webhook URL into the URL field in SendPulse, and make sure you copied the correct code from SendPulse and saved it in your coupon settings.

Step 5: Add the Coupon Code to the SendPulse Email

In your SendPulse automation, edit the email and use a variable along with the coupon suffix you created in step 1 so that the personalized coupon code is shown to each of your subscribers who receive the email.

For example, if you created a suffix in step 1 called “-50DOLLARSOFF” then you would add {{email}}-50DOLLARSOFF to the email.

That’s it!

You should now have a working automation in SendPulse that creates customized coupons for your subscribers and notifies each subscriber of their personalized coupon code.

Please reach out if you have any questions.

Don’t have Urgency Coupons for Mailing Lists and are interested?

Click Here

Steve Talley

Steve is our website & marketing guru, helping companies, organizations and individuals with their online presence. Overseeing the coding and marketing side of a website as well as delving into the highly technical aspects of programming your site, Steve will help you at every step of the way to develop a vision that focuses on delivering your message. In addition, Steve can help you with training or promotional videos – that is, when he’s not spending his free moments with DIY projects, gardening, and enjoying the company of two boisterous English Shepherds.

Pin It on Pinterest

Share This