Ad ID and Post ID mapping
Concepts
Meta Ad ID
Every ad on Meta (Facebook or Instagram) is assigned a unique Ad ID when it’s created in the Meta Business Manager (BM). By mapping this Meta Ad ID in your AI Builder, you’re linking your ad campaign to a bot—so whenever a user clicks Send Message on that ad, the bot automatically responds inside Instagram DMs.
Comment to DM
This feature lets your bot send an automatic DM whenever someone comments on a specific Instagram post. You can specify which post(s) to monitor using their Post ID. The bot will detect new comments on these posts and start a personalized chat in the user’s DMs—ideal for giveaways, product teasers, or engagement-based campaigns.
Keep in mind: Comment to DM sends only one automated message per comment. So when you add a Post ID, build the first node in one single message that contains all the details + quick replies/buttons. Avoid using multiple text nodes, because only the first message will be sent.
How to Use CTID
Meta Ad ID Mapping
Step 1: Get your Meta Ad ID
Go to your Meta Business Manager (BM).
Open the Ads Manager section.
Select the Ad you want to connect with your bot.
In the URL bar, you’ll see a numeric value like
act=1234567890&ad_id=987654321.The number after
ad_id=is your Meta Ad ID.
Step 2: Map it inside AI Builder
In your QuickReply dashboard, open your Gen AI Bot.
Go to the Configure tab.
Under “Specify Meta Ad IDs that this bot will interact with”, click + Add Meta Ad ID.
Paste your Meta Ad ID and save.
Comment-to-DM
Step 1: Get your Instagram Post ID
Go to your Meta Business Suite.
Open the Posts & Reels section.
Select the Instagram post you want to connect.
Click on the post and copy the Post ID from the URL (it usually looks like a long numeric string or ends with
/posts/{post_id}).
Step 2: Map it inside AI Builder
In your QuickReply dashboard, open your Gen AI Bot.
Go to the Configure tab.
Under “Specify Instagram Post IDs that this bot will send a DM if anyone comments (Comment to DM)”, click + Add Post ID.
Paste your Post ID and save.
Last updated
Was this helpful?