- Home
- Resources
- Integrations
- Mailgun
Mailgun Zapier integrationAutomate Mailgun with Zapier.
The Mailgun Zapier integration turns what happens to your emails into Zaps, and lets other tools send and validate through Mailgun. Zapier lists 10 triggers, 6 actions and 0 searches for Mailgun; 8 of the 10 triggers are instant.
Verified Trustpilot reviews · AI, automation & growth agency
What the Mailgun Zapier integration is for
Zapier links apps without code. Mailgun is an email service driven by APIs, to send, receive, track and store email, and Zapier makes it usable without writing code: each bounce, complaint, open, click or inbound email can start a Zap, and Zapier can send email, add list members and validate addresses through your Mailgun account.
Three outcomes built on real operations. Bad addresses caught early: New Bounce Event fires the moment an email fails, and Validate Email checks an address before it ever reaches a list. Inbound mail that turns into work: New Inbound Email via Route sets up a Mailgun route for you and hands every matching message to the next step, so a support or quotes address feeds your tools without a mailbox in between. A sales signal on every click: New Open/Click Event tells you who opened an email or clicked a tracked link in it.
What Zapier does not do for Mailgun: there is no search step, so a Zap cannot look up a member or a domain before acting. It does not create mailing lists or domains. For anything outside the six actions, API Request (Beta) exists, but it is a raw, technical step and not a shortcut for beginners.
If you are comparing platforms, the Mailgun n8n integration and the Mailgun Make integration list what the other two offer for the same app.
Zapier words in one minute
Seven words come back on this page. Here they are in plain English, once each.
- Zap
- The automation you build on Zapier: one trigger, then one or more actions that run every time the trigger event happens.
- Trigger
- The event in an app that starts the Zap. Once the Zap is on, Zapier waits for it, such as a new Mailgun bounce.
- Action
- What the Zap does once it has started: the step that writes or sends something for you, like sending an email.
- Task
- The unit Zapier bills: one action your Zap completes successfully. Your plan's allowance is a count of those.
- Polling vs instant
- A polling trigger is checked by Zapier on a timer. An instant trigger is reported by the app itself the moment the event happens.
- Filter
- A step that lets the Zap go on only when what arrived meets your condition, and stops it there otherwise.
- Multi-step Zap
- Any Zap beyond one trigger and one action. A filter or a second action makes it one, and it then needs a paid plan.
What a Mailgun Zap really costs
Mailgun is not a premium app, so it runs on the free plan. Zapier bills in tasks, and only completed actions count.
- Free plan100 tasks per month
- Free plan limit2 steps per Zap
- Premium appNo
- Instant triggers8 of 10
The trigger never costs a task, and neither do Zapier's checks on the two polling triggers. Each action that succeeds is one task; a failed one is not counted. The free plan gives 100 tasks a month and two-step Zaps. Mailgun events are numerous, though: a filter that keeps only permanent bounces, or only clicks, makes the Zap multi-step and needs a paid plan. Without that filter, every event that reaches an action spends a task.
Connect Mailgun to Zapier in 3 steps
- 01
Open the Apps page
In your Zapier account, go to Apps and click + Add connection. Type Mailgun in the search box of the dialog and pick it. Check the name before you confirm.
- 02
Sign in to Mailgun
Click Add connection. A new tab opens on Mailgun. Sign in with the account that owns your sending domains and mailing lists, since the Zap only reaches what that account reaches.
- 03
Grant access
Approve the access Zapier asks for. The connection is saved under Apps and reused by every Mailgun step, so every later Zap goes straight to the fields.
Your first Mailgun Zap: acknowledge every quote request
GoalReply automatically to every email sent to your quotes address, through Mailgun.
- 01
Pick the trigger
Create a Zap, choose Mailgun and
New Inbound Email via Route. Zapier creates the route in Mailgun for you. Test it: it brings back the three most recent matching emails. - 02
Add a filter
Click the plus icon, choose Filter, then set the field (subject), a text rule and the word your clients use. Everything else stops here. The Zap is now multi-step.
- 03
Add Send Email
Pick Mailgun as the action app and
Send Email. Set a From address on your Mailgun domain, map the sender of the inbound email into To, and write a subject. - 04
Write the reply
Thank the person, say when they will hear back, and reuse their subject so the thread stays readable. Then run the action test and check the email arrives.
- 05
Publish
Click Publish. The trigger is instant, so each request gets its reply right away. Emails received before publishing get nothing.
Mailgun triggers on Zapier
10 events start a Zap when something happens in Mailgun, and 8 of them are instant: the app calls Zapier straight away, whatever your plan.
New Log Data
Polling triggerIn Zapier“Triggers when new log entries are found in Mailgun. Because this trigger uses polling, multiple log entries may be returned at once during each polling interval.”
Picks up new entries from your Mailgun logs, the running record of what your account did. It is the broadest view, useful when no single event trigger fits.
New Alert
Instant triggerIn Zapier“Triggers when a Mailgun alert occurs. Validation alerts (e.g., bulk validation job completed, validation previews) are available on all plans. Deliverability alerts (e.g., IP or domain blocklist changes, reputation shifts) require an Optimize plan.”
Fires when Mailgun raises an alert. Validation alerts, such as a finished bulk validation job, work on every Mailgun plan; deliverability alerts, such as blocklist or reputation changes, need Mailgun's Optimize plan.
New Bounce Event
Instant triggerIn Zapier“Triggers when an email permanently or temporarily fails in Mailgun.”
Reports an email that failed, permanently or temporarily. It is the earliest warning that an address on your list is wrong or unreachable.
New Complaint Event
Instant triggerIn Zapier“Triggers when a recipient reports an email as spam in Mailgun.”
Tells you when a recipient reports one of your emails as spam. Few events say more clearly that someone does not want your mail.
New Delivery Event
Instant triggerIn Zapier“Triggers when an email is successfully delivered in Mailgun.”
Confirms that an email was delivered successfully. It proves delivery, not reading, which is a different event.
New Failed Delivery Event
Instant triggerIn Zapier“Triggers when an email fails to deliver in Mailgun.”
Signals an email that did not get delivered. It sits next to the bounce trigger and answers one plain question: did it arrive?
New Inbound Email via Route
Instant triggerIn Zapier“Triggers when an incoming email matches a Mailgun route. Automatically creates a route in Mailgun to forward emails to Zapier. Use Zapier Filters and Paths to process emails based on sender, subject, or content.”
Receives every incoming email that matches a Mailgun route, and creates that route in Mailgun on its own so mail is forwarded to Zapier.
New Open/Click Event
Instant triggerIn Zapier“Triggers when a recipient opens an email or clicks a tracked link in Mailgun.”
Fires when a recipient opens an email or clicks a tracked link in it. It is the engagement signal of the set.
New Unsubscribe Event
Instant triggerIn Zapier“Triggers when a recipient unsubscribes in Mailgun.”
Lets you know when a recipient unsubscribes in Mailgun, so the decision can follow them into your other tools.
New List
Polling triggerIn Zapier“Triggers when a new mailing list is added to your account.”
Starts a Zap when a new mailing list is added to your Mailgun account. It is an admin signal more than a marketing one.
Mailgun actions on Zapier
Mailgun gives you 6 actions. For each one: what it does for you, when to reach for it, and what to watch out for.
Bulk Email Validation
ActionIn Zapier“Upload a CSV (with an "email" header) and start a bulk validation job using Mailgun V4 API.”
Uploads a CSV file of addresses and starts a bulk validation job in Mailgun, named by the Job List Name you give it.
Send Email
ActionIn Zapier“Sends an email using your Mailgun account.”
Sends an email through your Mailgun account, with a sender, one or more recipients separated by commas, and a subject. It is the step that turns any event into a message.
Get Bulk Validation Results
ActionIn Zapier“Retrieves completed bulk validation job results using the job identifier for automated result processing.”
Retrieves the results of a finished bulk validation job, using the Job ID returned when the job was started.
Add Mailing List Member
ActionIn Zapier“Adds a new member to a mailing list in Mailgun.”
Adds a new member to one of your Mailgun mailing lists, from an address another app hands over.
Validate Email
ActionIn Zapier“Validates an email address using Mailgun's validation service and returns comprehensive deliverability results.”
Checks a single address with Mailgun's validation service and returns detailed deliverability results for the next steps.
API Request (Beta)
ActionIn Zapier“This is an advanced action which makes a raw HTTP request that includes this integration's authentication.”
An advanced step that sends a raw HTTP request to Mailgun with your connection's authentication already attached. It covers what the other actions do not.
When a Mailgun Zap breaks
Zapier links one help article to Mailgun, a getting-started guide, and documents no rate limit specific to it. What breaks comes from required fields, Mailgun's own plan rules and limits common to every Zap.
Most of these show up on the first test or the first busy day. Rule them out before you publish; the Zapier troubleshooting page covers the rest.
Sender domain not on the account
Send Email needs a From address on a domain that belongs to your Mailgun account. Any other domain makes the step fail at the first test.Duplicate member error
Add Mailing List Member with Update set to No raises an error when the address is already on the list. Set it to Yes if repeats are expected.Deliverability alerts never come
New Alert sends deliverability alerts only on Mailgun's Optimize plan. Validation alerts work on every plan; the rest stays silent without it.Sending on delivery: the loop
A Zap that sends an email on New Delivery Event delivers a new email, which fires the trigger again. It sets itself off and burns tasks fast.Nothing from before the Zap
A Zap only reacts to events after it is switched on. Past bounces, clicks or inbound emails are never replayed; moving them is a separate job.Logs in bursts
New Log Data can return several entries at each check. After a busy period, a large batch can also be held back by Zapier's flood protection.
Need help automating Mailgun with Zapier?
A person reads every message.



