TikTok Shop + Salesforce
Connect TikTok Shop to Salesforce and Turn Social Commerce Into Revenue Intelligence
Automatically sync TikTok Shop orders, customers, and product data into Salesforce to unify your commerce and CRM operations.

Why integrate TikTok Shop and Salesforce?
TikTok Shop has become one of the fastest-growing social commerce platforms, letting brands sell directly to millions of consumers who are already watching. Salesforce is the CRM platform most revenue teams run their business on — managing relationships, sales pipelines, and reporting at scale. Integrating the two means every TikTok order, buyer, and interaction lands in Salesforce automatically, with no manual data entry and no gaps in your customer history.
Automate & integrate TikTok Shop & Salesforce
Use case
Sync TikTok Shop Orders to Salesforce as Opportunities or Custom Objects
Every time a customer places an order on TikTok Shop, tray.ai creates or updates the corresponding record in Salesforce — whether that's a custom Order object, an Opportunity, or a Case. Your sales and operations teams get a live view of TikTok-generated revenue without touching a spreadsheet. Order status, value, and product details are all there inside the Salesforce workflows your team already uses.
Use case
Create and Enrich Salesforce Contacts from TikTok Shop Buyers
When a new customer buys through TikTok Shop, tray.ai creates a Contact or Lead in Salesforce with their name, email, shipping address, and purchase history. If that contact already exists, the record gets updated with the new TikTok interaction rather than duplicated. Your CRM ends up with an accurate view of every buyer across all channels — not a mess of repeated entries.
Use case
Route High-Value TikTok Shop Buyers into Salesforce Sales Workflows
A first-time TikTok buyer and a repeat customer spending $800 shouldn't get the same treatment. With tray.ai, you can set threshold-based rules that automatically assign high-value buyers to Salesforce sales queues, create follow-up tasks for account executives, or enroll them in nurture sequences. Your team can act on real buying intent the moment it happens.
Use case
Trigger Salesforce Service Cloud Cases from TikTok Shop Refunds or Disputes
When a TikTok Shop order triggers a refund request, return, or dispute, tray.ai instantly creates a Salesforce Service Cloud Case and routes it to the right support team. The Case arrives pre-populated with order details, customer information, and the dispute reason — so agents can resolve it faster without chasing down context.
Use case
Sync TikTok Shop Product Catalog and Inventory to Salesforce
Keeping Salesforce product records aligned with your live TikTok Shop catalog is tedious work. tray.ai automates bidirectional product and inventory sync so price changes, stock levels, and product descriptions stay consistent between platforms. Sales teams quoting in Salesforce always see current inventory — not yesterday's numbers.
Use case
Attribute TikTok Shop Revenue to Salesforce Campaigns and Marketing ROI
Knowing which campaigns actually drove TikTok Shop purchases matters when you're making budget decisions. tray.ai connects TikTok Shop sales data back to Salesforce Campaigns so marketing teams can track attribution and ROI for influencer-led and paid social efforts. You get a closed-loop reporting system between social commerce and CRM — no more guessing.
Use case
Automate Post-Purchase Salesforce Flows for TikTok Shop Customers
After a TikTok Shop purchase is confirmed, tray.ai can trigger Salesforce Flow automations or enroll customers into Journey Builder sequences for onboarding, loyalty, and retention. A thank-you email, a loyalty tier upgrade, a cross-sell recommendation — whatever the sequence, it starts immediately and runs at scale. One-time TikTok buyers become repeat customers without your team lifting a finger.
Get started with TikTok Shop & Salesforce integration today
TikTok Shop & Salesforce Challenges
What challenges are there when working with TikTok Shop & Salesforce and how will using Tray.ai help?
Challenge
Handling TikTok Shop Webhook Reliability and Data Consistency
TikTok Shop delivers order and event data via webhooks, which can occasionally arrive out of order, contain partial data, or be retried multiple times. Without solid handling in place, Salesforce records can end up incomplete or duplicated when the same event is processed more than once.
How Tray.ai Can Help:
tray.ai provides built-in webhook ingestion with idempotency controls, so workflows detect and deduplicate repeat events using order IDs or event tokens. Conditional logic steps validate payload completeness before writing to Salesforce, and error handling branches queue failed records for automatic retry without data loss.
Challenge
Mapping TikTok Shop Data Structures to Salesforce Custom Objects
TikTok Shop's data model — order line items, product variants, seller SKUs, fulfillment statuses — doesn't map directly to standard Salesforce objects. Transforming this data manually requires deep knowledge of both platforms and tends to break whenever either API updates its schema.
How Tray.ai Can Help:
tray.ai's visual data mapper lets teams build and maintain field mappings between TikTok Shop and Salesforce without writing code. Mappings handle nested JSON structures, array iteration over line items, and conditional field transformations. When schemas change, mappings can be updated in the visual editor and redeployed instantly across all workflows.
Challenge
Avoiding Duplicate Salesforce Contacts and Accounts from TikTok Shop Buyers
TikTok Shop buyers may already exist in Salesforce from other channels — email campaigns, website purchases, trade show leads. Without intelligent matching logic, every TikTok order risks creating a duplicate Contact or Account, which quietly degrades data quality and breaks reporting accuracy.
How Tray.ai Can Help:
tray.ai workflows implement multi-field matching logic — checking email address, phone number, and name — before creating any new Salesforce record. An upsert pattern means existing records get updated rather than duplicated, and match confidence rules can route ambiguous cases to a review queue for manual resolution.
Challenge
Managing High-Volume Order Events During TikTok Live Commerce Spikes
TikTok Live shopping events can generate thousands of orders within minutes. That kind of sudden spike can overwhelm integrations built for steady-state throughput, and dropped or delayed order records during peak periods mean missed sales follow-up, inaccurate inventory, and a poor customer experience.
How Tray.ai Can Help:
tray.ai runs on cloud-native infrastructure that handles high-throughput event volumes without manual intervention. Workflows use asynchronous queue processing to absorb TikTok Shop order bursts, so every event is processed in order and written to Salesforce reliably — even during viral Live commerce spikes.
Challenge
Maintaining Data Privacy Compliance Across TikTok Shop and Salesforce
Transferring customer personal data — names, email addresses, shipping details — from TikTok Shop into Salesforce has to comply with GDPR, CCPA, and other applicable regulations. Without proper controls, businesses face real regulatory and reputational risk.
How Tray.ai Can Help:
tray.ai supports data governance best practices by letting teams filter, mask, or anonymize personally identifiable information within workflow steps before it's written to Salesforce. Audit logging provides a full record of what data was transferred, when, and by which workflow — useful for compliance documentation and data subject access requests.
Start using our pre-built TikTok Shop & Salesforce templates today
Start from scratch or use one of our pre-built TikTok Shop & Salesforce templates to quickly solve your most common use cases.
TikTok Shop & Salesforce Templates
Find pre-built TikTok Shop & Salesforce solutions for common use cases
Template
New TikTok Shop Order to Salesforce Opportunity
Automatically creates a new Salesforce Opportunity and associated Contact whenever a new order is placed on TikTok Shop. Order value, product details, and buyer information are mapped to the appropriate Salesforce fields, and the Opportunity is assigned to the correct sales team or owner based on configurable rules.
Steps:
- Trigger: New order event received from TikTok Shop webhook
- Check if a matching Salesforce Contact or Lead exists by email address; create or update accordingly
- Create a new Salesforce Opportunity with order value, product line items, and stage set to 'Closed Won'
- Assign the Opportunity to the appropriate Salesforce owner based on region or product category rules
- Post a Chatter notification to the assigned owner summarizing the TikTok Shop order
Connectors Used: TikTok Shop, Salesforce
Template
TikTok Shop Buyer to Salesforce Contact Upsert
Keeps Salesforce Contact records current by upserting buyer information from every TikTok Shop transaction. New buyers are created as Contacts, while existing buyers have their records updated with the latest purchase data — no duplicates, no stale CRM entries.
Steps:
- Trigger: TikTok Shop order or customer registration event
- Extract buyer email, name, phone, and shipping address from the TikTok Shop payload
- Search Salesforce for an existing Contact matching the buyer email
- If found, update the Contact with new purchase data and increment a custom purchase count field
- If not found, create a new Salesforce Contact and optionally convert to a Lead for sales follow-up
Connectors Used: TikTok Shop, Salesforce
Template
TikTok Shop Refund to Salesforce Service Cloud Case
Automatically opens a Salesforce Service Cloud Case when a TikTok Shop refund or return request is submitted. The Case arrives populated with the buyer's details, the original order information, and the refund reason so support teams can respond quickly and consistently.
Steps:
- Trigger: TikTok Shop refund or return event webhook
- Retrieve the original order details and customer record from TikTok Shop
- Look up or create the corresponding Salesforce Contact for the buyer
- Create a new Salesforce Service Cloud Case linked to the Contact with order ID, refund amount, and reason
- Assign the Case to the appropriate support queue and set priority based on order value
Connectors Used: TikTok Shop, Salesforce
Template
TikTok Shop Product Catalog Sync to Salesforce Products
Synchronizes product listings, pricing, and inventory levels from TikTok Shop into the Salesforce Product Catalog on a scheduled basis. Salesforce records stay current with the latest product data for accurate quoting, reporting, and sales operations.
Steps:
- Trigger: Scheduled interval (e.g., every hour) or TikTok Shop product update event
- Retrieve the full or delta product list from TikTok Shop API
- For each product, search for a matching record in the Salesforce Product Catalog by SKU or external ID
- Update existing Salesforce Products with current price, stock level, and description; create new records for unlisted products
- Log sync results and send an error notification if any records fail to update
Connectors Used: TikTok Shop, Salesforce
Template
High-Value TikTok Shop Buyer to Salesforce Sales Task and Account
Identifies TikTok Shop orders above a defined value threshold and automatically creates a Salesforce Account and follow-up Task for the assigned sales representative. High-potential buyers get personal outreach within minutes of their purchase.
Steps:
- Trigger: New TikTok Shop order event
- Evaluate the order total against a configurable high-value threshold (e.g., over $500)
- If threshold is met, create or update a Salesforce Account for the buyer's organization or household
- Create a Salesforce Task assigned to the responsible sales rep with subject, due date, and order context
- Send a Slack or email notification to the sales rep alerting them to the high-value TikTok Shop buyer
Connectors Used: TikTok Shop, Salesforce
Template
TikTok Shop Sales Data to Salesforce Campaign Attribution Report
Pushes TikTok Shop daily order and revenue summaries into Salesforce as Campaign Influence records or custom report objects. Marketing teams can measure the direct revenue impact of TikTok campaigns and influencer activations inside Salesforce dashboards.
Steps:
- Trigger: Scheduled daily run at end of business
- Pull the day's TikTok Shop order totals, segmented by campaign ID or referral source
- Match TikTok campaign identifiers to existing Salesforce Campaign records
- Create or update Salesforce Campaign Influence or custom revenue attribution records with order count and revenue
- Refresh the Salesforce Campaign ROI dashboard to reflect the latest TikTok Shop contribution
Connectors Used: TikTok Shop, Salesforce