Run a TikTok comment giveaway with keyword replies
To run a TikTok comment giveaway, ask people to comment a set word on one video, confirm entries with a public reply, log each comment and draw the winner from unique commenters after the deadline, with clear terms and TikTok's content disclosure on. easyCoexistence posts the replies with a keyword rule and forwards each comment event to your webhook, where your sheet or code keeps the entries.
TikTok's For You feed status for content that tries to manipulate people into giving gifts or inflating likes or follows.
TikTok's label for a post promoting your own business, which needs TikTok's content disclosure setting turned on.
TikTok Shop's US giveaways must be free, worth under $500 and run through its official LIVE Giveaway feature.
Past 500 comments on a video, TikTok's comment list returns the rest ordered by likes, and results may repeat comments.
How long TikTok retries a webhook; it promises at least once delivery, so the same comment event can arrive twice.
Time within which TikTok reports a new comment on an owned photo post or public video by webhook.
What rules does TikTok set for giveaways?
Three of TikTok's official texts bear on a giveaway run from a business account, and local law adds its own:
- Community Guidelines: content that tries to manipulate people into giving gifts or inflating likes or follows isn't eligible for the For You feed, so make the entry a comment, not a like or a follow.
- Commercial disclosure: a post that promotes your own business needs TikTok's content disclosure setting, which labels it Promotional content.
- TikTok Shop: in the US, sellers and creators must run giveaways through the LIVE Giveaway feature, free to enter, under $500, with no cash or gift cards.
- Local law: prize promotions follow the law where your entrants live, so publish clear terms and check those rules.
How does a comment giveaway run through easyCoexistence?
In parts that run on their own once set up. TikTok reports each new comment on the video within five minutes. A keyword rule, or an automation, replies under the entry in public. The same comment event goes, signed, to your webhook, where n8n, Make or your own code writes the entry to a sheet. When the deadline passes, you pause the reply, draw from the sheet and announce the winner:
How do you set up the reply and the entry log?
From Claude or ChatGPT with the easyCoexistence connector. First point the account's comment events at your endpoint with set_social_webhook_destination, or with PUT /api/v1/channels/:id/webhook from your own code, and store the signing secret it returns once. Then, when the video is live, create the reply: create_comment_rule with the video's item_id from list_social_posts as post_id, your word in keywords and the confirmation in public_reply, kept to 500 characters:
→ set_social_webhook_destination {
"account_id": "<ACCOUNT_ID>",
"url": "https://n8n.example.com/webhook/tiktok-giveaway"
}
→ list_social_posts { "account_id": "<ACCOUNT_ID>", "limit": 1 }
→ create_comment_rule {
"account_id": "<ACCOUNT_ID>",
"post_id": "<ITEM_ID>",
"keywords": ["mochi"],
"public_reply": "You're in! We draw the winner on Friday at 6 p.m. Good luck!"
}How do you log entries fairly?
Keep one row per comment and count one entry per person. The forwarded event carries the comment's text, comment_id, video_id and timestamp, and the commenter's unique_identifier, which TikTok keeps the same across its APIs; it does not carry the username. In the workflow, keep only comment_action insert with comment_type comment on the giveaway's video_id, skip comment IDs already logged, since TikTok can deliver an event twice, and count each unique_identifier once. Log deletions too, if your terms say a deleted comment no longer counts.
How do you pick and announce the winner?
At random, from the sheet, after you stop taking entries. At the deadline, pause the rule with update_comment_rule and active set to false, so late comments get no confirmation, and drop rows after the time in your terms. Draw from the unique commenters with a random function in your sheet or code, and keep the sheet as the record of the draw. Then reply under the winning comment with reply_to_comment, in public, and arrange the prize by DM in the TikTok app, since easyCoexistence sends no TikTok DMs. To get the winner's username, open the comment in the app, or look its comment_id up in TikTok's comment list from your own code.
What if the video gets many entries?
Then a fixed reply under each entry becomes a risk. TikTok 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, and a keyword rule posts the same text each time. For a busy giveaway, reply with an automation whose Reply publicly with AI step words each confirmation differently, in up to 150 characters, or skip the replies and let the webhook log entries quietly. The sheet works the same either way.
When isn't this setup the right one?
It covers comment entries on a regular video or photo post. It does not fit these cases:
- TikTok Shop sellers in the US: their giveaways go through TikTok Shop's LIVE Giveaway feature, as its policy requires.
- LIVE giveaways: TikTok's comment webhook is documented for photo posts and public videos, with no mention of LIVE comments.
- Follow or like to enter: TikTok won't recommend content that pushes likes or follows, and easyCoexistence's tools can't check who follows you.
- Entries by DM: easyCoexistence's TikTok connection reads comments only.
- Late setup: events are forwarded from the moment the URL is set, so set it before the video goes live.
How to set it up
- Write the termsDecide the entry word, the deadline, the prize, who can enter and how the winner is drawn, and put them in the caption.
- Start the entry logCreate a workflow in n8n or Make that receives a POST, then ask Claude or ChatGPT to run set_social_webhook_destination for your TikTok account with its URL.
- Post with disclosure onPublish the video with the content disclosure setting on, as Your brand, so TikTok labels it Promotional content.
- Confirm entriesAsk your AI to create a comment rule for the video's item_id with your word and a short confirmation, or an AI reply automation for a busy giveaway.
- Close and drawAt the deadline, pause the rule, keep one entry per unique_identifier, draw at random and reply under the winning comment.
Common mistakes
- Asking people to follow or like to enter. TikTok keeps content that pushes likes or follows out of the For You feed, which shrinks the giveaway's reach.
- Setting up the webhook after the video goes live. Events are forwarded once, from the moment the URL is set, so early entries can be missed.
- Counting comments instead of people. Count each unique_identifier once, and skip repeated comment IDs.
- Picking an entry word people type anyway, such as wow or love. Use a distinctive word, so ordinary comments don't get an entry confirmation.
TikTok Shop sellers and creators in the US, whose giveaways must run through TikTok Shop's LIVE Giveaway feature rather than a comment on a video.
easyCoexistence runs the moving parts of a TikTok comment giveaway on the account's official API: a keyword rule or an AI automation confirms entries in public, each comment event reaches your webhook signed, and your AI announces the winner with reply_to_comment. 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 easyCoexistence pick the winner for me?
Not by itself. It delivers the entries to your sheet or code, where a random function picks the winner, so the draw stays yours to record and explain.
Can the giveaway run on several videos?
Yes. Leave post_id out of the rule to cover the account's posts with one word, or create one rule per video, and filter the sheet by video_id.
What should the confirmation reply say?
That the entry counts and when the draw takes place, in a sentence or two. Point to the full terms in your caption or bio rather than pasting them into the reply.
Does easyCoexistence keep the entries?
The relay keeps no copy: each event goes straight to your endpoint. If the account also runs an automation, new comments are kept 7 days to run it.
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