Mailgun to Salesforce Integration | MESA

Connect Mailgun to Salesforce and automate your tasks

Describe to build

Activity reports

Fully supported

MESA's Mailgun to Salesforce integration is the fastest way to sync data between the two — without touching a line of code. Choose which fields to send, how they're formatted, and when the sync happens. Start with a pre-built template, customize it with AI, or build something completely unique in under 10 minutes.

Try MESA for free

★★★★★ 4.9 rating on Shopify App Store

Start when...

Personalize with built-in tools...

Then, do this...

Trusted by 1,000+ Shopify merchants

Why integrate Mailgun with Salesforce

The Mailgun to Salesforce integration helps you sync data, automate manual tasks, and keep your stack aligned — without writing code.

Order automation →

Send transactional emails from Shopify order events automatically

When an order is placed, updated, or fulfilled in Shopify, MESA triggers the right Mailgun transactional email with the relevant details already populated. Your customers get accurate, timely messages without anyone manually initiating them or maintaining a separate send schedule.

Customer experience →

Trigger Mailgun emails from any Shopify customer milestone

When a customer hits a threshold in Shopify — a first purchase, a loyalty tier, a win-back window — MESA sends the signal to Mailgun and fires the right email at the right moment. Your transactional and lifecycle messaging runs on the full range of what happens in your store, not just native Shopify triggers.

Fulfillment operations →

Send fulfillment and shipping notifications the moment status changes

When an order ships, is delayed, or is delivered in Shopify, MESA passes the event to Mailgun and fires the corresponding email at the right moment. Your post-purchase communication stays accurate and timely without custom development connecting the two platforms.

Data integration →

Keep Salesforce contacts current as customers shop in Shopify

When a customer places an order, updates their details, or hits a lifecycle milestone in Shopify, MESA updates their Salesforce contact or account record automatically. Your CRM reflects who your customers are right now without a manual sync or scheduled export holding things back.

Order automation →

Create Salesforce opportunities from Shopify wholesale and B2B orders

When a qualifying order comes in — a wholesale account, a high-value purchase, a first-time B2B customer — MESA creates an opportunity in Salesforce with the order details already attached. Your sales team follows up with context, not just a name and an order number.

Customer experience →

Trigger Salesforce workflows from Shopify customer behavior

When a customer crosses a spend threshold, earns a loyalty tier, or shows a churn signal in Shopify, MESA sends the event to Salesforce and starts the right sequence or campaign. Your CRM automation runs on live commerce signals, not just form fills and email opens.

Build any Mailgun and Salesforce automation

MESA helps you connect apps to automate repetitive tasks. A trigger is an event that starts a workflow, and actions are the steps that occur when it's running.

Account Created

Starts when an account is created.

Account Updated

Starts when an account is modified.

Contact Created

Starts when a contact is created.

Contact Updated

Starts when a contact is modified.

Custom Created

Starts when a custom is created.

Custom Updated

Starts when a custom is modified.

Lead Converted

Starts when a lead is converted.

Lead Created

Starts when a lead is created.

Lead Updated

Starts when a lead is modified.

Opportunity Created

Starts when an opportunity is created.

Opportunity Updated

Starts when an opportunity is modified.

Order Created

Starts when an order is created.

Order Updated

Starts when an order is modified.

Pricebook Entry Created

Starts when a pricebook entry is created.

Pricebook Entry Updated

Starts when a pricebook entry is modified.

Product Created

Starts when a product is created.

Product Updated

Starts when a product is modified.

Clicked Created

Starts when a recipient clicks on a link in your message.

Complained Created

Starts when a recipient complains that a message is spam.

Delivered Created

Starts when a message is delivered.

Opened Created

Starts when a recipient opens an email.

Permanent Fail

Starts when Mialgun stops attempting to deliver messages and drops them.

Temporary Fail

Starts when Mailgun gets a soft bounce.

Unsubscribed Created

Starts when a recipient requests to be unsubscribed from your mailings.

Create Account

Start a new account.

Create Contact

Start a new contact.

Create Custom

Start a new a custom.

Create Lead

Start a new lead.

Create Opportunity

Start a new an opportunity.

Create Opportunity Product

Start a new opportunity product.

Create or Update Account

Create or modify an account.

Create or Update Contact

Create or modify a contact.

Create or Update Custom

Create or modify a custom.

Create or Update Lead

Create or modify a lead.

Create or Update Opportunity

Create or modify an opportunity.

Create or Update Opportunity Product

Create or modify an opportunity product.

Create or Update Order

Create or modify an order.

Create or Update Order Product

Create or modify an order product.

Create or Update Pricebook Entry

Create or update a pricebook entry.

Create or Update Products

Create or modify a product.

Create Order

Start a new an order.

Create Order Product

Start a new order product.

Create Pricebook Entry

Start a new a pricebook entry.

Create Product

Start a new a product.

Delete Account

Remove an account.

Delete Contact

Remove a contact.

Delete Custom

Remove a custom.

Delete Lead

Remove a lead.

Delete Opportunity

Remove an opportunity.

Delete Opportunity Product

Remove an opportunity product.

Delete Order

Remove an order.

Delete Order Product

Remove an order product.

Delete Pricebook Entry

Remove a pricebook entry.

Delete Product

Remove a Product.

Query Multiple Accounts

Search for multiple accounts.

Query Multiple Contacts

Search for multiple contacts.

Query Multiple Customs

Search for multiple customs.

Query Multiple Leads

Search for multiple leads.

Query Multiple Opportunities

Search for multiple opportunities.

Query Multiple Opportunity Products

Search for multiple opportunity products.

Query Multiple Order Products

Search for multiple order products.

Query Multiple Orders

Search for multiple orders.

Query Multiple Pricebook Entries

Search for multiple pricebook entries.

Query Multiple Products

Search for multiple products.

Query Single Account

Search for a single account.

Query Single Contact

Search for a single contact.

Query Single Custom

Search for a single custom.

Query Single Lead

Search for a single lead.

Query Single Opportunity

Search for a single opportunity.

Query Single Opportunity Product

Search for a single opportunity product.

Query Single Order

Search for a single order.

Query Single Order Product

Search for a single order product.

Query Single Pricebook Entry

Search for a single pricebook entry.

Query Single Product

Search for a single product.

Retrieve Account

Grab all details about the account.

Retrieve Contact

Grab all details about the contact.

Retrieve Custom

Grab all details about the custom.

Retrieve Lead

Grab all details about the lead.

Retrieve Opportunity

Grab all details about the opportunity.

Retrieve Opportunity Product

Grab all details about the opportunity product.

Retrieve Order

Grab all details about the order.

Retrieve Order Product

Grab all details about an order product.

Retrieve Pricebook Entry

Grab all details about the pricebook entry.

Retrieve Product

Grab all details about the product.

Update Account

Modify an account.

Update Contact

Modify a contact.

Update Custom

Modify a custom.

Update Lead

Modify a lead.

Update Opportunity

Modify an opportunity.

Update Opportunity Product

Modify an opportunity product.

Update Order

Modify an order.

Update Order Product

Modify an order product.

Update Pricebook Entry

Modify a pricebook entry.

Update Product

Modify a product.

Add a Member to Mailing List

Add one member to a mailing list.

Add Bounce

Add a bounce record to a domain's bounce list.

Add Complaint

Adds an address to the complaints list.

Add Multiple Members to a Mailing List

Add multiple members to a mailing list.

Add Unsubscribe

Add an address to the unsubscribed list.

Assign IP to a Domain

Allocate a dedicated IP to a specific domain. Only dedicated IPs can be assigned to a domain.

Create Mailing List

Create a mailing list.

Create Route

Create a new route.

Create SMTP Credentials

Create a new set of SMTP credentials for a specific domain.

Create Template

Store a new template.

Create Webhook

Create a new webhook. When adding a clicked or opened webhook, ensure that you also have tracking enabled.

Delete an Unsubscribed Record

Removes an address from the unsubscribed list.

Delete Bounce

Remove a bounce from a bounce list.

Delete Bounce List

Remove a bounce list from a domain.

Delete Complaint

Remove a specific spam complaint.

Delete Domain

Remove a domain from your account.

Delete Mailing List

Remove a mailing list.

Delete Member from Mailing List

Remove a member from a specific mailing list.

Delete Route

Remove a route.

Delete SMTP Credentials

Remove SMTP credentials.

Delete Stored Messages

Remove all stored messages.

Delete Tag

Remove a tag from a specific domain. The tag's statistics are not deleted.

Delete Webhook

Remove a webhook.

Get List of Bounces

Obtain a list of bounces for a specific domain.

Get List of Complaints

Obtain a list of complaints for a specific domain.

Get List of Domain Countries

Obtain a list of countries of origin for a specific domain for different event types.

Get List of Domain Devices

Obtain a list of devices for a specific domain that have triggered event types.

Get List of Domain Providers

Obtain a list of email providers for a specific domain and for different event types.

Get List of Domain Stats

Obtain a list of total stats for a specific domain.

Get List of Domain Tags

Obtain a list of tags for a specific domain.

Get List of Domains

Obtains a list of domains under your account.

Get List of Event Statistics

Obtain a list of event statistics for a specific domain.

Get List of Events

Obtain a list of events for a specific domain.

Get List of IPs for a Domain

Obtain a list of IPs currently assigned to a specific domain.

Get List of IPs for an Account

Obtain a list of IPs assigned to your account.

Get List of Mailing List Members

Obtain a list of members in a specific mailing list.

Get List of Mailing Lists

Obtain a list of mailing lists under your account.

Get List of Routes

Obtain a list of routes.

Get List of Tag Stats

Obtain a list of statistics for a specific tag.

Get List of Templates

Obtain a list of stored templates for a specific domain.

Get List of Unsubscribes

Obtain a list of recipients who have unsubscribed from your emails.

Get List of Webhooks

Obtain a list of webhooks.

Parse Email Address List

Parses a delimiter-separated list of email addresses into two lists: parsed addresses and unparsable portions.

Parse Email Address List (Private)

Parses a delimiter-separated list of email addresses into two lists: parsed addresses and unparsable portions.

Retrieve an Unsubscribed Record

Grab all details about a single unsubscribe record.

Retrieve Bounce

Grab all details about a specific bounce event by a specific email address.

Retrieve Complaint

Grab all details about a single spam complaint by a specific email address.

Retrieve Domain

Grab all details about a domain, including credentials and DNS records.

Retrieve Domain Connection Settings

Grab all details about the delivery connection settings for a specific domain.

Retrieve Domain Tag

Grab all details about a tag from a specific domain.

Retrieve Domain Tracking Settings

Grab all details about the tracking settings for a specific domain.

Retrieve IP

Grabs all details about the specific IP.

Retrieve Mailing List

Grab all details about a single mailing list by a specific address.

Retrieve Mailing List Member

Grab all details about a mailing list member.

Retrieve Route

Grab all details about a route.

Retrieve SMTP Credentials for a Domain

Grab all details about the domain's SMTP credentials.

Retrieve Stored Message

Grab all details about a stored message.

Retrieve Template

Grab all details about the specific template, including metadata information.

Retrieve Webhook

Grab all details about a webhook

Send Message

Send a message.

Unassign IP from a Domain

Disconnect an IP from a specific domain.

Update Click Domain Tracking Settings

Modify click tracking settings for a specific domain.

Update DKIM Authority

Modify DKIM authority for a specific domain.

Update Domain Delivery Connection Settings

Modify specified delivery connection settings for a specific domain.

Update Mailing List

Modify a mailing list such as address, description or name.

Update Mailing List Member

Modify a mailing list member.

Update Open Domain Tracking Settings

Modify open tracking settings for a specific domain.

Update Route

Modify a route.

Update SMTP Credentials

Modify an existing SMTP credentials. Currently, only the password can be changed.

Update Tag

Modify a tag for a specific domain.

Update Unsubscribe Domain Tracking Settings

Modify unsubscribe tracking settings for a specific domain.

Update Webhook

Modify an existing webhook.

Validate Email Address

Verifies an email address based off defined checks.

Validate Email Addresses

Verify email addresses based off defined checks.

Verify Domain

Validates a domain. If the domain is successfully validated, you should see the following in a workflow's Logs: Domain DNS records have been updated.

View all

Not just software—partnership

Expert support included

MESA includes hands-on support from automation experts who know how to get things done.

Free workflow setup

We'll build your first workflow with you live. Most merchants walk away with automation saving 5+ hours/week.

Fast response times

Average first response: Same day. Critical issues: Immediate escalation. Complex builds: 24-48 hours.

Managed services available

Personalized workflow reviews, and quarterly check-ins to identify new opportunities as your business grows.

Real humans, always

Chat with real automation experts (not bots). Email support 9am-5pm PST. Google Meet sessions for complex workflows.

Integrate Mailgun with Salesforce today.

Enjoy a 7-day free trial. Get your first workflow in minutes.

Try MESA today →

MESA AI assistant

+×

Describe your task...

You've known what your store should be doing. Now it can. Describe the task then MESA handles it from there.