The playbook
Chatty answers TikTok DMs for this workspace on its own, using the brand memory, the user's instructions and keyword replies. Settings are per workspace.
If the plan has several workspaces, call workspaces_list first and ask which one, then pass workspace=<id> to every tool below.
TikTok rules (tell the user first)
- The person has to DM first. Chatty can only answer; it can't start a TikTok conversation.
- Not available in the EU / EEA, Switzerland or the UK. If the account is based there, stop here.
- The account must be connected through TikTok's current login. An account connected before fall 2026 needs to be reconnected once. A personal account works too.
- TikTok comments can't be answered by DM: a comment gets a public reply only. So the funnel is a public reply ("DM me APP") that sends people to the DMs, where Chatty answers with the link.
1. Check the account
list_accountswithplatform: "tiktok". None:get_connect_linkwithplatform: "tiktok", give the user theauth_url, and continue once it shows up.get_account_healthwith itsaccount_id. If it needs reconnecting, or the user connected it before fall 2026, have them reconnect withget_connect_link(platform: "tiktok").- Ask where the account is based (see the region rule).
2. Read the brand
smarty_get: voice, offers with links and DM keywords, FAQs, rules. Not set up: offer the smarty-brand-kit skill first, or ask for the basics.
3. Current settings
chatty_get: whether it's on, platforms (empty = every supported one), prompts, links, keywords, platforms_available and the per-platform notes (read the TikTok one).
4. Draft the settings
message_prompt: from Smarty: who they are, what they sell, tone, what never to say, when to send a link, when to hand off to a human. Keep replies short and casual.links:[{ label, url }]from Smarty's offers.keywords:[{ keyword, reply }], e.g.{ keyword: "APP", reply: "Here it is: https://..." }.platforms: the current list plustiktok. If it's empty (every platform), ask whether to keep it that way.reply_to_messages: true.
keywords replaces the whole list on save: send the existing keywords from chatty_get plus the new ones, never only the new ones. Do the same for links and platforms.
Show the draft. On a yes, chatty_update with those fields, leaving enabled as it is.
5. Test
chatty_test with kind: "message" and 2 or 3 realistic DMs, e.g. "APP", "where do I get this?", and a random compliment. Show each draft (nothing is sent). Tune with chatty_update and test again.
6. Turn it on
Ask for an explicit yes: Chatty will answer TikTok DMs automatically. Then chatty_update with enabled: true and reply_to_messages: true. Confirm with chatty_get.
7. Start the funnel
Run the comment-reply-setup skill so comments with the keyword get a public reply like "DM me APP for the link". Chatty then answers the DM with the keyword reply.
8. Watch it
chatty_activity (limit): the latest DMs and what Chatty did (the reply, or why it skipped). Check after the first day. Manual replies: list_conversations (platform: "tiktok"), list_messages (conversation_id, account_id), send_message (conversation_id, account_id, message) after the user approves the text. Pause with chatty_update enabled: false.