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:
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
- In your Sumo account, go to Forms > List Builder. Select the “Collect Emails” goal.
- 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!
- 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.
- 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 đ
- 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
- Go to Mautic’s global configuration / API Settings.
- Set API enabled? to Yes.
- Set Enable HTTP basic auth? to Yes.
- 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
- 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/
- Click the “Accept Invite and Build a Zap” button at the bottom:
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
- In Zapier, create a new Zap. Choose Sumo as the trigger app.
- Set your trigger to “New Email Subscriber”.
- On the next screen, you’ll see a webhook URL. Copy that URL!
- 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!
- 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.
- 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:
Now, let’s connect Mautic
- 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.”
- Continue and choose “Create Contact” as your action.
- 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:
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. - 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:
And your email field should look like this once it’s selected:
- 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!
- 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!
- 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.
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!