# Connect Logic to TikTok and automate your tasks

## Why integrate Logic with TikTok

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

### Describe your logic and let AI build the step

Tell MESA what your workflow needs to do — filter by value, loop through line items, reshape a payload — and AI writes the Logic step. No code, no separate steps, no developer.

### Handle complex order rules inside a single step

Filtering by value, checking line items, routing by tag — Logic handles all of it without chaining separate steps. Your workflow stays clean and your conditions stay reliable.

### Reshape and filter data before it reaches your apps

Logic restructures incoming data — extracting fields, filtering records, looping through line items — so what arrives at the next step is exactly what that app expects.

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

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

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

### Ongoing optimization

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 Logic with TikTok today.

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