Portal Community
Private, not public: This operation sends a private DM reply to the comment author, not a visible public comment reply. The commenter receives the message in their Instagram DMs. Use comment/create to post a public reply instead.

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 send-private-reply.
commentIdRequiredThe ID of the public comment to reply to privately. The commenter is identified from this comment.
messageRequiredThe private message text to send. Plain text only — no media attachments via this operation.

Sample Configuration JSON

{
  "resource": "comments",
  "operation": "send-private-reply",
  "accessToken": "{{ $credential.instagram.accessToken }}",
  "igUserId": "17841400000000000",
  "commentId": "{{ $trigger.body.value.commentId }}",
  "message": "Hi! Thanks for reaching out. Please check your DMs — we've sent you the details privately."
}

Validation Errors

ErrorCause
accessToken is requiredaccessToken field is missing or empty.
commentId is requiredcommentId field is missing or empty.
message is requiredmessage field is missing or empty.
Graph API error 10The commenter has messaging disabled or has not previously messaged your account.

Output

Success Port

FieldTypeDescription
statusstring"success"
messageIdstringID of the sent private message.
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",
  "messageId": "aWdfZAG9waW50ZAXJlY...",
  "payload": "{\"recipient_id\":\"17858893...\",\"message_id\":\"aWdfZAG9...\"}"
}

Expression Reference

ExpressionValue
{{ $output.instagram.messageId }}Sent message ID

Node Policies & GuardRails

Examples

Customer support triage

{
  "resource": "comments",
  "operation": "send-private-reply",
  "accessToken": "{{ $credential.instagram.accessToken }}",
  "igUserId": "{{ $env.IG_USER_ID }}",
  "commentId": "{{ $trigger.body.value.commentId }}",
  "message": "Hi {{ $output.commentGet.instagram.username }}, thank you for your message! Our support team will reach out to you shortly. Reference: {{ $output.crmCreate.ticketId }}"
}

Triggered by a webhook comment event. After retrieving the comment and creating a CRM ticket, sends a private acknowledgement with the ticket reference.

Lead follow-up with personalised link

{
  "resource": "comments",
  "operation": "send-private-reply",
  "accessToken": "{{ $credential.instagram.accessToken }}",
  "igUserId": "17841400000000000",
  "commentId": "{{ $input.commentId }}",
  "message": "Thanks for your interest! Here is your personalised pricing page: {{ $output.crmLead.proposalUrl }}"
}