metaAds.privateReplyToInstagramComment sends one private Instagram direct message to the person who wrote a comment on the account’s media.
automations/meta-ads-private-reply-to-instagram-comment.automation.ts
instagramAccountId with List Instagram accounts. Meta allows one private reply per comment, within 7 days of the comment; for live video, only during the broadcast. The message lands in the person’s inbox if they follow the account and in Message Requests otherwise. Automate.ax sends through the Facebook Page linked to the Instagram account. text must be under 1,000 bytes. Optional second argument { account } selects a static project account binding.
Returns recipientId, the person’s IGSID, and messageId. Private replies aren’t replay-safe. Meta documents conflicting requirements for this call, so the action requests the stricter set: instagram_basic, instagram_manage_comments, instagram_manage_messages, pages_messaging, pages_read_engagement, and pages_show_list. Meta’s Instagram Messaging documentation also lists the Human Agent feature as a requirement for the Meta app.