AppsPricingBlogTry it
Mailgun logo
Stripe logo

Connect Mailgun to Stripe

Use 11 documented Mailgun triggers to run 24 documented Stripe actions.

11 source triggers
24 target actions
Reverse direction supported

Why Connect Mailgun & Stripe?

Start with a Mailgun event

Choose from 11 documented triggers, including New Bounce (Instant), New Click (Instant), New Complaint (Instant).

Run a Stripe action

Send the event into one of 24 documented actions, such as Cancel A Payment Intent, Cancel Or Reverse A Payout, Cancel Subscription.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

Mailgun logo

Mailgun

Triggers (11)

New Bounce (Instant)

Emit new event when the email recipient could not be reached.

webhook
New Click (Instant)

Emit new event when the email recipient clicked on a link in the email. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Complaint (Instant)

Emit new event when the email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.

webhook
New Delivery (Instant)

Emit new event when an email is sent and accepted by the recipient email server.

webhook
New Delivery Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server.

webhook
New Log Data

Emit new event when new data is logged in Mailgun's Control Panel. Occurs for most actions within the associated Mailgun account.

polling
New Mailing List

Emit new event when a new mailing list is added to the associated Mailgun account.

polling
New Open (Instant)

Emit new event when the email recipient opened the email and enabled image viewing. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Permanent Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a permanent mailbox error such as non-existent mailbox.

webhook
New Temporary Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a temporary mailbox error such as an ESP block. ESP is the Email Service Provider managing the recipient email server.

webhook
New Unsubscribe (Instant)

Emit new event when the email recipient clicked on the unsubscribe link. Unsubscribe tracking must be enabled in the Mailgun control panel. See more at the Mailgun User's Manual Tracking Messages section

webhook

Actions (11)

Create Mailing List Member

Add to an existing mailing list. See the docs here

Create Route

Create a new route. See the docs here

Delete Mailing List Member

Delete a mailing list member by address. See the docs here

Get Mailing List Member

Retrieve a mailing list member by address. See the docs here

Get Mailing List Members

List all mailing list members. See the docs here

List Domain Name Options

Retrieves available options for the Domain Name field.

List Domains

List domains in Mailgun. See the docs here

List Mailing List Options

Retrieves available options for the Mailing List field.

Send Email

Send email with Mailgun. See the docs here

Suppress Email

Add email to the Mailgun suppression list. See the docs here

Verify Email

Verify email address deliverability with Mailgun. See the docs here

Stripe logo

Stripe

Triggers (11)

New Custom Webhook Events

Emit new event on each webhook event

webhook
Canceled Subscription

Emit new event for each new canceled subscription

polling
New Abandoned Cart

Emit new event when a customer abandons their cart.

polling
New Customer

Emit new event for each new customer

polling
New Dispute

Emit new event for each new dispute

polling
New Failed Invoice Payment

Emit new event for each new failed invoice payment

polling
New Failed Payment

Emit new event for each new failed payment

polling
New Invoice

Emit new event for each new invoice

polling
New Payment

Emit new event for each new payment

polling
New Subscription

Emit new event for each new subscription

polling
Subscription Updated

Emit new event on a new subscription is updated

polling

Actions (24)

Cancel A Payment Intent

Cancel a PaymentIntent. See the documentation.

Cancel Or Reverse A Payout

Cancel a pending payout or reverse a paid payout. See the documentation here and here

Cancel Subscription

Cancel a subscription. See the documentation

Capture a Payment Intent

Capture the funds of an existing uncaptured payment intent. See the documentation.

Confirm A Payment Intent

Confirm that your customer intends to pay with current or provided payment method. See the documentation.

Create a Customer

Create a customer. See the documentation.

Create a Payment Intent

Create a payment intent. See the documentation.

Create a Payout

Create a payout. See the documentation.

Create A Refund

Create a refund. See the documentation.

Create a Usage Record

With metered billing, you charge your customers based on their consumption of your service during the billing cycle, instead of explicitly setting quantities. Use this action to create a usage record for metered billing. See the docs for more information

Create Billing Meter

Creates a billing meter. See the documentation.

Create Invoice

Create an invoice. See the documentation.

Create Invoice Line Item

Add a line item to an invoice. See the documentation.

Create Price

Creates a new price for an existing product. The price can be recurring or one-time. See the documentation

Create Product

Creates a new product object in Stripe. See the documentation.

Create Subscription

Create a subscription. See the documentation.

Delete a Customer

Delete a customer. See the documentation.

Delete Invoice Line Item

Delete a line item from an invoice. See the documentation.

Delete Or Void Invoice

Delete a draft invoice, or void a non-draft or subscription invoice. See the documentation.

Finalize Draft Invoice

Finalize a draft invoice. See the documentation.

List Balance History

List all balance transactions. By default returns an array of transaction objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next call to iterate. See the documentation.

List Customers

Find or list customers. By default returns an array of customer objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next call to iterate. See the documentation.

List Invoices

Find or list invoices. By default returns an array of invoice objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next call to iterate. See the documentation.

List Payment Intents

Retrieves a list of payment intents that were previously created. By default returns an array of payment intent objects (auto-paginated up to Limit). Set Return Pagination Info to true to instead receive { data, has_more, next_starting_after } for a single Stripe page (max 100 per call) — pass next_starting_after as Starting After on the next call to iterate. See the documentation.

Integration Features

11 documented Mailgun triggers
24 documented Stripe actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Stripe to Mailgun direction

Capability Examples

Mailgun trigger → Stripe action

Catalog example
MailgunMailgun

New Bounce (Instant)

StripeStripe

Cancel A Payment Intent

Stripe trigger → Mailgun action

Reverse direction
StripeStripe

New Custom Webhook Events

MailgunMailgun

Create Mailing List Member

How It Works

1

Connect Apps

Authenticate your Mailgun and Stripe accounts

2

Choose a Trigger

Select a documented Mailgun event

3

Choose an Action

Select the documented Stripe operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 11 documented Mailgun triggers.

Automated Actions

Run one of 24 documented Stripe actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Stripe logoMailgun logo

Reverse Integration Available

Also connect Stripe to Mailgun for bidirectional automation

View Integration
Mailgun logo

All Mailgun Integrations

Explore all available Mailgun connections

View All Integrations
Stripe logo

All Stripe Integrations

Explore all available Stripe connections

View All Integrations

Ready to Connect Mailgun & Stripe?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free