Actions24
- User Actions
- Publish Actions
- Media Actions
- Comment Actions
- Messaging Actions
- Auth (Token) Actions
Comment → Hide / Unhide
AI-generatedSummary
Hides or unhides a single Instagram comment by sending a POST to graph.instagram.com with the comment ID and a hide flag.
Inputs
- Comment ID (required) — ID of the comment to hide or unhide. It is used as the Graph API path: POST /{version}/{commentId}.
- Hide — Boolean, default true. True hides the comment and false unhides it. It is sent as the
hidequery parameter. - Graph API Version — graph.instagram.com API version used in the request path. Default v21.0.
- Access Token (Override) — If set, this token is used instead of the Instagram Login API credential. Use an expression to act on different accounts per input item. Leave empty to use the credential.
Output shape
One output item per input item, containing the raw JSON response from the Instagram API for the hide request. This is typically a success indicator, but the source doesn't confirm the exact fields.
Each output item is paired to its input item. If Continue On Fail is enabled, a failed item returns {error: message} instead of stopping the workflow. Otherwise the node throws.
Examples
Example 1: Automatically hide a comment flagged as spam by an earlier filter step.
Comment ID = {{ $json.comment_id }}, Hide = true, leave the token override empty.
Example 2: Restore a comment that a moderator previously hid.
Comment ID set to the comment's ID, Hide = false.