# Connect Loop Returns to TikTok and automate your tasks

## Why integrate Loop Returns with TikTok

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

### Update Shopify customer records when a return is initiated

When a customer starts a return in Loop, MESA updates their Shopify record with the relevant details — return reason, product, order value. Your team and connected tools have the full picture before the return is even completed.

### Trigger retention workflows the moment a return is filed

When a customer initiates a return in Loop, MESA kicks off the right response — a Klaviyo win-back flow, a Slack alert to the right team member, a loyalty point adjustment in Rivo. You act on the signal while the customer relationship is still recoverable.

### Route high-value return events to your team before they escalate

When a VIP customer, a large-order return, or a repeat returner is flagged in Loop, MESA notifies the right person through Slack or email with the order context already attached. Your team responds before the situation becomes a churn event.

### 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 Loop Returns 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

### Label Created or Updated

Starts when a label is created or modified.

- Topic  
- Trigger  
- Return ID  
- Order ID  
- Provider Order ID  
- Carrier  
- Tracking Number  
- Label Status  
- Label Updated At

### Restock Requested

Starts when a restock is requested.

- Topic  
- Trigger  
- ID  
- Order ID  
- Provider Order ID  
- Restock Items

### Return Created or Updated

Starts when a return is created or modified.

- Topic  
- Trigger  
- ID  
- State  
- Created At  
- Order ID  
- Order Name  
- Provider Order ID  
- Order Number  
- Customer  
- Currency  
- Return Product Total  
- Return Discount Total  
- Return Tax Total  
- Return Total  
- Return Credit Total  
- Exchange Product Total  
- Exchange Discount Total  
- Exchange Tax Total  
- Exchange Total  
- Exchange Credit Total  
- Gift Card  
- Handling Fee  
- Refund  
- Upsell  
- Line Items  
- Exchanges  
- Carrier  
- Tracking Number  
- Label Status  
- Label Updated At

### 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

### Cancel Return

Cancel a return.

### Close Return

Close a return.

### Create Blacklist

Create a blacklist.

- Type  
- Value  
- Secondary Value

### Create Order Link

Generate an order link that will take the user directly to their order.

- Designation  
- Name  
- Zip

### Create Whitelist

Create a whitelist.

- Type  
- Value  
- Secondary Value

### Delete Blacklist

Remove a blacklist.

### Delete Whitelist

Remove a whitelist.

### Flag Return

Mark a return.

### List Blacklist

Obtain a list of blacklists.

- Current Page  
- Data  
- From  
- Last Page  
- Next Page URL  
- Path  
- Per Page  
- Prev Page URL  
- To  
- Total

### List Details of Return

Obtain a list of return details.

- ID  
- Created At  
- Order ID  
- Order Name  
- Order Number  
- State  
- Currency  
- Refund  
- Gift Card  
- Exchange  
- Return Total  
- Line Items  
- Customer Email  
- Carrier  
- Label Status  
- Label Updated At  
- Tracking Number

### List Packages Return

Obtain a list of all packages by tracking statuses or timeframe.

- ID  
- Created At  
- Updated At  
- Return Line Item ID  
- Order ID  
- Order Name  
- State  
- Customer Email  
- Title  
- Sku  
- Carrier  
- Label Status  
- Label Updated At  
- Tracking Number

### List Returns Return

Obtain a list of returns that were created within a given timeframe.

- ID  
- State  
- Created At  
- Updated At  
- Order ID  
- Order Name  
- Provider Order ID  
- Order Number  
- Customer  
- Currency  
- Return Product Total  
- Return Discount Total  
- Return Tax Total  
- Return Total  
- Return Credit Total  
- Exchange Product Total  
- Exchange Discount Total  
- Exchange Tax Total  
- Exchange Total  
- Exchange Credit Total  
- Gift Card  
- Handling Fee  
- Refund  
- Upsell  
- Line Items  
- Exchanges  
- Carrier  
- Tracking Number  
- Label Status  
- Label Updated At

### List Whitelist

Obtain a list of whitelists.

- Current Page  
- Data  
- From  
- Last Page  
- Next Page URL  
- Path  
- Per Page  
- Prev Page URL  
- To  
- Total

### Process Return

Return the funds to the customer.

### Retrieve Blacklist

Grab all details about the blacklist.

- ID  
- Created At  
- Type  
- Value  
- Secondary Value

### Retrieve Whitelist

Grab all details about the whitelist.

- ID  
- Created At  
- Type  
- Value  
- Secondary Value

## 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 Loop Returns with TikTok today.

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