AppsPricingBlogTry it
HTTP / Webhook logo
Mailgun logo

Connect HTTP / Webhook to Mailgun

Use 4 documented HTTP / Webhook triggers to run 11 documented Mailgun actions.

4 source triggers
11 target actions
Reverse direction supported

Why Connect HTTP / Webhook & Mailgun?

Start with a HTTP / Webhook event

Choose from 4 documented triggers, including New Requests, New Requests (Payload Only), New event when the content of the URL changes..

Run a Mailgun action

Send the event into one of 11 documented actions, such as Create Mailing List Member, Create Route, Delete Mailing List Member.

Map and review the workflow

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

Available Triggers & Actions

HTTP / Webhook logo

HTTP / Webhook

Triggers (4)

New Requests

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

polling
New Requests (Payload Only)

Get a URL and emit the HTTP body as an event on every request

polling
New event when the content of the URL changes.

Emit new event when the content of the URL changes.

polling
New Webhook Request

Emit new event when an HTTP request is received at the webhook URL. Use as a trigger to run workflows from external services (GitHub, Stripe, n8n, etc.). Configure response code, body, and which HTTP methods to accept.

webhook

Actions (7)

Send any HTTP Request

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

Send GET Request

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

Send POST Request

Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.

Send PUT Request

Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.

Return HTTP Response

Use with an HTTP trigger that uses "Return a custom response from your workflow" as its HTTP Response

Validate Webhook Auth

Require authorization for incoming HTTP webhook requests. Make sure to configure the HTTP trigger to "Return a custom response from your workflow".

Verify HMAC Signature

Validate HMAC signature for incoming HTTP webhook requests. Make sure to configure the HTTP trigger to "Return a custom response from your workflow".

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

Integration Features

4 documented HTTP / Webhook triggers
11 documented Mailgun actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Mailgun to HTTP / Webhook direction

Capability Examples

HTTP / Webhook trigger → Mailgun action

Catalog example
HTTP / WebhookHTTP / Webhook

New Requests

MailgunMailgun

Create Mailing List Member

Mailgun trigger → HTTP / Webhook action

Reverse direction
MailgunMailgun

New Bounce (Instant)

HTTP / WebhookHTTP / Webhook

Send any HTTP Request

How It Works

1

Connect Apps

Authenticate your HTTP / Webhook and Mailgun accounts

2

Choose a Trigger

Select a documented HTTP / Webhook event

3

Choose an Action

Select the documented Mailgun 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 4 documented HTTP / Webhook triggers.

Automated Actions

Run one of 11 documented Mailgun 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.

Mailgun logoHTTP / Webhook logo

Reverse Integration Available

Also connect Mailgun to HTTP / Webhook for bidirectional automation

View Integration
HTTP / Webhook logo

All HTTP / Webhook Integrations

Explore all available HTTP / Webhook connections

View All Integrations
Mailgun logo

All Mailgun Integrations

Explore all available Mailgun connections

View All Integrations

Ready to Connect HTTP / Webhook & Mailgun?

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

Get Started Free