dibales.ai - Instagram icon

dibales.ai - Instagram

Send Instagram DMs (text, button templates with multi-level menu routing, quick replies, or media attachments) via the dibales.ai public API.

Comment → Reply

AI-generated

Summary

Posts a public reply to an Instagram comment through the dibales.ai public API (POST /instagram/comments/{id}/reply).

Inputs

  • Comment ID (required) — Platform ID of the comment to reply to. The default expression pulls it from the upstream comment event (raw.value.id, raw.comment_id, data.id, etc.). If the field is empty, the node tries the same auto-detection on the incoming item. It errors if no ID is found.
  • Text (required) — Public reply text. The UI says 1–2200 characters. The node trims it and errors if it is empty. Expressions are supported.

Output shape

One output item per input item, with the API response fields merged with a _replied object containing comment_id and text. The item is paired to its input item.

A single Main output. Items are processed one by one. An HTTP status of 400 or higher raises a NodeApiError carrying the backend's message, code, and request_id. Requires the dibalesAiApi credential. Spreading the response assumes it is an object, so an empty response body may be a problem.

Examples

Example 1: Auto-reply publicly to comments that match a keyword from the Instagram Trigger.

Place the node after the trigger's comment-matched path. Leave Comment ID at its default expression and set Text to 'Thanks! Check your DMs.'

Example 2: Reply with personalised text.

Keep the default Comment ID and set Text to an expression such as 'Thanks {{ $json.raw.value.from.username }}!'

Links

Discussion