HubSpot to Mailgun Integration | MESA
Connect HubSpot to Mailgun and automate your tasks
Describe to build
Activity reports
Fully supported
MESA's HubSpot to Mailgun 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.
★★★★★ 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 HubSpot with Mailgun
The HubSpot to Mailgun integration helps you sync data, automate manual tasks, and keep your stack aligned — without writing code.
Keep HubSpot 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 HubSpot contact record automatically. Your CRM reflects who your customers are right now without a manual sync or scheduled export.
Create HubSpot deals 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 a deal in HubSpot with the order details already attached. Your sales team follows up with context, not just a name.
Trigger HubSpot 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 HubSpot and starts the right sequence. Your CRM automation runs on live commerce signals, not just form fills and email opens.
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.
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.
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.
Build any HubSpot and Mailgun 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.
Clicked Created
Starts when a recipient clicks on a link in your message.
Tags
Timestamp
Storage
Recipient-domain
Event
Campaigns
User-variables
Flags
Log-level
Envelope
Message
Recipient
ID
Delivery-status
Complained Created
Starts when a recipient complains that a message is spam.
Tags
Timestamp
Storage
Recipient-domain
Event
Campaigns
User-variables
Flags
Log-level
Envelope
Message
Recipient
ID
Delivery-status
Delivered Created
Starts when a message is delivered.
Tags
Timestamp
Storage
Recipient-domain
Event
Campaigns
User-variables
Flags
Log-level
Envelope
Message
Recipient
ID
Delivery-status
Opened Created
Starts when a recipient opens an email.
Tags
Timestamp
Storage
Recipient-domain
Event
Campaigns
User-variables
Flags
Log-level
Envelope
Message
Recipient
ID
Delivery-status
Permanent Fail
Starts when Mialgun stops attempting to deliver messages and drops them.
Tags
Timestamp
Storage
Recipient-domain
Event
Campaigns
User-variables
Flags
Log-level
Envelope
Message
Recipient
ID
Delivery-status
Temporary Fail
Starts when Mailgun gets a soft bounce.
Tags
Timestamp
Storage
Recipient-domain
Event
Campaigns
User-variables
Flags
Log-level
Envelope
Message
Recipient
ID
Delivery-status
Unsubscribed Created
Starts when a recipient requests to be unsubscribed from your mailings.
Company Created
Starts when a company is created.
ID
Properties
Created At
Updated At
Archived
Company Updated
Starts when a company is modified.
ID
Properties
Created At
Updated At
Archived
Contact Created
Starts when a contact is created.
ID
Properties
Created At
Updated At
Archived
Contact Updated
Starts when a contact is modified.
ID
Properties
Created At
Updated At
Archived
Deal Created
Starts when a deal is created.
ID
Properties
Created At
Updated At
Archived
Deal Updated
Starts when a deal is modified.
ID
Properties
Created At
Updated At
Archived
Invoice Created
Starts when an invoice is created.
Archived
Created At
Updated At
ID
Properties
URL
Invoice Updated
Starts when an invoice is modified.
Archived
Created At
Updated At
ID
Properties
URL
Line Item Created
Starts when a new product or service is added to a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
Archived
Created At
Updated At
ID
Properties
URL
Line Item Updated
Starts when a product or service on a deal, invoice, quote, or subscription in HubSpot is modified. Note: This is not related to line items in Shopify orders.
Archived
Created At
Updated At
ID
Properties
URL
Note Created
Starts when a note is created.
Archived
Created At
Updated At
ID
Properties
URL
Note Updated
Starts when a note is modified.
Archived
Created At
Updated At
ID
Properties
URL
Product Created
Starts when a product is created.
Archived
Created At
Updated At
ID
Properties
URL
Product Updated
Starts when a product is modified.
Archived
Created At
Updated At
ID
Properties
URL
Ticket Created
Starts when a ticket is created.
Archived
Created At
Updated At
ID
Properties
URL
Ticket Updated
Starts when a ticket is modified.
Archived
Created At
Updated At
ID
Properties
URL
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.
- Message
Add Multiple Members to a Mailing List
Add multiple members to a mailing list.
Add Unsubscribe
Add an address to the unsubscribed list.
- Message
Assign IP to a Domain
Allocate a dedicated IP to a specific domain. Only dedicated IPs can be assigned to a domain.
- Message
Create Mailing List
Create a mailing list.
Address
Name
Description
Access Level
Create Route
Create a new route.
Create SMTP Credentials
Create a new set of SMTP credentials for a specific domain.
Login
Password
Create Template
Store a new template.
Name
Description
Template
Tag
Engine
Comment
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.
- Message
Delete Bounce
Remove a bounce from a bounce list.
- Message
Delete Bounce List
Remove a bounce list from a domain.
- Message
Delete Complaint
Remove a specific spam complaint.
- Message
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.
Address
Created At
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.
End
Resolution
Start
Stats
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.
Created At
ID
Is Disabled
Name
Require Tls
Skip Verification
Smtp Login
Spam Action
State
Type
Web Prefix
Web Scheme
Wildcard
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.
- Items
Get List of IPs for an Account
Obtain a list of IPs assigned to your account.
- 0
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.
Access Level
Address
Created At
Description
Members Count
Name
Get List of Routes
Obtain a list of routes.
Total Count
Items
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.
Created At
Description
Name
Get List of Unsubscribes
Obtain a list of recipients who have unsubscribed from your emails.
- Message
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.
- 0
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.
- Message
Retrieve Bounce
Grab all details about a specific bounce event by a specific email address.
Address
Code
Error
Created At
Retrieve Complaint
Grab all details about a single spam complaint by a specific email address.
Address
Created At
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.
Ip
Dedicated
Rdns
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.
Description
Created At
Actions
Priority
Expression
ID
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.
Created At
Description
Name
Retrieve Webhook
Grab all details about a webhook
Send Message
Send a message.
Message
ID
Unassign IP from a Domain
Disconnect an IP from a specific domain.
- Message
Update Click Domain Tracking Settings
Modify click tracking settings for a specific domain.
- Active
Update DKIM Authority
Modify DKIM authority for a specific domain.
- Self
Update Domain Delivery Connection Settings
Modify specified delivery connection settings for a specific domain.
Require Tls
Skip Verification
Update Mailing List
Modify a mailing list such as address, description or name.
Name
Description
Access Level
Update Mailing List Member
Modify a mailing list member.
Name
Vars
Subscribed
Update Open Domain Tracking Settings
Modify open tracking settings for a specific domain.
- Active
Update Route
Modify a route.
Update SMTP Credentials
Modify an existing SMTP credentials. Currently, only the password can be changed.
- Password
Update Tag
Modify a tag for a specific domain.
Domain
Description
Update Unsubscribe Domain Tracking Settings
Modify unsubscribe tracking settings for a specific domain.
Active
HTML Footer
Text Footer
Update Webhook
Modify an existing webhook.
Validate Email Address
Verifies an email address based off defined checks.
Address
Did You Mean
Is Disposable Address
Is Role Address
Is Valid
Mailbox Verification
Parts
Reason
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.
Create Company
Create a company.
- Properties
Create Company Association
Link a company to an existing contact or deal.
Create Contact
Create a contact.
ID
Properties
Create Contact Association
Link a contact to an existing company or deal.
Create Deal
Create a deal.
- Properties
Create Deal Association
Link a deal to an existing company or contact.
Create Invoice
Create an invoice.
- Properties
Create Invoice Association
Link an invoice to an existing company or contact.
Create Line Item
Create a line item. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
- Properties
Create Line Item Association
Link a line item to an existing company, contact, or deal. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
Create Note
Create a note.
- Properties
Create Note Association
Link a note to an existing company or contact.
Create Product
Create a product.
- Properties
Create Ticket
Create a ticket.
- Properties
Create Ticket Association
Link a ticket to an existing company or contact.
Delete Company
Remove an existing company.
Delete Company Association
Unlink a company from an existing contact or deal.
Delete Contact
Remove an existing contact.
Delete Contact Association
Unlink a contact from an existing company or deal.
Delete Deal
Remove an existing deal.
Delete Deal Association
Unlink a deal from an existing company or contact.
Delete Invoice
Remove an existing invoice.
Delete Invoice Association
Unlink an invoice from an existing company or contact.
Delete Line Item
Remove an existing line item. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
Delete Line Item Association
Unlink a line item from an existing company, contact, or deal. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
Delete Note
Remove an existing note.
Delete Note Association
Unlink a note from an existing company or contact.
Delete Product
Remove an existing product.
Delete Ticket
Remove an existing ticket.
Delete Ticket Association
Unlink a ticket from an existing company or contact.
Get List of Companies
Obtain a list of existing companies.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Get List of Company Associations
Obtain a list of existing contacts or deals associated with a company.
ID
Type
Get List of Contact Associations
Obtain a list of existing companies or deals associated with a contact.
ID
Type
Get List of Contacts
Obtain a list of existing contacts.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Get List of Deal Associations
Obtain a list of existing companies or contacts associated with a deal.
ID
Type
Get List of Deals
Obtain a list of existing deals.
ID
Properties
Created At
Updated At
Archived
Archived At
Associations
Get List of Invoice Associations
Obtain a list of existing companies or contacts associated with an invoice.
ID
Type
Get List of Invoices
Obtain a list of invoices.
- Next
Get List of Line Item Associations
Obtain a list of existing companies, contacts, or deals associated with a line item. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
ID
Type
Get List of Line Items
Obtain a list of line items. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
- Next
Get List of Note Associations
Obtain a list of existing companies or contacts associated with a note.
ID
Type
Get List of Notes
Obtain a list of notes.
- Next
Get List of Products
Obtain a list of products.
- Next
Get List of Ticket Associations
Obtain a list of existing companies or contacts associated with a ticket.
ID
Type
Get List of Tickets
Obtain a list of tickets.
- Next
Retrieve Company
Grab all details about a company.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Retrieve Contact
Grab all details about a contact.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Retrieve Deal
Grab all details about an existing deal.
ID
Properties
Created At
Updated At
Archived
Archived At
Associations
Retrieve Invoice
Grab all details about an invoice.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Retrieve Line Item
Grab all details about a line item. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Retrieve Note
Grab all details about a note.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Retrieve Product
Grab all details about a product.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Retrieve Ticket
Grab all details about a ticket.
ID
Properties
Properties With History
Created At
Updated At
Archived
Archived At
Associations
Search for Company
Search for an existing company.
Total
Results
Paging
Search for Contact
Search for an existing contact.
ID
Properties
Search for Deal
Search for an existing deal.
Total
Results
Paging
Search for Invoice
Search for an invoice.
Total
Results
Paging
Search for Line Item
Search for a line item. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
Total
Results
Paging
Search for Note
Search for a note.
Total
Results
Paging
Search for Product
Search for an existing product.
Total
Results
Paging
Search for Ticket
Search for an existing ticket.
Total
Results
Paging
Update Company
Modify an existing company.
- Properties
Update Contact
Modify an existing contact.
ID
Properties
Update Deal
Modify an existing deal.
- Properties
Update Invoice
Modify an existing invoice.
- Properties
Update Line Item
Modify an existing line item. Line items are products or services in a deal, invoice, quote, or subscription in HubSpot. Note: This is not related to line items in Shopify orders.
- Properties
Update Note
Modify an existing note.
- Properties
Update Product
Modify an existing product.
- Properties
Update Ticket
Modify an existing ticket.
- Properties
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 HubSpot with Mailgun today.
Enjoy a 7-day free trial. Get your first workflow in minutes.
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.