Mailgun icon

Mailgun Integration

Send, track, and manage transactional email — domains, templates, suppressions, routes, and delivery analytics. Use Mailgun as a communication layer for triggering workflows and sending context where it belongs. Start from Watch Events (Poll), then follow with Aggregate Counts by Country or Aggregate Counts by Devices Triggering Events.
3-day trialCancel anytimeUp to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Supported triggers and actions for Mailgun integration

Triggers can detect changes in Mailgun and run actions that can create, search or modify data inside Mailgun automatically [3] — exactly how you set them.

  • Mailgun icon
    Watch Events (Poll)Triggers when new delivery events appear after the cursor.
  • Mailgun icon
    Watch Events (Webhook)Triggers when Mailgun delivers a subscribed domain event to the inbound URL.
  • Mailgun icon
    Aggregate Counts by CountryRetrieves Aggregate Counts by Country.
  • Mailgun icon
    Aggregate Counts by Devices Triggering EventsRetrieves Aggregate Counts by Devices Triggering Events.
  • Mailgun icon
    Aggregate Counts by ESPRetrieves Aggregate Counts by ESP.
  • Mailgun icon
    Filtered/grouped Totals for Entire AccountRetrieves Filtered/grouped Totals for Entire Account.
  • Mailgun icon
    Get a Limit Threshold for an AccountReturns a Limit Threshold for an Account.
  • Mailgun icon
    Get a Mailing List by AddressReturns a Mailing List by Address.
  • Mailgun icon
    Get a MemberReturns a Member.
  • Mailgun icon
    Get a RouteReturns a Route.
  • Mailgun icon
    Get a Send AlertReturns a Send Alert.
  • Mailgun icon
    Get a Single Forward Rule by IDReturns a Single Forward Rule by ID.
  • Mailgun icon
    Get a Single SubaccountReturns a Single Subaccount.
  • Mailgun icon
    Get a TagReturns a Tag.
  • Mailgun icon
    Get a User's DetailsReturns a User's Details.
  • Mailgun icon
    Get a VersionReturns a Version.
  • Mailgun icon
    Get Account Tag Limit InformationReturns a Account Tag Limit Information.
  • Mailgun icon
    Get Account-level TemplatesReturns a Account-level Templates.
  • Mailgun icon
    Get Account-level Webhook by IDReturns a Account-level Webhook by ID.
  • Mailgun icon
    Get Aggregate Stat Types by TagReturns a Aggregate Stat Types by Tag.

How to integrate Mailgun in automation workflow?

3 simple steps to make your Mailgun connected with other apps in automation workflows on WEXTL. Up to 10 minutes integration set up.

How Mailgun connects and integrates with WEXTL

Save and approve your credentials once — WEXTL® stores authorization information encrypted and reuses the authentication whenever Mailgun app is called in workflows. That allows your communication automations to run without your attention, per defined schedule [7]. Explore documentation [6] for a detailed list of fields that Mailgun supports.

The following table illustrates what fields Mailgun integration require during authorization flow inside our workflow builder [4].

Demonstration of Mailgun connection step inside WEXTL Workflow Builder [4].

FieldTypeHelp
API KeyRequired
password

Private API key from Mailgun Settings → API Keys.

RegionRequired
select

US or EU API region — must match where your domains live.

Connect Mailgun to popular apps on WEXTL

Enter a name of the other app you want to sync with Mailgun below. Click on selected app to explore integration options with Mailgun. If the app you search for is not available in WEXTL yet, you can use HTTP node [10] instead to integrate it directly.

Example automation with Mailgun integration

Select Watch Events (Webhook) trigger from Mailgun - this will be a starting point in your automation. Whenever event happens in Mailgun, workflow will start [7] from Watch Events (Webhook) node.

Search for Create a Domain Webhook, connect it as the next step of integration sequence. You can use filters between Watch Events (Webhook) and Create a Domain Webhook, so only important data pass from Watch Events (Webhook) to the next step. WEXTL gives you full control over the process of Mailgun automation. All parts of workflow are visible on the canvas [4].

Mailgun on WEXTL has 260 modules for combining communication automations. Explore Mailgun documentation for more.

Mailgun
Watch Events (Webhook)
Acumbamail
Performs action
OR
Acumbamail
Triggers
Mailgun
Create a Domain Webhook

Demonstration of how visual Mailgun automation [6] looks in WEXTL.

Frequently asked questions

Common questions about automating Mailgun in your workflows.

Try Mailgun on WEXTL®

Claim your 3-day trial to build Mailgun integrations and access every WEXTL® feature.

Cancel anytime.

References

List of sources used to gather information about the Mailgun integration.

  1. Mailgun integration source code, module specs and credentials implementation.
  2. Internal Mailgun integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official Mailgun vendor API documentation — used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® Visual Workflow Builder, anonymized data from our technical support team.
  5. WEXTL® Apps Library
  6. WEXTL® Mailgun App Documentation
  7. WEXTL® Workflow Scheduler
  8. WEXTL® HTTP node documentation