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-setupskill. - 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, thenchatty_updatewithkeywords: [{ keyword, reply }]andtwitterinplatforms). Test it withchatty_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
list_accountswithplatform: "instagram"(andfacebook): pick the account(s).- The keyword: one short word, easy to spell (e.g. GUIDE). Ask, or suggest one from the offer.
- The link and offer:
smarty_getfor the brand's offers, their links and DM keywords. Use the one that matches. - Which post: one post (
platform_post_id, orpost_idfor a post scheduled through Creator OS, which binds when it publishes) or every post on the account (leave both out). - 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 2dm_message_variationsso repeats don't look canned. - Optional public reply (
comment_reply, e.g. "Sent! Check your DMs") so others see it works, andcomment_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).