Actions11
- Message Actions
- Conversation Actions
- Media Actions
- Comment Actions
Message → Send Image
AI-generatedSummary
Sends an image direct message into a TikTok conversation using a media ID from a prior Media → Upload step, via the dibales.ai public API (POST /tiktok/messages/image).
Inputs
- Conversation ID (required) — TikTok conversation to send to. The default expression pulls it from the upstream DM or postback event (raw/data conversation_id or conversation.id). If the field is empty, the node also tries to detect it from the incoming item, and it errors if none is found.
- Media ID (required) — Media ID returned by the Media → Upload operation, e.g. {{$node["Upload"].json.media_id}}. Whitespace is trimmed, and an empty value throws an error.
Output shape
One output item per input item. It contains the dibales.ai API response fields plus a _sent object with conversation_id and media_id. Each item is paired with its input item.
Items are processed one at a time, and the first failure stops the run. An empty conversation ID, an empty media ID, or an API error (HTTP 4xx/5xx) raises a node error that includes the backend's message, code and request_id. If the API returns an empty body, spreading the response may add no fields, so only
_sentis guaranteed.
Examples
Example 1: Reply to an incoming TikTok DM with an image stored in the workflow.
Chain: TikTok Trigger → HTTP Request (fetch image as binary) → dibales.ai TikTok Media → Upload → Message → Send Image. Set Media ID to {{$node["Upload"].json.media_id}} and leave Conversation ID at its default.
Example 2: Send a pre-uploaded image to a known conversation.
Resource: Message, Operation: Send Image. Set Conversation ID to a fixed TikTok conversation ID and Media ID to a stored media_id.