Portal Community
Reversible moderation: Unlike comment/delete, hiding a comment preserves it in the database. The original author still sees it, but other visitors do not. Use this when you need human review before a final decision, or when complying with content transparency regulations.

When to Use

Configuration

Connection

FieldRequiredDescription
accessTokenRequiredLong-lived Instagram access token stored in BizFirst Credentials Manager.
igUserIdRequiredYour Instagram Business/Creator account ID.

Operation

FieldRequiredDescription
resourceRequiredMust be comments.
operationRequiredMust be hide.
commentIdRequiredID of the comment to hide from public view.

Sample Configuration JSON

{
  "resource": "comments",
  "operation": "hide",
  "accessToken": "{{ $credential.instagram.accessToken }}",
  "igUserId": "17841400000000000",
  "commentId": "{{ $trigger.body.value.commentId }}"
}

Validation Errors

ErrorCause
accessToken is requiredaccessToken field is missing or empty.
commentId is requiredcommentId field is missing or empty.
Graph API error 200You do not have permission to hide this comment.

Output

Success Port

FieldTypeDescription
statusstring"success"
hiddenbooleantrue — comment is now hidden.
commentIdstringID of the hidden comment.
payloadstringRaw JSON response from the Graph API.

Error Port

FieldTypeDescription
statusstring"error"
errorCodestringGraph API error code.
errorMessagestringError description.
payloadstringRaw error response.

Sample Output JSON

{
  "status": "success",
  "hidden": true,
  "commentId": "17858893269000001",
  "payload": "{\"success\":true}"
}

Expression Reference

ExpressionValue
{{ $output.instagram.hidden }}Boolean — true when hidden successfully
{{ $output.instagram.commentId }}Hidden comment ID for audit log

Node Policies & GuardRails

Examples

AI moderation — hide on medium confidence

// Comment sentiment node returns score 0.5-0.9: hide and queue for review
{
  "resource": "comments",
  "operation": "hide",
  "accessToken": "{{ $credential.instagram.accessToken }}",
  "igUserId": "{{ $env.IG_USER_ID }}",
  "commentId": "{{ $input.commentId }}"
}
// Next node: write to moderation review queue

Hide all comments during brand crisis

// Loop node iterates through comment IDs from comment/getMany output
{
  "resource": "comments",
  "operation": "hide",
  "accessToken": "{{ $credential.instagram.accessToken }}",
  "igUserId": "17841400000000000",
  "commentId": "{{ $loop.current.id }}"
}

Used in a crisis response workflow that hides all recent comments on affected posts while the communications team prepares a statement. Comments are restored with comment/unhide after the situation resolves.