Mailgun to TikTok Integration | MESA
Connect Mailgun to TikTok and automate your tasks
Why integrate Mailgun with TikTok
The Mailgun to TikTok integration helps you sync data, automate manual tasks, and keep your stack aligned — without writing code.
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.
Sync Shopify audiences to TikTok Ads in real time
When a customer's tags, purchase history, or lifecycle stage changes in Shopify, MESA updates the corresponding TikTok Ads audience. Your campaigns always target the right people without manual list exports or scheduled syncs.
Build retargeting audiences from Shopify customer behavior
When a customer abandons checkout, completes a first purchase, or crosses a spend threshold, MESA adds them to the right TikTok Ads audience automatically. Your retargeting runs on live customer behavior, not a weekly CSV upload.
Pause or adjust campaigns when inventory runs low
When stock drops below a threshold in Shopify, MESA triggers a TikTok Ads update — pausing a campaign, adjusting a budget, or flagging it for review. You stop spending on products you can't fulfill without monitoring ad accounts separately.
Build any Mailgun and TikTok 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.
Lead Created
Starts when an instant form lead is submitted.
- Request ID
- Entry
- Time
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.
Delivered Created
Starts when a message is delivered.
Opened Created
Starts when a recipient opens an email.
Permanent Fail
Starts when Mailgun 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 Ad
Create a TikTok ad.
- Advertiser ID
- Adgroup ID
- Creatives
Create Ad Group
Create a new ad group.
- Advertiser ID
- Adgroup Name
- Campaign ID
- Budget Mode
- Budget
- Placement Type
- Placement
- External Type
- Location
- Schedule Type
- Schedule Start Time
- Optimize Goal
- Billing Event
- Cpv Video Duration
- Bid
- External Action
- Schedule End Time
Create Campaign
Create a new campaign.
- Advertiser ID
- Budget
- Budget Mode
- Objective Type
- Campaign Name
Custom Report
Create a custom report.
List Ad Group
Obtain a list of ad groups.
- Total Number
- Page
- Page Size
- Total Page
List Ads
Obtain a list of ads.
- Total Number
- Page
- Page Size
- Total Page
List Campaigns
Obtain a list of campaigns.
- Total Number
- Page
- Page Size
- Total Page
Retrieve Ad Group Summary Report
Query the daily reporting data of ad groups within a certain period of time.
Retrieve Auction Campaign Summary Report
Query the daily reporting data of auction campaigns within a certain period of time.
Update Ad
Modify an existing ad.
- Advertiser ID
- Adgroup ID
- Creatives
Update Ad Group
Modify an existing ad group.
- Advertiser ID
- Adgroup Name
- Adgroup ID
- Operation System
- Category
- Keywords
- Location
- Schedule Type
- Schedule End Time
- Dayparting
- Bid
- Conversion Bid
- Budget Mode
- Budget
- Bid Type
Update Ad Group Status
Delete, disable, or enable an existing ad group.
- Advertiser ID
- Adgroup Ids
- Opt Status
Update Ad Status
Delete, disable, or enable an existing ad.
Update Campaign
Modify an existing campaign.
- Advertiser ID
- Budget
- Budget Mode
- Objective Type
- Campaign Name
- Campaign ID
Update Campaign Status
Delete, disable, or enable an existing campaign.
- Advertiser ID
- Campaign Ids
- Opt Status
Upload Image
Upload an image to your TikTok Business account.
- Format
- File Name
- Height
- Image ID
- Create Time
- ID
- Size
- URL
- Displayable
- Material ID
- Width
- Modify Time
- Signature
Upload Video
Upload a video to your TikTok Business account.
- Poster URL
- Format
- URL
- File Name
- Video ID
- Displayable
- Material ID
- Height
- Width
- Bit Rate
- Create Time
- Modify Time
- Allowed Placements
- Signature
- Duration
- Allow Download
- ID
- Size
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.