Use case

Turn comments into DMs

Works on: Instagram, Facebook

The classic “comment GUIDE and I’ll send it to you” funnel. Create an automation once and Creator OS DMs everyone who comments the keyword, and can reply publicly too. It runs on our servers around the clock.

  1. 1

    Get the post’s network id (platformPostId) from Retrieve a post, then create the automation. Omit platformPostId to cover every post on the account.

    curl -X POST "https://creatoros-production-5658.up.railway.app/v1/automations" \
      -H "Authorization: Bearer $CREATOROS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "Guide funnel",
        "accountId": "acc_uwsum2TkX6QB7M2BWX_F2kYykNTaWuC3V2Spge_Xm4r",
        "platformPostId": "18053924711234567",
        "keywords": [
          "GUIDE"
        ],
        "matchMode": "word",
        "dmMessage": "Here’s the guide: https://example.com/guide",
        "commentReply": "Sent it to your DMs!"
      }'
  2. 2

    See what it has sent.

    curl "https://creatoros-production-5658.up.railway.app/v1/automations" \
      -H "Authorization: Bearer $CREATOROS_API_KEY"
  3. 3

    Or answer a single comment privately, without an automation.

    POST/v1/inbox/comments/{postId}/{commentId}/private-replyReply in DMs reference →
    curl -X POST "https://creatoros-production-5658.up.railway.app/v1/inbox/comments/post_3JSJJWvgHKZH-Vjy_ggeP792GJbvjQ1pZzbqlPEgKJOO/cmt_Lr5Tz8Qk2Wx7Ny4Bv1Hm9Jc6Pd3Fs0Ga8Ue5Ki2Oq7X/private-reply" \
      -H "Authorization: Bearer $CREATOROS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "accountId": "acc_uwsum2TkX6QB7M2BWX_F2kYykNTaWuC3V2Spge_Xm4r",
        "message": "Here’s the free guide you asked for: https://example.com/guide"
      }'

With the CLI

$ creatoros automations:create --name "Guide funnel" --accountId <acc_id> --platformPostId <id> --keywords GUIDE --dmMessage "Here you go: https://..."Copy
$ creatoros automations:list --cloudCopy

Or ask your agent

“Set up the funnel on my launch post: keyword GUIDE, DM them the checkout link.”