This connector only reads conversations; it never sends or marks messages as read. Your shop’s orders, products and finance data come from the TikTok Shop connector, which uses a separate authorization.
Configuring TikTok Shop Customer Service as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the TikTok Shop Customer Service option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
You’ll need to authorize Nekt to read your TikTok Shop customer service data. You don’t need to register anything in the TikTok Shop Partner Center: Nekt has its own app there, and you simply grant it access to your shop. Click on the Authorization button. You’ll be redirected to TikTok Shop, where you need to be signed in to the Seller Center account that owns the shop you want to sync. There you’ll:- Confirm the shop the authorization applies to, choose the access duration (we recommend Unlimited, so the connection doesn’t stop working on a fixed date) and enter a contact email, then click Confirm installation.
- Review the permissions Nekt is requesting (including Customer Service), accept the acknowledgement, and click Authorize.
- Initial sync date: Conversations and messages with activity since this date are synced. Leave it empty to sync the whole conversation history.
- Max requests per run: (Default:
5000) The most requests one run sends to TikTok Shop’s conversation and message APIs, which allow 10,000 requests per day. Whatever doesn’t fit is read by the next runs. - Lookback (days): (Default:
7) How many days the Sessions and Daily Performance tables read again on each run, so ratings, first responses and conversions that arrive later are captured.
Don’t have access to the TikTok Shop account yourself? Use the Share link option at the top of this step to send the authorization to whoever manages the shop: they complete it without needing a Nekt account.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data, which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data, which is good if, for example, you don’t want to have deleted data in your catalog.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Good to know
- Request limit: TikTok Shop allows 10,000 requests per day to its conversation and message APIs (sessions and performance are not affected). Every run reads the list of conversations (20 per request) and then the new messages of each conversation that had activity. If a run reaches the limit, or the Max requests per run, it keeps everything it already read and the next run continues from where it stopped.
- First sync of a large shop: the messages of the most recent conversations are loaded first. Older conversations are loaded over the next runs, and a warning in the run log says how many are left. Until then, older messages are missing from the table.
- New messages in old conversations are captured: a conversation is read again whenever it gets a new message, whatever its age. Messages edited or recalled later are only updated when their conversation gets a new message.
- Conversations TikTok Shop fails to return are skipped and retried on the next runs, and the run shows a failure until they are read. A conversation that was never loaded keeps being retried; one that only missed recent messages is given up after 3 runs, and the run log names it.
- A conversation list that comes back empty or much shorter than before is treated as a TikTok Shop error: the run fails and the tables stay as they were. If the shorter list comes back the same in 3 runs in a row, it is taken as the shop’s real list and syncing resumes.
- Permission: every table needs the Customer Service permission on the authorization. If it is missing, the run says so and you need to authorize the shop again.
- Personal data: buyer nicknames and the content of the messages are synced; profile pictures are not.
Streams and Fields
Available streams
The table below lists every stream, its slug (the exact identifier to pass when creating the source via API) and a short description.Fields by stream
Conversations
Conversations
One row per conversation between a buyer and the shop. The whole list is read on every run (full table). Conversations without activity since the Initial sync date are not included.
Messages
Messages
One row per message. Synced incrementally by
create_time: each run reads the new messages of every conversation that had activity since the previous run.Sessions
Sessions
One row per customer service session (a buyer’s request, from the first message until it is closed). Synced incrementally by
begin_time; each run also reads the last days again (Lookback) and every session that was still open, so end time, first response and rating are updated. TikTok Shop only returns the last 90 days.Daily Performance
Daily Performance
One row per shop and day, from TikTok Shop’s customer service performance report. Synced incrementally by
date, reading the last days again on each run (Lookback). Today (in the shop’s timezone) is not included until the day is over. Without an Initial sync date, it starts 90 days back.Example query: conversations handled per agent
messages.order_id with the orders table of the TikTok Shop connector.