Mailgun to Square Integration | MESA

Connect Mailgun to Square and automate your tasks

Describe to build

Activity reports

Fully supported

MESA's Mailgun to Square 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 Square

The Mailgun to Square 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 →

Sync Square transactions into your Shopify customer records

When a purchase is made in Square — in-store, at an event, at a pop-up — MESA creates or updates the customer's record in Shopify. Your ecommerce and physical sales channels share a single view of every customer.

Inventory management →

Keep inventory accurate across Square and Shopify

When a sale is made in Square, MESA updates the corresponding stock level in Shopify. Your online storefront reflects what was just sold in person without a manual sync between your point-of-sale and your store.

Customer experience →

Trigger post-purchase workflows from Square transactions

When a customer buys in Square, MESA kicks off the right next step in Shopify — adding a tag, enrolling them in a Klaviyo flow, updating a loyalty record. Your in-person sales feed the same automation as your online ones.

Build any Mailgun and Square 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.

Catalog Item Created

Starts when a catalog item is created.

Catalog Item Updated

Starts when a catalog item is updated.

Customer Created

Starts when a customer is created.

Customer Updated

Starts when a customer is updated.

Invoice Added

Starts when an invoice is added.

Order Created

Starts when an order is created.

Order Updated

Starts when an order is updated.

Payment Created

Starts when a payment is created.

Payment Updated

Starts when a payment is updated.

Payout Created

Starts when a payout from the default location (associated with the seller) is created.

Refund Created

Starts when a refund is created.

Refund Updated

Starts when a refund is updated.

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.

Accept Dispute

Accept the loss on a dispute.

Accumulate Loyalty Points

Add points earned from a purchase to a loyalty account.

Add Group to Customer

Add a group membership to a customer.

Adjust Loyalty Points

Add points to or subtract points from a buyer's account.

Calculate Loyalty Points

Calculate the number of points a buyer can earn from a purchase.

Calculate Order

Enables applications to preview order pricing without creating an order.

Cancel Booking

Cancel a booking.

Cancel Payment

Cancel a payment.

Cancel Subscription

Cancel a subscription.

Cancel Terminal Checkout

Cancel a terminal checkout.

Complete Payment

Complete a payment.

Create Booking

Create a booking.

Create Break Type

Create a new break type.

Create Card

Add a card on file to an existing merchant.

Create Checkout

Create a checkout.

Create Customer

Create a new customer for the business, which can have associated cards on file.

Create Customer Card

Add a card on file to an existing customer.

Create Customer Group

Create a customer group.

Create Dispute Evidence File

Upload a file to use as evidence in a dispute challenge.

Create Dispute Evidence Text

Upload text to use as evidence for a dispute challenge.

Create Gift Card

Create a gift card.

Create Gift Card Activity

Create a gift card activity to manage the balance or state of a gift card.

Create Invoice

Create an invoice.

Create Location

Create a location.

Create Location Transaction

Create a location transaction.

Create Loyalty Account

Create a loyalty account.

Create Loyalty Rewards

Create a loyalty reward.

Create Order Shipment

Create an order shipment.

Create Payment

Create a payment.

Create Refund

Initiates a refund for a previously charged tender.

Create Shift

Create a new shift.

Create Subscription

Create a subscription.

Create Team Member

Create a team member.

Create Terminal Checkout

Create a terminal checkout.

Delete Break Type

Remove a break type.

Delete Catalog Object

Remove a catalog object.

Delete Customer

Remove a customer.

Delete Customer Card

Remove a card on file from a customer.

Delete Customer Group

Remove a customer group.

Delete Dispute

Remove a specified evidence from a dispute.

Delete Group from Customer

Remove a customer from a business.

Delete Invoice

Remove an invoice.

Delete Loyalty Reward

Remove a loyalty reward.

Delete Shift

Remove a shift.

Disable Card

Disable a card, preventing any further updates or changes.

Get List of Additional Recipient Receivables

Obtain a list of additional recipient receivables.

Get List of Additional Recipient Receivables Refunds

Obtain a list of additional recipient receivables refunds.

Get List of Bank Accounts

Obtain a list of bank accounts linked to a Square account.

Get List of Cards

Obtain a list of cards owned by the account.

Get List of Catalog

Obtain a list of catalog objects.

Get List of Customer Groups

Obtain a list of customer groups.

Get List of Customer Segments

Obtain a list of customer segments.

Get List of Customers

Obtain a list of customers.

Get List of Dispute Evidence

Obtain a list of evidence associated with a dispute.

Get List of Disputes

Obtain a list of disputes.

Get List of Employee Wages

Obtain a list of employee wages.

Get List of Employees

Obtain a list of employees.

Get List of Invoices

Obtain a list of invoices.

Get List of Locations

Obtain a list of all of a seller's locations.

Get List of Loyalty Programs

Obtain a list of loyalty programs.

Get List of Merchants

Obtain a list of merchants.

Get List of Payment Refunds

Obtain a list of payment refunds.

Get List of Payments

Obtain a list of payments.

Get List of Refunds

Obtain a list of refunds.

Get List of Sites

Obtain a list of Square Online sites that belong to a seller.

Get List of Subscription Events

Obtain a list of subscription events.

Get List of Team Member Booking Profiles

Obtain a list of booking profiles for team members.

Get List of Team Member Wages

Obtain a list of team member wages.

Get List of Transactions

Obtain a list of transactions for a particular location.

Get List of Workweek Configs

Obtain a list of workweek configs instances for a business.

Link Customer to Gift Card

Link a customer to a gift card, which is also referred to as adding a card on file.

List Break Type

Get list of all break types

Pay Order

Pay for an order using one or more approved payments or settle an order with a total of 0.

Publish Invoice

Publish the specified draft invoice.

Redeem Loyalty Rewards

Redeem a loyalty reward.

Refund Payment

Refund a payment.

Register Domain

Activates a domain for us with Apple Pay on the Web and Square.

Retrieve Bank Account

Grab all details about a bank account.

Retrieve Bank Account by V1 ID

Grab all details about a bank account by V1 bank account id.

Retrieve Booking

Grab all details about a booking.

Retrieve Break Type

Grab all details about a break type.

Retrieve Card

Grab all details about a card.

Retrieve Catalog Object

Grab all details about a catalog object.

Retrieve Customer

Grab all details about a customer.

Retrieve Customer Group

Grab all details about a customer group.

Retrieve Customer Segments

Grab all details about a customer segment.

Retrieve Dispute

Grab all details about a dispute.

Retrieve Dispute Evidence

Grab all details about a dispute evidence.

Retrieve Employee

Grab all details about an employee.

Retrieve Employee Wage

Grab all details about an employee's wage.

Retrieve Gift Card

Grab all details about a gift card.

Retrieve Inventory Adjustment

Grab all details about an inventory adjustment.

Retrieve Inventory Changes

Grab all details about an inventory change.

Retrieve Inventory Count

Grab the inventory count for a given catalog.

Retrieve Inventory Physical Count

Grab the inventory physical count.

Retrieve Invoice

Grab all details about an invoice

Retrieve Location

Grab all details about a location's details.

Retrieve Loyalty Account

Grab all details about a loyalty account.

Retrieve Loyalty Reward

Grab all details about a loyalty reward.

Retrieve Merchant

Grab all details about a merchant.

Retrieve Order

Grab all details about an order.

Retrieve Payment

Grab all details about a payment.

Retrieve Payment Refund

Grab all details about a payment refund.

Retrieve Shift

Grab all details about a shift.

Retrieve Subscription

Grab all details about a subscription.

Retrieve Team Member

Grab all details about a team member.

Retrieve Terminal Checkout

Grab all details about a terminal checkout.

Retrieve Transaction

Grab all details about a transaction.

Retrieve Wage Setting

Grab all details about a wage setting.

Search Availability

Search availabilities for booking.

Search Catalog

Search for a catalog.

Search Customer

Search for a customer.

Search for Catalog Item

Search for a catalog item.

Search Invoice

Search for an invoice.

Search Loyalty Account

Search for a loyalty account.

Search Loyalty Event

Search for a loyalty event.

Search Loyalty Rewards

Search for a loyalty reward.

Search Shifts

Search for a shift.

Search Subscription

Search for a subscription.

Search Team Members

Search for a team member.

Search Terminal Checkout

Search for a terminal checkout.

Searchorders /V2/Orders/Search

SearchOrders

Submit Evidence

Submit evidence to the cardholder's bank.

Update Booking

Modify a booking's details.

Update Break Type

Modify a break type's details.

Update Customer

Modify a customer's details.

Update Customer Group

Modify a customer group.

Update Inventory

Modify inventory for an item.

Update Invoice

Modify an invoice's details.

Update Item Modifier Lists

Modify a catalog modifier list object that apply to the targeted catalog item.

Update Item Taxes

Modify a catalog tax object that apply to the targeted catalog item.

Update Location

Modify a location's details.

Update Order Fulfillment

Modify an order fulfillment's details.

Update Shift

Modify a shift's details.

Update Subscription

Modify a subscription's details.

Update Team Member

Modify a team member's details.

Update Wage Setting

Modify a wage setting's details.

Update Workweek Config

Modify a workweek's config details.

Void Transaction

Cancel a transaction.

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 Square 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.