How to Connect Mautic and Sumo for Email Lead Capture

This post will show you how to integrate Mautic and Sumo. If you’re not familiar with Sumo tools, you should definitely check them out (<< that’s my affiliate link). Their showcase of customers is pretty impressive too.

Point is, you need to collect email addresses to feed Mautic, and Sumo tools are an excellent option. Especially if you’re already using them 😉

Here’s the plan:

Part 1: Set up Sumo
Part 2: Connect Zapier with Mautic
Part 3: Create your Zap with Mautic and Sumo

Let’s get into it!

Getting started

In this tutorial, I’m assuming you already have Mautic up and running. Please note: SSL is required for this to work. Your Mautic instance must be running https and Mautic version 2.9 or higher.

Aside from Mautic, the only other tools you’ll need are:

  • A free Sumo account (formerly called ‘SumoMe’)
  • A free Zapier account

If you already have a Sumo account with live popups, move on to Part 2: Connect Zapier with Mautic.

Part 1: Set up Sumo

If you don’t have a Sumo account, you can use my affiliate link to sign up. The free version of Sumo will work fine to get started!

After signing up, you’ll need to integrate Sumo with your website:

Sumo install code

Add the code manually, or follow their instructions for installing on your specific platform. If you use WordPress, there’s a plugin you can use. See: Installing Sumo on WordPress

Create your popup

  1. In your Sumo account, go to Forms > List Builder. Select the “Collect Emails” goal.
    Sumo list builder goal
  2. Select “Popup” as the form type. The design is totally up to you. For this tutorial, I’m just collecting email addresses. But you can always add additional fields. Note that Sumo also allows you to design the “success” screen that shows after someone opts in, so don’t forget about that!
  3. For visibility, choose “Manual” mode. You can adjust popup timing, but I’m sticking with the defaults for now. The display rules available in Sumo are incredibly powerful. I’ll be sharing a post with advanced Sumo tips soon.Sumo list builder visibility
  4. I’m skipping the next tab, “Success”, as I generally don’t use the email responder that Sumo offers. I want to send my new subscriber to Mautic and email them from there 🙂
  5. The last step is to connect with Zapier, which we’ll do in a moment. First, let’s get Zapier and Mautic ready.

Part 2: Connect Zapier with Mautic

If you haven’t signed up for Zapier yet, do that now. A free account will work fine for this tutorial, but fair warning: if you end up collecting lots of email subscribers, you may need to upgrade to a paid account.

The Mautic app for Zapier is currently in beta and available via invitation only. So there are a few things you’ll need to do in Mautic to prepare for the Zapier connection.

Mautic configuration
  1. Go to Mautic’s global configuration / API Settings.
  2. Set API enabled? to Yes.
  3. Set Enable HTTP basic auth? to Yes.
  4. Save the configuration.

Remember, you must be using Mautic version 2.9 or higher. Check out the GitHub notes from Mautic for more details.

Zapier connection

  1. To gain access to the Mautic app for Zapier, make sure you’re logged into your Zapier account and then visit this link: https://zapier.com/platform/public-invite/670/2358fe9536c52e9bf40d510b42bba45f/
  2. Click the “Accept Invite and Build a Zap” button at the bottom:
    Invitation to use Mautic app for Zapier

Part 3: Create your Zap with Mautic and Sumo

This shouldn’t be too complicated, especially if you’re already familiar with Zapier. But I’ve broken the process down into several steps to keep things organized.

If you get stuck, retrace your steps and make each part is done correctly before moving on to the next.

Start by connecting Sumo

  1. In Zapier, create a new Zap. Choose Sumo as the trigger app.
    Choosing Sumo as trigger app
  2. Set your trigger to “New Email Subscriber”.
  3. On the next screen, you’ll see a webhook URL. Copy that URL!
    Sumo hook URL
  4. Now go back to your Sumo account, and in the “Connect to Email Service” area, click Zapier. Click the “Connect” button, and you will be prompted to enter your hook URL. Paste it in!
    Sumo integration settings for Zapier
  5. Click “Test Settings”, enter an email address, and send the test! If possible, use an email address that does not already exist in your Mautic instance. This will make it easy to know if you’ve created a new contact in Mautic later on.
  6. Go back to Zapier, and press the “OK, I did this” button at the bottom to continue. Zapier will check to see if your test contact from Sumo is received, and you should see something like this:
    Successful test contact received from Sumo in Zapier

Now, let’s connect Mautic

  1. Now, moving on to step 2 in Zapier, where you select Mautic (most current version of the Mautic Zapier app is 1.0.3) your “Action App.”
    Choosing Mautic as trigger app
  2. Continue and choose “Create Contact” as your action.
  3. On the next screen, you’ll need to connect your Mautic account. Enter your Mautic username, password and base URL. I’m running self-hosted Mautic in a folder, so my credentials look like this:
    Connect Zapier to Mautic using Mautic login credentials
    If you’re not sure what your base URL is, log into your Mautic instance and go to Settings > Configuration. Your “Site URL” is your base URL. Note: if you’re using a Mautic Cloud account, your base URL will likely be something like https://mycompany.mautic.net.
  4. Once you’re connected, it’s time to map the fields for the Mautic contact you’ll be creating from Sumo. Here’s where it can get a bit overwhelming, because Zapier is showing all of the Mautic contact fields that you can work with. In this example, we’re sticking to the basics: I’m only collecting email addresses. So that’s the only field I need to map. Use the “+” button to select your field:
    Sumo fields available to map in ZapierAnd your email field should look like this once it’s selected:
    Mautic and Sumo email fields mapped
  5. If you have other fields, make sure you map those as well. Press “Continue” you’re done. The final screen will ask you to test the process by creating a new contact in Mautic. Press “Create & Continue” – and you should see a success screen!
    Mautic and Sumo connected via Zapier!
  6. Log into your Mautic instance, go to your Contacts area, and sort by ID to see the newest contact at the top. You should see your test contact was successfully added!
    Sumo test contact added to Mautic by Zapier
  7. Go back to Sumo, and make sure you save your Zapier integration settings if you haven’t already. Hit the “Make Live” button to make your popup live on your website, and you’re done! Mautic and Sumo are now connected.
    Make Sumo popup live

 

Wrapping up

Congratulations on getting to the end of this tutorial. I hope you’ve found it helpful and now have Mautic and Sumo communicating nicely with each other and collecting lots of new leads.

If you have suggestions for improvement or notice any errors in this post, please let me know!