Actions11
- Message Actions
- Conversation Actions
- Media Actions
- Comment Actions
Conversation → Mark Read
AI-generatedSummary
Marks a TikTok conversation's incoming messages as read via the dibales.ai public API (POST /tiktok/conversations/mark-read), once per input item.
Inputs
- Conversation ID (required) — TikTok conversation ID. Defaults to an expression that pulls it from the upstream DM or postback event (raw.conversation_id, raw.conversation.id, data.conversation_id, data.conversation.id). If the field is empty, the node also tries the same paths on the input item. If neither gives an ID, the node throws an error for that item.
Output shape
One output item per input item. It holds the API response fields (if any) plus a _mark_read object containing the conversation_id that was used. Each output item is paired to its input item.
A single Main output. If the API returns an empty body, the item contains only
_mark_read. HTTP errors (status 400 or higher) throw a NodeApiError with the backend's error message, code and request_id. Requires the dibalesAiApi credential.
Examples
Example 1: Mark a DM thread as read as soon as the TikTok Trigger receives a message, before the bot replies.
Resource: Conversation, Operation: Mark Read, Conversation ID left at its default expression. Place the node directly after the TikTok Trigger.
Example 2: Mark a specific conversation as read using an ID stored elsewhere in the workflow.
Resource: Conversation, Operation: Mark Read, Conversation ID set to an expression such as {{ $json.conversationId }}.