Resources · Make integration

Mailgun Make integrationAutomate Mailgun with Make.

Your Mailgun events can drive the rest of your stack. The Mailgun Make integration gives you 16 modules, including 7 instant triggers on clicks, opens, bounces and complaints. This guide connects your account and walks you through a first working scenario.

Verified Trustpilot reviews · AI, automation & growth agency

What you can automate

What can the Mailgun Make integration do for you?

The Mailgun Make integration links your Mailgun account to Make, a visual tool where you build a scenario (an automation made of modules, one brick per step) without code. Mailgun tells Make when a message is delivered, opened, clicked or rejected, and Make can send email, manage mailing lists and check addresses in return.

A cleaner list after every hard bounce. New Event: Permanent Failure fires when an address rejects a message for good, and Delete a Mailing List Member takes it off the list so the next campaign skips it.

A follow-up for people who clicked. A SaaS team can pair New Event: Clicks with Add a Mailing List Member to build a list of engaged readers, then reach them later with Send an Email.

Fewer bad addresses at the door. Run Validate an Email Address on each sign-up before it lands in a list, and only add the ones that pass.

What the listed modules do not cover (other parts of the Mailgun API) goes through Make an API Call, with the same connection. The documentation gives no numeric limit for this app. Mailgun also has an n8n node: see the Mailgun n8n integration and the n8n vs Make comparison. New to the editor? The Make training starts from zero.

Connect

How do you connect Mailgun to Make?

  1. 01

    Copy your private key

    Log in to Mailgun, open Settings then API Security, and reveal the Private API Key. Copy it: this key is what lets Make act on your account.

  2. 02

    Open the connection window

    In Make, add any Mailgun module to a scenario and click Create a connection. A connection is your Mailgun account linked to Make once, then reused by every Mailgun module.

  3. 03

    Paste the key and save

    Paste the key into the API Key field and save. Before that, click Show advanced settings and check the Base URL: it has to be the right one for your Mailgun account.

First scenario

Your first scenario: drop hard bounces from a list

GoalWhen Mailgun reports a permanent failure, Make removes that address from your mailing list.

  1. 01

    Create the scenario

    Open the Scenarios page, create a new scenario and click the big +. That empty canvas is where each module will sit, one after the other.

  2. 02

    Add the trigger

    Search for Mailgun, pick New Event: Permanent Failure, and choose your connection or click Create a connection. This instant trigger waits for Mailgun to call Make.

  3. 03

    Add the removal step

    Click the + on the right of the trigger and pick Delete a Mailing List Member. Select the list from the menu Make fills in, then map the address from the trigger's data.

  4. 04

    Test with Run once

    Click Run once. Make runs the scenario one time and shows the bundles each module received, a bundle being one item passed along, here one failed delivery.

  5. 05

    Switch it on

    Happy with the result? Turn the scenario on. From then on, every permanent failure Mailgun reports goes through the same two modules without anyone opening the dashboard.

Triggers

Mailgun triggers in Make

7 modules start a scenario when something happens in Mailgun. A scheduled trigger is checked by Make on the scenario's schedule; an instant one is called by Mailgun as soon as it happens.

Mailgun1New Event: Clicks

New Event: Clicks

Instant trigger

In MakeTriggers when the 'Clicks' event occurred.

This trigger hands your scenario every click a recipient makes on a link in your Mailgun email, so interest turns into an action somewhere else the moment it shows.

How it fires
instant, Mailgun calls Make through a webhook as soon as the click happens.
When to use it
a reader clicks the pricing link in an onboarding email, and your sales tool should hear about it.
Watch out
each click is its own bundle, and each module after it spends an operation (one run of one module, the unit Make counts on your plan).
Mailgun2New Event: Delivery Messages

New Event: Delivery Messages

Instant trigger

In MakeTriggers when the 'Delivery Messages' event occurred.

You get confirmation, message by message, that Mailgun handed your email to the recipient's server, which is the proof an ops team usually wants logged next to an order or a ticket.

How it fires
instant, Mailgun notifies Make by webhook as soon as the delivery is recorded.
When to use it
mark an invoice email as delivered in your CRM or your support tool.
Watch out
delivered means accepted by the receiving server, not read. For that signal, use New Event: Opens.
Mailgun3New Event: Opens

New Event: Opens

Instant trigger

In MakeTriggers when the 'Opens' event occurred.

Here your scenario learns that someone opened one of your messages, which lets you react to attention instead of sending blind follow-ups to everyone on the list.

How it fires
instant, the open reaches Make through a webhook as soon as Mailgun records it.
When to use it
score a lead in your CRM when a prospect opens a proposal email.
Watch out
an open is a weaker signal than a click. If the next step is a sales call, New Event: Clicks usually gives a better reason to pick up the phone.
Mailgun4New Event: Permanent Failure

New Event: Permanent Failure

Instant trigger

In MakeTriggers when the 'Permanent Failure' event occurred.

Your scenario hears about every address that rejected a message for good, which is the cue to stop sending to it and protect the rest of your list.

How it fires
instant, Mailgun calls Make by webhook as soon as the failure is final.
When to use it
pair it with Delete a Mailing List Member to clean a list without exporting a bounce report.
Watch out
keep this one for removals. A delay on a single send belongs to New Event: Temporary Failure, and treating both the same would delete addresses that still work.
Mailgun5New Event: Spam Complaints

New Event: Spam Complaints

Instant trigger

In MakeTriggers when the 'Spam Complaints' event occurred.

When a recipient flags your email as spam, this trigger passes the complaint to your scenario so the address can leave every list before the next send.

How it fires
instant, Mailgun alerts Make through a webhook as soon as the complaint comes in.
When to use it
a newsletter team wants complainers removed and a note posted for whoever writes the next campaign.
Watch out
removing someone from one list does not remove them from the others. Add one Delete a Mailing List Member module per list you use.
Mailgun6New Event: Temporary Failure

New Event: Temporary Failure

Instant trigger

In MakeTriggers when the 'Temporary Failure' event occurred.

This trigger tells your scenario that a message could not get through this time, without the address being dead, so you can keep an eye on it instead of dropping it.

How it fires
instant, Mailgun pings Make by webhook as soon as the failed attempt is logged.
When to use it
flag a transactional email, such as a password reset, in your support tool so someone can check on the customer.
Watch out
never wire this one to Delete a Mailing List Member. A temporary failure says nothing final about the address.
Mailgun7New Event: Unsubscribed

New Event: Unsubscribed

Instant trigger

In MakeTriggers when the 'Unsubscribe' event occurred.

Every unsubscribe from a Mailgun email lands in your scenario, which keeps your other tools in line with the choice the person just made.

How it fires
instant, Mailgun sends the unsubscribe to Make through a webhook as soon as it happens.
When to use it
update the contact's marketing consent in your CRM so no other tool keeps emailing them.
Watch out
this trigger only covers Mailgun. If you also send from another platform, the scenario has to carry the change there with one more module.
Modules

Mailgun modules in Make

Mailgun gives you 9 modules in 4 groups. For each one: what it does for you, when to reach for it, and what to watch out for.

Email

1 module
Mailgun1

Send an Email

Action

In MakeSends an email to specified email addresses or to all mailing list members.

Send an Email lets any scenario send a message through Mailgun, either to addresses you map or to every member of a mailing list, so a new order or a form entry can trigger its own email.

When to use it
a confirmation email after a sign-up form, with the name mapped from the form.
Watch out
picking a list sends to everyone on it. Test on a small list before Run once.

Mailing Lists

4 modules
Mailgun2

Add a Mailing List Member

Action

In MakeAdds or updates an email address in a selected mailing list.

This module puts an address into the mailing list you choose, and updates it if it is already there, so the same contact coming back twice does not create a duplicate.

When to use it
a customer finishes checkout and joins your post-purchase list.
Watch out
because it also updates, a second pass overwrites what the first one saved for that member.
Mailgun3

Delete a Mailing List Member

Action

In MakeRemoves an email address from a selected mailing list.

Delete a Mailing List Member takes an address off a selected list, which is how bounces, complaints or a churned customer stop receiving the wrong emails.

When to use it
right after New Event: Permanent Failure or New Event: Spam Complaints.
Watch out
a removal cannot be undone from the scenario. Check with Run once that the mapped address is the right one.
Mailgun4

Get a Mailing List Member

Action

In MakeRetrieves a mailing list member.

You get back one member of a list, which lets the scenario check an address before deciding what to do next, instead of acting on guesswork.

When to use it
before Add a Mailing List Member, when a filter should skip contacts already on the list.
Watch out
it reads one member you name. To go through a whole list, pick List Mailing List Members.
Mailgun5

List Mailing List Members

Search

In MakePaginate over list members in the given mailing list.

This search walks through the members of a list and returns each one as a separate bundle, which is the starting point for syncing or auditing a list from Make.

When to use it
copy a Mailgun list into a spreadsheet or another email tool.
Watch out
a search can return zero, one or many bundles, and every module after it runs once per member, which adds up in operations.

Other

3 modules
Mailgun6

List Domains

Search

In MakeReturns a list of domains.

List Domains returns the sending domains of your Mailgun account, handy when the scenario has to know which domain to use or to report on them.

When to use it
an agency running several client domains wants their names kept in one shared sheet.
Watch out
each domain comes out as its own bundle, so the next module runs once per domain.
Mailgun7

Validate an Email Address

Action

In MakeValidate the given address based on mailbox detection, syntax checks, DNS validation, spell checks etc.

Before an address enters your lists, this module checks it: syntax, spelling, the domain's DNS and whether a mailbox seems to exist behind it. You keep typos and dead addresses out from the start.

When to use it
between a sign-up form and Add a Mailing List Member, with a filter on the result.
Watch out
run it on new entries only, since each check is an operation.
Mailgun8

Make an API Call

Action

In MakePerforms an arbitrary authorized API call.

When none of the listed modules does what you need, Make an API Call reaches any endpoint of the Mailgun API from your scenario, with the connection you already set up.

When to use it
a Mailgun feature that has no dedicated module in Make.
Watch out
you write the request yourself, so keep the Mailgun API reference open and test with Run once before switching the scenario on.

Other modules

1 module
Mailgun9

Create a Route

Action

In MakeCreates a new route.

Create a Route adds a new route to your Mailgun account straight from a scenario, so that setup follows an event in another tool instead of a trip to the dashboard.

When to use it
a new client or project is created, and its Mailgun route should exist right away.
Watch out
each run creates another route. Put a filter before it so a repeated event does not stack copies.
Need help

Need help automating Mailgun with Make?

A person reads every message.

FAQ

Mailgun and Make: common questions

01Is the Mailgun Make integration free?
Yes, Mailgun is a standard app, so it works from the Make Free plan. That plan allows 2 active scenarios, a minimum of 15 minutes between two scheduled runs, 5 minutes of execution per run, files up to 5 MB and 512 MB of data transfer. Paid plans (Core, Pro, Teams and Enterprise) bring the interval down to 1 minute and remove the cap on active scenarios. Usage is counted in operations each month. Your Mailgun account itself is a separate matter.
02What do you need to connect Mailgun to Make?
A Mailgun account and its Private API Key. You find the key in Mailgun under Settings, then API Security, where you can show and copy it. In Make, open Create a connection from any Mailgun module and paste the key into the API Key field. The documentation lists no other prerequisite. One detail matters: open Show advanced settings and check that the Base URL matches your account, otherwise the connection can fail even with a correct key.
03Do Mailgun triggers in Make fire instantly?
Yes. All 7 Mailgun triggers in Make are instant: Mailgun calls Make through a webhook as soon as a click, an open, a delivery, a permanent or temporary failure, a spam complaint or an unsubscribe happens. You do not wait for a polling interval like the 15 minutes a new scheduled scenario uses by default. Each event arrives as one bundle, and every module that runs on it counts as an operation on your plan.
04What if a Mailgun module is missing in Make?
Use Make an API Call. It calls any endpoint of the Mailgun API from your scenario with the same connection, so a feature without its own module is still reachable. The 16 modules cover sending, mailing lists, address validation, domains and routes, plus the 7 event triggers. The documentation states no numeric limit for this app. If you would rather not write requests, look at whether another app in your scenario already handles that step.
05Should you use Make or n8n for Mailgun?
It depends on what your scenario needs. Mailgun has an app in Make, with the 16 modules on this page, and it also has an n8n node. Compare what each one offers for your exact use case, especially the event triggers and mailing list actions you need, rather than picking by habit. The Mailgun n8n integration page and the n8n vs Make comparison on this site set out the details side by side.