# Brief for an AI agent: Instagram DM Automation: How We Turn Reel Comments Into Link Clicks

Your human sent you this page instead of reading the article. Your job is to set up and run this workflow for them, with Pozy giving you access to their accounts. The article for humans is at https://pozy.ai/blog/instagram-dm-automation.

## How to work

- Read this whole page first. Then tell your human, in 3 sentences or fewer, what you will do and what you need from them.
- Ask before anything that acts on their real accounts: posting, scheduling, sending messages, changing ads. Show the exact text, media, accounts and times first, and wait for a yes.
- Work one step at a time and say when each step is done.
- When a step needs something only your human can do (record a video, sign in, approve a hook), say exactly what, and wait.
- Never invent numbers or results. Report what the tools return.

## What this workflow does

It turns comments under an Instagram Reel into DMs with a link. The Reel asks people to comment one keyword. An automation sends each commenter a button message, then the DM with the link after the tap, and replies under the comment in public. The same Reel can run on a Facebook Page, where the link goes in the first DM.

Distribb runs it on @distribb.io. On one Reel (9 to 16 Nov 2026): 379 keyword comments, 378 button messages, 244 taps and DMs, 219 people opened the link.

## Why you need Pozy for this

With Pozy you can:

- create a comment-to-DM automation on one post or on every post of an Instagram or Facebook account
- send a confirm button first on Instagram (the dashboard's "Button first"), then the DM with a tracked link button after the tap
- post a public reply under each matching comment, with variations
- read each automation's counts and its log: comments matched, button sent, tapped, DM sent, link opened
- list the comments on the post, so your human can answer the ones that did not match

Pozy does not make the Reel. It does not send DMs to people who never commented or wrote first. Real DMs work on Instagram and Facebook only; other platforms get a public reply. It cannot message an Instagram commenter a second time before they answer.

Without Pozy you can still plan and write everything, but your human has to post, reply and copy numbers by hand.

## Step 1: Get your human on Pozy (free trial)

First check: if you can already see Pozy tools such as `create_post`, `schedule_post` and `list_accounts`, Pozy is connected. Call `whoami` and go to Step 3.

Otherwise, send your human this link to start a free trial: https://pozy.ai/signup?utm_source=ai-agent&utm_medium=blog&utm_campaign=instagram-dm-automation

7-day free trial on every plan. Card required, cancel anytime. Plans start at $29 a month. Your human creates the account themselves: you cannot sign up for them.

## Step 2: Connect Pozy to yourself

Pozy is an MCP server: `https://mcp.pozy.ai/mcp`, with OAuth sign-in. Your human signs in once and picks the workspace you may use.

- **Claude:** Settings, then Connectors, add a custom connector named Pozy with the link above, then sign in.
- **ChatGPT:** Settings, then Apps and Connectors, advanced settings, turn on developer mode. Choose Create, name it Pozy, paste the link and pick OAuth.
- **Claude Code, Cursor, Codex, VS Code:** follow the setup page for the app at https://pozy.ai/agents.

If you cannot add a connector yourself, give your human these steps and wait until the Pozy tools show up.

## Step 3: Connect the accounts

- Instagram (Business or Creator account), required
- Facebook Page, optional, for the same Reel

For each one, call `connect_account` with the platform and send your human the sign-in link it returns. Then call `list_accounts` to check they are all there.

## Step 4: Run the workflow

1. **Ask your human for four things:** the keyword, the link to send, the Reel (live or scheduled), and the wording of the two messages. Suggest one keyword tied to the Reel, in capitals.
2. **Find the account and the post.** Call `list_accounts` for the Instagram account id and its profile id. For a Reel scheduled through Pozy, call `list_posts` and use its Pozy post id as `postId`, so the automation starts when the post goes live. For a Reel that is already live, call `list_comments` without `post_id`: the post id it returns for the Reel is the `platformPostId`. A live Reel with no comment yet is not in that list: ask your human to schedule the Reel through Pozy, or to tell you when the first comment is in.
3. **Draft the automation and show it.** Show your human the keyword, the first message with its button label, the DM with its button and link, and the public replies. Wait for a yes.
4. **Create it.** Call `search_tools` with "comment automation", then `call_tool` with `createCommentAutomation` and this body: `profileId` and `accountId` from step 2, `name`, `platformPostId` (or `postId`), `keywords` with the keyword, `matchMode: "word"`, `typoTolerance: true`, `repeatPolicy: { mode: "once" }`, `audience: { tapToUnlock: true }`, `followGate: { message, buttonLabel }` for the first message, `dmMessage` for the DM after the tap, `buttons: [{ type: "url", title, url }]` with the link, `commentReply` and `commentReplyVariations` for the public reply, and `isActive: false` so it starts paused. Keep link tracking on (the default) so clicks are counted.
5. **Turn it on after a yes.** Call `updateCommentAutomation` through `call_tool`, with `params: { automationId }` (the `automation.id` returned in step 4) and body `isActive: true`. Do this before the Reel goes live, or right after.
6. **Optional, Facebook.** Create a second automation with the Facebook Page's `accountId` (from `list_accounts`) and the Facebook post's id: the `postId` from `list_posts` if it is scheduled through Pozy, or the post id from `list_comments` without `post_id` if it is live. Leave out `audience.tapToUnlock` and `followGate`: send `dmMessage` with the link in `buttons`, so the link goes in the first DM. Show it and wait for a yes.
7. **After two days, report.** Call `getCommentAutomation` with that same `automationId` in `params` through `call_tool` and read `stats`: `triggered`, `followGateSent`, `followGatePassed`, `dmsSent`, `dmsFailed`, `uniqueClicks`. For detail, call `listCommentAutomationLogs` with the same id. Pass `limit: 200` and `skip`, and page until `pagination.hasMore` is false. The same response has `misses`: the `total` of comments that did not match in the last 14 days, with a few `samples`. Report the counts, any failed DMs or failed public replies with their error, and the share of commenters who opened the link.
8. **List what did not match.** Call `list_comments` without `post_id` to find the Reel's post id, then again with that `post_id` and the `account_id`, paging with `cursor`. Show your human the comments without the keyword: typos, questions, complaints. Draft a reply for each, and post one with `reply_to_comment` only after a yes.
9. **Optional, test a new hook.** If your human gives you a new cut of the Reel as a public video link, post it with `create_post` and `instagram_trial_reel: "manual"`, with the keyword line in the caption. Show the plan and wait for a yes. Then repeat steps 2 to 5 for the new Reel.

Pozy tools you will use: `create_post` and `schedule_post` (both take `instagram_trial_reel` for Instagram trial Reels), `get_analytics`, `best_time_to_post`, `list_comments`, `list_conversations`. Everything else, such as comment-to-DM automations (`createCommentAutomation`), first comments and different text per platform (`createPost` with `platformSpecificData`), is reachable with `search_tools` then `call_tool`.

## The full article, for reference

## Instagram DM Automation: How We Turn Reel Comments Into Link Clicks

Someone comments one word under a Reel and gets our link by DM, on its own. The full setup, step by step, with the real messages and the real numbers from one Reel.

By Borja Obeso, co-founder of Pozy, published 2026-11-16. Source: https://pozy.ai/blog/instagram-dm-automation

After this article, you'll be able to:

- Pick one keyword and say it in the Reel and in the caption
- Set up a comment-to-DM automation on one post
- Send a button first, so your link arrives after a tap
- Add a public reply, so other people see it works
- Run the same Reel on Facebook, where the link goes right away
- Count the taps and the clicks, and find the comments that got nothing

We posted a 43-second Reel on Distribb's Instagram. Its caption ended with one line: "Comment FABLE and I'll send you the SEO connector." The connector is a plug-in that lets Claude work on your SEO.

378 people did.

Nobody on our side answered them by hand. Each one got a message with a button. The ones who tapped it got our link.

- **379**: comments with the word FABLE, from 378 people
- **244**: people who tapped the button and got the DM with our link
- **219**: people who opened the link

_Pozy's record of this one automation on @distribb.io, 9 to 16 Nov 2026, read on 16 Nov 2026._

Distribb is the SEO software company I co-founded with Florian. The account had 3,318 followers on 16 Nov 2026.

These are the three Reels I use as examples. Tap one to watch it on Instagram:

- [The FABLE Reel: three prompts to get backlinks with Claude](https://www.instagram.com/reel/DfiVGD0GY8Q/): 77,155 views, 2,146 saves, 1,153 shares (43 s, posted 9 Nov)
- [The TRENDS Reel: the new Category filter in Google Trends](https://www.instagram.com/reel/Dfry_wHgWPc/): 12,397 views, 468 saves, 165 shares (33 s, posted 13 Nov)
- [The CONNECTOR Reel: Claude reading your Search Console](https://www.instagram.com/reel/DfnV5xCCtdG/): 1,772 views, 49 saves, 14 shares (39 s, posted 11 Nov)

_The real covers from Instagram, with views, saves and shares from Pozy analytics for @distribb.io on 16 Nov 2026. The lines are my descriptions, not the captions._

Let me show you exactly how it works.

### Some context

A Reel can't hold a link people can tap. The caption can't either.

So the usual line is "link in bio". That asks a stranger to leave the Reel, open your profile and find the link.

A comment is easier. One word, and they stay where they are.

Instagram DM automation does the rest. A tool watches the comments on your post. When someone writes your word, it sends that person a DM. We use Pozy's [comment-to-DM](https://pozy.ai/products/comment-to-dm) for it.

One rule shapes everything below. Instagram lets you send one message to someone who commented, until they answer. No answer, no second message.

### Step 1: We pick one thing worth a comment

I think people comment when the thing you send is the next step of the Reel.

The FABLE Reel shows three prompts for getting backlinks with Claude. (A backlink is a link from another site to yours. Google counts them.) They only work with our SEO connector plugged into Claude. So the connector is what we send.

Here's what three of our Reels promise:

| The Reel | The word | What the DM sends |
|---|---|---|
| Three backlink prompts for Claude | FABLE | The SEO connector for Claude |
| The new Category filter in Google Trends | TRENDS | The same connector, on its page on Claude's site |
| Claude reading your Search Console | CONNECTOR | The same connector, on that same page |

### Step 2: We say the word in the Reel and in the caption

The word is short, in capitals, and tied to the Reel. FABLE is the name of the Claude model the Reel is about.

We say it twice. The last seconds of the Reel show the whole move: the comment box, the word, the message that comes back.

![Three frames from the end of our Reel: an empty comment box, the word FABLE typed in it, and a new message with the SEO connector](https://pozy.ai/blog/instagram-dm-automation/step-reel-cta.jpg)

_The end of the FABLE Reel. It shows people what to type and what they get._

Then the caption ends with the same line:

```text
Save this and share it with a friend who still pays for backlinks.

Comment FABLE and I'll send you the SEO connector.
```

All 379 comments that matched said the word and nothing else.

### Step 3: We create the automation on that one post

In Pozy, open **Automations**, then **Comment to DM**, and choose **New automation**. These are the settings of the FABLE one:

| Setting | What we chose | Why |
|---|---|---|
| Account | @distribb.io | The account that posts the Reel |
| Which post | This Reel only | The word means nothing on our other posts |
| Keyword | FABLE | The word from the Reel |
| Match | Contains (use Whole word instead) | Typos are only caught with Whole word |
| Tolerate typos | On | Small misspellings should still count |
| Repeats | Once per person | Nobody gets the same DM twice |

Set **Match** to **Whole word**. Ours was on Contains, which also fires when the word sits inside a longer word. And typos are only caught with Whole word. So on this Reel, someone who typed "Fablr" got nothing. Our TRENDS automation uses Whole word, and it caught "Trend".

The automation was ready the minute the Reel went live. The first FABLE comment came three minutes later.

How do you get it ready before the post exists on Instagram? Schedule the Reel in Pozy, then ask your AI to attach the automation to that scheduled post. It starts when the post goes live. The prompt is at the end.

To check your messages first, choose **Create paused**, read everything, then start it.

If you say the same word on many posts, choose **Any post** instead. One automation then covers the whole account. The guide: [comment-to-DM on every post](https://pozy.ai/help/automations/comment-to-dm-whole-account).

### Step 4: The first message is a button, not the link

This is the setting that matters most on Instagram. Pozy calls it **Button first**, and a new automation starts on it.

The commenter first gets a short message with one button. The DM with the link follows when they tap it:

> **Them:** FABLE
> **Us:** Thanks for your comment! Tap the button below and I'll send you the link. [Send me the link]
> **Them:** (taps the button)
> **Us:** Here's the SEO connector for Claude. Tap the button to get it. [Get the connector]

_The real messages of our FABLE automation. The words in brackets are buttons. The first line is the comment under the Reel, the rest happens in the DMs._

Why not send the link at once?

Because you only get one message. With the link in it, everything has to fit in that one message. Pozy's guide warns that accounts that keep sending more can be restricted.

The tap counts as an answer. After it, the link and its button arrive like in a normal conversation.

Here's what that looked like on the FABLE Reel:

- **378**: button messages delivered, one per commenter
- **244**: taps on "Send me the link" (65%)
- **0**: DMs that failed after a tap

_Pozy's record for the FABLE automation, 16 Nov 2026. One person commented twice and got the button once._

### Step 5: The DM does one job

After the tap, the real DM goes out. You write it under **Direct message** and add a button with your link. Ours is one sentence and one button:

| Part | What we wrote |
|---|---|
| Message | Here's the SEO connector for Claude. Tap the button to get it. |
| Button | Get the connector |
| Link behind the button | distribb.io |

Put the link behind a button, not in the text. Pozy counts clicks on button links, person by person. That's how I know 219 of the 244 opened it.

We wrote one version of this message. Pozy takes up to 5 variations and sends one at random, so 200 people don't get the exact same sentence. We should add them.

### Step 6: A public reply under every comment

The automation also answers each comment in public. We gave it three versions, and it picks one each time:

```text
Thanks! Please see DMs.
Sent you a message! Check it out!
Nice! Check your DMs!
```

The commenter knows where to look. And the next person scrolling sees that the word works.

On the FABLE Reel, all 379 comments got their reply.

### Step 7: The same Reel on Facebook sends the link right away

We post the same Reels on Distribb's Facebook Page. Comment-to-DM sends real DMs there too.

One difference. Facebook has the same one-message rule, and Pozy has no Button first for it yet. So the link goes in the first DM.

The TRENDS Reel ran on both, with the same word and the same DM:

| TRENDS Reel, 13 to 16 Nov | Instagram (button first) | Facebook (link right away) |
|---|---|---|
| Views | 12,397 | 24,983 |
| Comments that matched | 92 | 151 |
| DMs with the link | 46 | 146 |
| People who opened the link | 37 | 61 |
| Share of comments that led to an open | 40% | 40% |

Views from Pozy analytics, the rest from the two automations' records, 16 Nov 2026.

On Instagram, half the commenters never tapped the button, so half never got the link. On Facebook, almost everyone got it.

It's one Reel on two different apps, so it's not a clean test. But we saw no sign that the extra tap cost us clicks.

On Facebook, 4 DMs failed. The comments came from Facebook Pages, and Facebook only allows these replies to personal profiles.

Typos mattered more there. On Facebook, 50 of the 151 matches said "Trend". Whole word with typos allowed caught them.

### Step 8: We count the taps and the clicks

Open **Automations**, then **Comment to DM**. The page shows link clicks for all your automations. Each automation's own page has its link clicks and an **Activity** tab.

Behind it, Pozy keeps a line for every comment: button sent, tapped, DM sent, link opened. Added up for the FABLE Reel on 16 Nov:

379 comments → 378 buttons sent → 244 taps → 244 DMs → 219 people opened the link

So 58% of the people who commented opened our link. And 9 in 10 of those who got the link opened it.

Then the timing:

| What happened | How fast |
|---|---|
| Half of the taps | Within 88 seconds of the comment |
| 177 of the 244 taps | Within an hour |
| 24 taps | More than a day later |
| The slowest tap | Almost 6 days after the comment |
| 200 of the 219 link opens | Within a minute of the tap |

The comments came fast too. 308 of the 379 arrived in the first 24 hours. That's why the automation has to be ready when the Reel goes out.

How click counting works is in [track link clicks](https://pozy.ai/help/analytics/link-tracking).

### Step 9: We read the comments that got nothing

An automation only sees your word.

On the FABLE Reel, 26 comments had no match. That count comes from the automation's record. It keeps unmatched comments for 14 days. Your AI can read it for you, with the third prompt at the end. Five of them:

| The comment | What it needs |
|---|---|
| "Fablr", the typo from Step 3 | The link, sent by hand |
| An emoji | Nothing |
| Another emoji | Nothing |
| A remark about our price | A real answer |
| "didn't receive!" | A look at what happened, and the link |

You can answer them from [Pozy's comments inbox](https://pozy.ai/help/inbox/comments). It shows the comments on all your posts in one place. On Instagram and Facebook, **Reply privately** sends the person a DM.

### What went wrong before it worked

**We set up Facebook four days late.** The FABLE Reel got 47,549 views on Facebook (Pozy analytics, 16 Nov 2026). Its automation there was created on 13 Nov, four days after the Reel. It has sent 2 DMs.

**Most of our public replies failed on Facebook.** On the TRENDS Reel, 88 of 151 replies were refused. Facebook wanted us to confirm our identity in its app before the Page could reply. The DMs still went out. The refusals show in the automation's record, so look there after the first day.

**Some automations couldn't count who clicked.** On two, link tracking was off (11 DMs). On another, the two links were typed in the message, and only button links are counted person by person (22 DMs). So for those 33 DMs, we don't know who opened what.

**134 people never tapped the button.** They commented FABLE and got the button message. We can't write to them again. A clearer first message might move that number. We haven't tested it yet.

### What's still on us

- **The Reel.** The automation turns comments into DMs. It doesn't make people comment. Another Reel that week got 520 views and 3 comments with its word, with the same button-first setup (Pozy, 16 Nov 2026).
- **What happens after the click.** I can tell you 219 people opened our link. I can't tell you how many became customers.

### What I'd steal from this, today

→ **Send the next step of the Reel.** The prompts need the connector, so the DM sends the connector.

→ **Show the move inside the Reel.** What to type, and what comes back.

→ **Keep Button first on Instagram.** On the Reel we could compare, half the commenters skipped the tap and the same share of comments led to an open.

→ **Put the link behind a button.** That's how clicks get counted person by person.

→ **Have the automation ready when the Reel goes live.** 308 of our 379 comments came in the first 24 hours.

### How to do this with Pozy

Pozy doesn't make your Reel. It does everything after the comment: the button, the DM, the public reply and the counting.

1. **Connect your Instagram to Pozy.** It needs a Business or Creator account ([how to connect your accounts](https://pozy.ai/help/connections/social-accounts)). Add your Facebook Page if you post there too.
2. **Add Pozy to Claude.** It's one link: [add Pozy to Claude](https://pozy.ai/help/getting-started/add-to-claude). ChatGPT works too.
3. **Post or schedule the Reel** with your keyword in the last line of the caption.
4. **Create the automation**, in the dashboard ([comment-to-DM guide](https://pozy.ai/help/automations/comment-to-dm)) or with the first prompt below.
5. **Check the numbers after two days** with the third prompt.

The prompts:

```text
Use Pozy for this. Set up comment-to-DM on the Instagram Reel I scheduled for tomorrow, so it starts when the Reel goes live. Keyword FABLE, whole word, typos allowed, once per person. Keep Button first: the first message says "Thanks for your comment! Tap the button below and I'll send you the link." with a "Send me the link" button. After the tap, send "Here's the link you asked for." with a button called "Get it" that opens [your link]. Reply under each comment with "Sent you a message! Check it out!" and two other versions. Show me everything before you turn it on.
```

```text
Use Pozy for this. Create the same automation on my Facebook Page for the same Reel. Facebook has no Button first, so put the button with my link in the first message.
```

```text
Use Pozy for this. For my FABLE comment-to-DM automation, tell me how many people commented, how many tapped the button, how many got the DM and how many opened the link. Then list the comments on that Reel that did not match the keyword, so I can answer them myself.
```

You can also test a new opening line for the same Reel as an Instagram trial Reel. Instagram shows it to people who don't follow you first. The guide is in [create a post](https://pozy.ai/help/posts/create-a-post), and Florian shows his in [his podcast clips article](https://pozy.ai/blog/repurpose-podcast-into-clips).

```text
Use Pozy for this. Here is a direct link to my video, with the new opening line already on screen: [link]. Post it on Instagram as a trial Reel with this caption: [caption ending with "Comment FABLE and I'll send you the link."]. Let me decide later whether my followers see it. Then create the same comment-to-DM automation on that new Reel.

If you cannot see Pozy's tools yet, tell me how to connect Pozy first.
```

### Questions

**What is "comment to get the link in your DM"?**
A post asks people to comment one word, and a tool sends each person who writes it a DM with the link. Some call it an Instagram comment bot. It only replies to people who commented, and Instagram allows one message until they answer. Steps 3 to 5 above show the setup in Pozy.

**Does this send DMs to strangers?**
No. Pozy only messages people who commented or wrote to you first. No cold DMs.

**Why did only 244 of 378 people get the link?**
Because of Button first. The link goes out after the tap, and 134 people never tapped. You can switch to **Link right away**. Step 4 says what that costs.

**Does it work on TikTok, LinkedIn or YouTube?**
Not as a DM. Real DMs go out on Instagram and Facebook only. On TikTok, Threads, LinkedIn and YouTube, Pozy answers with a public reply under the comment. X is not supported.

**Can I use it without a keyword?**
Yes. Leave the keyword list empty and every comment on that post gets the button. We do it on some Reels. Use it on one post, not on your whole account.

**Can Pozy tell me which commenters became customers?**
Not from this alone. The automation counts comments, taps, DMs and link opens. Matching a visit to a sale is a separate setup: [track sales](https://pozy.ai/help/analytics/track-sales), which works with Stripe and has limits.
