Log inStart Free Trial
easyCoexistence Official APIs

Send new TikTok comments to Google Sheets, Slack or a CRM

TikTok's API for Business reports each new comment on an account's videos and photo posts in a comment.update webhook, within five minutes. To get comments into Google Sheets, Slack or a CRM, send that event to an n8n or Make workflow that keeps new top-level comments and appends a row, posts a message or creates a record. easyCoexistence forwards each TikTok comment event, signed, to your workflow's URL.

5 min

Time within which TikTok fires comment.update after a comment is created, deleted, hidden or made public on an owned post.

8 fields

What TikTok's comment event carries: comment_id, video_id, parent_comment_id, comment_type, comment_action, timestamp, unique_identifier and text.

72 hours

How long TikTok retries an undelivered webhook; delivery is at least once, so one comment can arrive twice.

300 per 10 s

Incoming webhook requests Make processes per 10-second interval before it answers with status 429.

Once

How many times easyCoexistence relays each event to your endpoint, with no retries and no copy kept.

How does a TikTok comment reach your sheet?

Through a chain of webhooks, with no polling. TikTok tells easyCoexistence about the comment within five minutes; easyCoexistence passes the event on at once to the URL you set for the account, signed with that account's secret; and your workflow turns it into a row, a message or a record:

1CommentOn a public video or photo post of the connected account
2comment.updateTikTok reports it within five minutes
3easyCoexistenceForwards it at once, signed in X-EC-Signature
4n8n or MakeChecks the signature and keeps new top-level comments
5Sheets, Slack, CRMA row, a message or a record

What does each forwarded event contain?

TikTok's own comment event, wrapped with the account's IDs. platform is tiktok, account_id is easyCoexistence's ID for the account, and entry holds TikTok's event, with its content already parsed from TikTok's JSON string and the long IDs sent as strings so they keep their digits. There is no username: unique_identifier names the commenter the same way across TikTok's APIs, and TikTok's comment list can turn a comment_id into a username.

A forwarded TikTok comment
POST https://n8n.example.com/webhook/tiktok-comments
X-EC-Signature: t=<unix>,v1=<hex>

{
  "platform": "tiktok",
  "account_id": "<ACCOUNT_ID>",
  "external_id": "<TIKTOK_OPEN_ID>",
  "entry": {
    "event": "comment.update",
    "create_time": 1795680000,
    "content": {
      "comment_id": "<COMMENT_ID>",
      "video_id": "<ITEM_ID>",
      "parent_comment_id": null,
      "comment_type": "comment",
      "comment_action": "insert",
      "timestamp": 1795679998000,
      "unique_identifier": "<UNIQUE_IDENTIFIER>",
      "text": "Do you ship this to Canada?"
    }
  }
}

How do you set it up with n8n?

A short workflow, after one call to easyCoexistence. In n8n, add a Webhook node set to POST with Raw Body on, publish the workflow and copy its Production URL. Ask Claude or ChatGPT to run set_social_webhook_destination with the TikTok account_id and that URL, or call PUT /api/v1/channels/:id/webhook with your API key, and store the signing secret, which is shown once. Then:

  • Crypto node: an Hmac with SHA256 and HEX over the timestamp from X-EC-Signature, a dot and the raw body; an If node drops events whose v1 differs or whose timestamp is over 5 minutes old.
  • Filter: a Code or If node keeps comment_action insert with comment_type comment, so replies, your own included, and deletions stay out.
  • Google Sheets node: Append or Update Row, with comment_id as the Column to Match On, so a repeated event updates its row instead of adding one.
  • Slack node: Send a message with the comment's text and video_id to the channel your team watches.
  • HTTP Request node: create a lead or a note through your CRM's own API.

Which events should the workflow keep?

Usually only new top-level comments, each once. comment.update also fires when a comment or reply is deleted, hidden, set to friends only or made public again, and replies arrive with comment_type reply, including the replies your own account posts. TikTok delivers at least once and retries for up to 72 hours, so the same comment_id can come through twice: match rows on comment_id, or put a Remove Duplicates node first. If the sheet should reflect removals, update the row when a delete or set_to_hidden event arrives for a comment_id you logged.

What happens if your workflow is down?

The event is lost to the workflow. easyCoexistence relays each event once, waits a few seconds for an answer and does not retry, because retrying would mean keeping comments on its side. Keep the receiving end quick: n8n's Webhook node can respond immediately and work afterwards, and Make runs a scenario as soon as its Custom webhook receives data, up to 300 requests per 10 seconds. To fill a gap, list_social_comments reads a video's newest 30 comments from a chat, and your own code can page through TikTok's comment list with the account's token from get_social_credentials.

Can you skip n8n and Make?

For Slack, or a CRM with a plain JSON API, yes. An easyCoexistence automation on the TikTok account starts on new comments and can run a Call an API step (http_request) that POSTs to a Slack incoming webhook URL, with a body such as {"text": "New TikTok comment from {{name}}: {{message}}"}, or to your CRM, and tokens in a JSON body are escaped for you. The limits: only one automation runs per comment, so add the step to an automation you already have; it sees new top-level comments only; and with an automation on, new comments are kept 7 days to run it.

What doesn't the comment feed include?

The forward covers comment events on the connected account's posts, and nothing else:

  • DMs: easyCoexistence's TikTok connection carries comments only.
  • LIVE comments: TikTok's comment webhook is documented for photo posts and public videos.
  • Old comments: forwarding starts when you set the URL; earlier ones need list_social_comments or TikTok's comment list.
  • Usernames: the event names the commenter by unique_identifier, and the username comes from TikTok's comment list.

How to set it up

  1. Create the receiving workflowIn n8n, add a Webhook node set to POST with Raw Body on, publish the workflow and copy its Production URL; in Make, create a Custom webhook.
  2. Point the account at itAsk Claude or ChatGPT to run set_social_webhook_destination for the TikTok account with that URL, and store the signing secret it shows once.
  3. Check the signatureCompute the HMAC-SHA256 of the timestamp, a dot and the raw body with the secret, and drop events that don't match.
  4. Keep new comments, oncePass only comment_action insert with comment_type comment, and match rows on comment_id to absorb repeats.
  5. Write the row or the messageAppend the row in Google Sheets, send the Slack message or create the CRM record, then comment on your own video to test; it arrives within about five minutes.

Common mistakes

  • Pointing the account at n8n's Test URL. n8n listens there only while you test; use the Production URL, which it registers when the workflow is published.
  • Checking the signature on a parsed body. Turn on Raw Body, since a parsed and re-serialized body may not match the bytes that were signed.
  • Logging replies as comments. Your own account's replies arrive with comment_type reply, so filter them out or the sheet fills with your answers.
  • Doing the work before answering. easyCoexistence relays each event once and does not retry, so respond at once and process afterwards.
Doing this with EasyCoexistence

easyCoexistence connects a TikTok account through TikTok's official API for Business and forwards its comment events, signed and as they happen, to the URL you choose, for n8n, Make or your own code, with no copy kept. Claude or ChatGPT set the destination for you, and automations can post to Slack or a CRM directly. 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.

Connect TikTok to ChatGPT and Claude

Frequently asked questions

Can several TikTok accounts send comments to one sheet?

Yes. Point each account at the same URL; each event carries its account_id, and each account signs with its own secret, so check the signature with the matching one.

How quickly does a comment show up in the sheet?

Usually within about five minutes, which is how long TikTok can take to report it; easyCoexistence passes it on at once, and your workflow adds its own few seconds.

Can Instagram and Facebook comments go to the same sheet?

Yes. set_social_webhook_destination works for Instagram accounts and Facebook Pages too, but their events arrive in Meta's own format inside entry, so the workflow needs a branch for each platform.

Can I keep one video's comments apart?

Yes. Each event carries video_id, the post's item_id from list_social_posts, so a filter node can keep one video or send each video to its own tab.

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