Ad posts from Meta Ads Manager don't show up in your post list. So the automation links to your ad through a 6-digit code that you comment on the ad post.

Kopi Senjakopisenja.id
rara.learns commented “ARABICA” on your post

Here is your ad-only voucher: ARABICA15, 15% off all coffee beans ☕

Shop Now
An ad viewer comments ARABICA and the voucher lands in their DMs

Only in the new dashboard. Your ad must be approved by Meta and Active, posted as the Instagram account connected to the agent.

💡 Is your ad a boosted post from your profile? Just use Specific post in Comment to DM.

1. Choose the Meta ad target

Create a new automation as usual, then set up the Trigger:

The Trigger step with the Meta ad target
The Trigger step with the Meta ad target
  1. Source: Posts and Reels.
  2. Post: Meta ad.
  3. The 6-digit code appears after you save the automation.
  4. Keywords: the word your ad asks for, for example ARABICA.

2. Save, then copy the code

Fill in the messages as usual, then click Create automation.

The Link your ad dialog with the 6-digit code
The Link your ad dialog with the 6-digit code
  1. Click Copy.
  2. This status updates by itself once the code is detected.
  3. A summary of steps 3–5 below.

Closed the dialog? The code stays on the automation's detail page.

The automation detail page waiting for the code
The automation detail page waiting for the code
  1. Awaiting code: the automation isn't running yet.
  2. View guide opens the dialog again.

3. Select the ad in Meta Ads Manager

An Active ad ticked in Meta Ads Manager
An Active ad ticked in Meta Ads Manager
  1. In Meta Ads Manager, tick an ad whose status is Active.
The Preview button above the ads table
The Preview button above the ads table
  1. Click Preview.

4. Open the ad post on Instagram

The Share icon and the Instagram post with comments option
The Share icon and the Instagram post with comments option
  1. Click the Share icon.
  2. Click Instagram post with comments.

5. Comment the code

The Add a comment field on the Instagram ad post
The Add a comment field on the Instagram ad post
  1. Type the code in Add a comment and post it as a new comment. Any account works, and this comment doesn't trigger a DM.

Make sure it's the right ad post. The automation sticks to the first post the code is commented on.


6. Check it's linked, then delete the code comment

The Ad linked dialog
The Ad linked dialog
  1. The ad is linked.
  2. Delete your code comment on the ad post. It isn't deleted for you.
A Meta ad automation that's running
A Meta ad automation that's running
  1. Status Running.
  2. Target shows the linked ad.

Done. Comment the keyword on the ad from another account, then check the Comment log.

Troubleshooting

Problem Fix
Still Awaiting code Check that the code matches exactly, it was posted as a new comment (not a reply), and the ad belongs to the connected Instagram account.
Linked to the wrong post, or you want it on another ad A linked ad can't be changed. Duplicate the automation: the copy gets a new code.
Comments on Facebook don't get a reply This automation only handles comments on Instagram.

Last updated