Skip to main content
metaAds.onInstagramCommentCreated starts when someone comments on a selected Instagram professional account’s media, including ads.
automations/meta-ads-on-instagram-comment-created.automation.ts
Find instagramAccountId with List Instagram accounts. The account must be public and linked to a Facebook Page the connection manages; Automate.ax installs delivery on that Page. Comments the account itself posts don’t start the trigger. Optional account selects a static project account binding. The event includes:
  • commentId, instagramAccountId, text, and occurredAt in Unix seconds
  • parentId, present when the comment replies to another comment
  • from, with the comment author’s Instagram-scoped id and username
  • media, with id and mediaProductType, plus adId and adTitle for ad comments
Meta can send duplicate notifications for comments on boosted posts and ads; each commentId starts at most one run. Meta doesn’t include ad IDs for dynamic ads. The trigger needs instagram_basic, instagram_manage_comments, pages_manage_metadata, pages_read_engagement, and pages_show_list, and the Meta app needs Advanced Access for comment notifications.