dibales.ai - TikTok icon

dibales.ai - TikTok

Send TikTok DMs (text, button templates with multi-level menu routing, images, shared posts), manage conversations, upload media, and moderate comments via the dibales.ai public API.

Actions11

Message → Share Post

AI-generated

Summary

Shares a TikTok video into an existing TikTok DM conversation by item (video) ID, via the dibales.ai public API (POST /tiktok/messages/share-post).

Inputs

  • conversationId (required) — TikTok conversation ID to send the shared video to. Defaults to an expression that pulls it from the upstream DM/postback event (raw.conversation_id, raw.conversation.id, or the same keys under data). If the parameter is empty, the node tries the same auto-detection from the incoming item. If it still can't find an ID, the node throws an error.
  • itemId (required) — TikTok video (item) ID to share. It is trimmed, and the node throws an error if it is empty.

Output shape

One output item per input item, on a single Main output. Each item contains the dibales.ai API response fields plus a _shared object with conversation_id and item_id. Each item is paired with its input item.

The node processes items one at a time and throws on the first failure. API errors (HTTP 400 and above) surface as NodeApiError with the backend's message, code, and request_id. Requires the dibalesAiApi credential.

Examples

Example 1: Reply to an incoming TikTok DM by sending a specific video back to the user.

Trigger on a TikTok DM event, then Message → Share Post. Leave Conversation ID at its default and set Item ID to the video ID, e.g. 7233000000000000000.

Example 2: Share a video chosen earlier in the workflow, such as from a lookup node.

Set Item ID to an expression like {{ $json.video_id }}. Leave Conversation ID as the default auto-extract.

Links

Discussion