Actions11
- Message Actions
- Conversation Actions
- Media Actions
- Comment Actions
Comment → Delete
AI-generatedSummary
Permanently deletes a TikTok comment through the dibales.ai public API by posting the video ID and comment ID to /tiktok/comments/delete. The deletion is irreversible; use Hide if you may need to restore it.
Inputs
- Video ID (required) — TikTok video (item) ID that owns the comment. Defaults to an expression reading raw.video_id / raw.item_id (or the same keys under data) from the incoming item. If the parameter is blank, the node falls back to the same auto-detection and errors if no ID is found.
- Comment ID (required) — Platform comment ID. Defaults to an expression reading raw.comment_id or data.comment_id from the upstream comment event, such as one from the TikTok Trigger. If blank, the node tries to detect it from the event and errors if it can't.
Output shape
One output item per input item. Each item contains the API response fields spread at the top level, plus a _deleted object with video_id and comment_id. Each output is paired to its input item.
If the API returns an empty body, the item contains only
_deleted. A missing video or comment ID throws a node error. HTTP errors of 400 or above throw a NodeApiError that carries the backend's error message, code and request_id. Requires the dibalesAiApi credential.
Examples
Example 1: Automatically remove comments flagged as spam by an upstream filter.
Wire after the TikTok Trigger's comment path and an IF node that detects spam. Set Resource to Comment and Operation to Delete, and leave the default Video ID and Comment ID expressions.
Example 2: Delete a specific comment by ID.
Set Video ID and Comment ID to fixed values or expressions, such as the ones from a previous node.