Creator OS
← All skills

Comment to DM

/comment-to-dm

Set up a comment-to-DM funnel on Instagram and Facebook: when someone comments a keyword on a post (or a live, a story reply or story mention), they get an automatic DM with a link, plus an optional public reply. Use when the user says comment to DM, "comment the word X and I'll send you the link", keyword DMs, ManyChat-style funnels, or wants to send a lead magnet. Also checks, edits and pauses existing ones and reads their activity. Explains why X (Twitter) can't do it and points X to DM keywords with Chatty.

How to run it

Once Creator OS is connected, type /comment-to-dm in Claude Code and say what you want. Not connected yet? Follow the three steps on the Skills page.

The playbook

A keyword in a comment becomes a DM with the link. It works on Instagram and Facebook only: those are the networks that let a business DM a commenter.

If the plan has several workspaces, call workspaces_list first and ask which one, then pass workspace=<id> to every tool below.

Which networks

  • Instagram, Facebook: full comment-to-DM (DM plus optional public reply).
  • TikTok, Threads, YouTube, LinkedIn: public reply only. Use the comment-reply-setup skill.
  • X (Twitter): X sends no comment events, so nothing can fire on an X reply. Instead have people DM the keyword: Chatty answers it with the link (chatty_get, then chatty_update with keywords: [{ keyword, reply }] and twitter in platforms). Test it with chatty_test { kind: "message", text }.

1. See what exists

list_automations: the workspace's current comment automations. If one already uses the keyword on the same account, offer to edit it (get_automation, then update_automation) instead of making a duplicate.

2. Gather the funnel

  1. list_accounts with platform: "instagram" (and facebook): pick the account(s).
  2. The keyword: one short word, easy to spell (e.g. GUIDE). Ask, or suggest one from the offer.
  3. The link and offer: smarty_get for the brand's offers, their links and DM keywords. Use the one that matches.
  4. Which post: one post (platform_post_id, or post_id for a post scheduled through Creator OS, which binds when it publishes) or every post on the account (leave both out).
  5. Write the DM in the brand voice from smarty_get: a thank you, the link, one line on what they get. It supports {{first_name}}. Add 1 or 2 dm_message_variations so repeats don't look canned.
  6. Optional public reply (comment_reply, e.g. "Sent! Check your DMs") so others see it works, and comment_reply_variations.

3. Confirm, then create

Show the owner: account, post (or all posts), keyword and match_mode (word is safest; typo_tolerance: true catches misspellings), the DM text, the public reply, any dm_delay_seconds. On an explicit yes, call create_automation with account_id, name, keywords, match_mode, dm_message, comment_reply and the post field. Use also_match_in_dms: true so people who DM the keyword get the same link. Buttons, a follow gate or link tracking go in options (camelCase, e.g. { "buttons": [{ "type": "url", "title": "Get it", "url": "..." }] }). One automation per account: repeat for the Facebook Page.

4. Tell them how to use it

The caption or video should say "Comment GUIDE and I'll DM you the link". For a new post, Posty can arm the same funnel itself: agent_posts_create with resource_url and keyword (see auto-post).

5. Check on it

automation_logs with the automation_id: each trigger, the DM or reply sent, or why it was skipped. get_automation shows its stats. Pause with update_automation is_active: false (confirm first).