TikTok keyword auto-reply: answer comments with your text
A TikTok keyword auto-reply posts your own text under new comments that contain a word you choose, such as price, size or link. The reply is public, under the comment, and arrives within about five minutes, the time TikTok can take to report a new comment. easyCoexistence runs keyword rules and keyword automations on a connected TikTok account, set up from Claude, ChatGPT or the dashboard.
Keyword comment rules one TikTok account holds on easyCoexistence; when several match a comment, the oldest rule replies.
Characters easyCoexistence posts in a TikTok reply: a comment rule keeps the first 500 of its text, an automation up to 150.
Characters of UTF-8 text TikTok's /business/comment/reply/create/ endpoint accepts in one reply.
Followers a TikTok account needs to add a website link to its profile, unless it is a Verified Business Account.
The US, Vietnam, Indonesia and Thailand: where an account must be registered to use TikTok's Comment-to-Message.
How does a keyword reply work on TikTok?
It checks new comments for your words and answers the ones that match. TikTok reports a new comment to easyCoexistence within about five minutes; when it is a top-level comment that contains one of your keywords, whatever the capital letters, the reply goes up under it as the TikTok account, for anyone who opens the comments to read. Replies to other comments and the account's own comments are skipped, and there is no private version, since easyCoexistence's TikTok connection sends no DMs.
Comment rule or automation: which should you use?
Both post your text under matching comments; they differ in setup, length and extras. A rule is the quick route from a chat, while an automation adds match modes, the commenter's name and AI. When a comment matches both, the rule replies and the automation does not run:
| Comment rule | Automation | |
|---|---|---|
| Set up | From Claude or ChatGPT, with create_comment_rule | In the dashboard editor, or create_automation from a chat |
| Keywords | Up to 50, matched anywhere, any case | Up to 30: anywhere, at the start or the whole comment |
| Reply length | The first 500 characters of your text | Up to 150 characters |
| Personal touch | The same text each time | {{name}} and {{message}}, or a reply written by your AI |
| Scope | One video or the whole account | One video or the whole account |
| Changing it | Pause, resume or delete; recreate it to edit | Edit it in the editor or with update_automation |
How do you create a keyword rule from Claude or ChatGPT?
Ask in plain words: the account, the words, the reply and, if you want, the video. With the easyCoexistence connector, the assistant calls list_social_accounts for the TikTok account's ID, list_social_posts when you name a video, then create_comment_rule with keywords, public_reply and an optional post_id, and the rule is live at once. list_comment_rules shows each rule with how many comments it answered, and update_comment_rule pauses, resumes or deletes one; to change its words or text, delete it and create a new one:
You: On my TikTok, when someone comments "price" or "how much" on my
latest video, reply: The starter kit is $39, and the link is in our bio.
→ list_social_accounts
→ list_social_posts { "account_id": "<ACCOUNT_ID>", "limit": 1 }
→ create_comment_rule {
"account_id": "<ACCOUNT_ID>",
"post_id": "<ITEM_ID>",
"keywords": ["price", "how much", "cost"],
"public_reply": "The starter kit is $39, and the link is in our bio."
}Which keywords and match mode work best?
Distinctive words, matched where people put them. Rules match a keyword anywhere in the comment, so "price" also catches "prices" and "priceless"; keep two- and three-letter words out of rules. Automations add At the start, for comments that open with a word such as "info", and The whole comment, for one-word comments such as "link". Add the variants people really type: plurals, misspellings, the same words in your customers' other languages, and spellings without accents, since matching ignores capital letters but not accents.
Can a keyword reply send a link?
It can contain one, but don't count on a tap. The place TikTok documents for a website link is the profile, open to accounts with at least 1,000 followers or a Verified Business Account, so the dependable reply points to the link in your bio, or gives a short address people can type, such as acme.example/kit. To reach commenters privately, easyCoexistence can't help on TikTok: TikTok's own Comment-to-Message, part of its Business Messaging API, is limited to accounts registered in the US, Vietnam, Indonesia and Thailand.
Why vary the text on a busy video?
Because TikTok can hide repeated replies. Its reply reference asks apps not to post a high volume of comments with largely similar content in a short time, since its system can flag them as spam and hide them. A rule posts the same text under each match, which matters less on a quiet video than on a busy one. Where many comments match, use an automation instead: {{name}} puts the commenter's name in each reply, and a Reply publicly with AI step writes each one fresh from your facts, in up to 150 characters, on your own AI key.
What doesn't a keyword reply cover?
Keyword replies cover new top-level comments on the account's posts. The rest needs another route:
- Private messages: easyCoexistence's TikTok connection replies in public, and TikTok keeps DMs in a separate Business Messaging API that needs its own approval.
- LIVE: TikTok's comment webhook is documented for photo posts and public videos, so don't expect keyword replies during a LIVE.
- Replies to replies: rules and automations act on top-level comments only.
- Older comments: your AI can answer them from a chat with
list_social_comments, which reads a video's newest 30, andreply_to_comment.
How to set it up
- Start from Reply to commentsIn the Automations tab, click New automation, choose Manual, open the TikTok tab and click Use on Reply to comments.
- Switch to keywordsSet Which comments to Has keyword, type each word and press Enter, and choose where the word has to be.
- Pick the videoUnder Post, keep Any post, or choose One post and pick the video.
- Write the replyIn the Reply to the comment step, write up to 150 characters; {{name}} and {{message}} are filled in for you.
- Test it, then turn it onType sample comments in the Test it box, click Test to see the reply without posting it, then switch it On and click Save.
Common mistakes
- Short keywords in rules. A rule matches anywhere, so "hi" also answers "this" and "which"; use longer words, or an automation set to The whole comment.
- Leaving a rule with no keywords. It answers any new comment, and since rules run first, no automation sees those comments.
- Promising a tappable link in the reply. Point people to the link in your bio, or to a short address they can type.
- Expecting the reply at once. TikTok reports new comments within about five minutes, so give a test comment a few minutes.
easyCoexistence answers TikTok comments that contain your keywords, in public and around the clock: comment rules post your fixed text, automations add match modes, the commenter's name and AI replies, and Claude or ChatGPT set them up through one connector. US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.
easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook, Google Business Profile and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.
Frequently asked questions
Can different keywords get different replies?
Yes. Create one rule per reply, or one automation with a Split into paths step that checks the comment for each word and gives each path its own Reply to the comment step.
Do keyword replies work on TikTok photo posts?
Yes. TikTok reports comments on photo posts as well as on public videos, so rules and automations answer on both.
Do AI replies say they are automated?
The first AI reply someone gets from the account in a day opens by saying it comes from the business's automated assistant, inside the same 150 characters. Fixed replies say only what you write.
What happens when a comment has words from two rules?
The oldest matching rule replies and the others stay quiet, so keep each keyword in one rule only.
Keep reading
Connect your first channel in two minutes.
No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.
- 3 days free
- Cancel any time
- Official APIs only
- Monitored 24/7
Verified on