Post to TikTok from Grok Bot

A Grok Bot can keep a TikTok schedule running for weeks, posting at the privacy you set and leaving drafts for the ones you want to finish yourself.

Hermoso is a marketing MCP server: 906+ tools over one OAuth’d endpoint that let an agent research the ads already running in a market, generate finished image and video ads, publish them, and build the paid campaigns behind them. Grok Bot reaches all of it through one connection. This page covers one slice of that: what Grok Bot can actually do on TikTok, and what TikTok will not let it do.

Connect Hermoso to Grok Bot

  1. Fastest: add the Hermoso Marketing Bot template. Open the template and add it to Grok Bot. It arrives wired to Hermoso but with no key, because templates never carry secrets, so it asks for one: create a key under MCP & CLI → Terminal & API keys and paste it into the Bot’s chat. A key carries real spend authority, so treat it like a password.
  2. Or sign in from the Bot’s own terminal. Every Bot gets a browser, a filesystem and a shell, so the keyless install works there too:
    npm install -g hermoso && hermoso auth login
    The hermoso command is then available to the Bot with nothing pasted into a config file. Settings → Plugins is a catalog of pre-built connectors that does not list Hermoso, so the template and the terminal are the ways in today.
  3. Using Grok Build instead? xAI’s terminal coding agent is a separate product with its own setup: see Hermoso in Grok Build.
  4. Ask a Bot for something. “Pull my three closest competitors’ longest-running ads and remix the best hook into a 9:16 video,” or “post this render to the channel.” The agent picks the tools; you approve the spend.

Hermoso is not affiliated with or endorsed by xAI and does not claim to be. The Hermoso Marketing Bot template is published by Hermoso; the same steps are in the app under MCP & CLI, on the Grok Bot tab of the agent setup.

Then connect TikTok itself, once, under Settings → Connectors in Hermoso. That is an OAuth consent screen, so it is the one step that needs a browser. Everything after it is a tool call.

The TikTok tools Grok Bot gets

  • post_to_tiktok: publishes a finished video, or a photo post of up to 35 images, live on the profile at the privacy you choose, or into your TikTok drafts to finish in the app. It also carries the interaction settings (comments, duet, stitch), the cover frame and the branded-content disclosure.
  • schedule_post: queues it for later on the shared calendar, with the privacy fixed when you queue it.
  • tiktok_account / tiktok_creator_info: the account’s bio, verification, follower and video counts, and the privacy levels the account itself allows.
  • tiktok_post_status: follows a post TikTok is still processing, so a slow upload is checked rather than posted twice.
  • list_tiktok_videos / tiktok_account_insights: recent posts with views, likes, comments and shares, and the account’s own analytics, with follower demographics on a Business account of 100 or more followers.
  • list_tiktok_comments / reply_to_tiktok_comment / moderate_tiktok_comment: reads the comments on your posts, replies as the account, and likes, hides or deletes, once the TikTok account authorization is connected.
  • search_tiktok: keyword search across public TikTok, which is the research half.

Two more operational facts. TikTok photo posts are pulled from a URL rather than uploaded, so the host serving the images has to be verified in TikTok’s developer portal before photo posts can go out at all. And a draft carries no cover frame: on a direct post Hermoso sets the video’s best frame as the cover, while for a draft you pick the cover in the TikTok app.

TikTok limits worth knowing before you automate anything

TextA TikTok video caption is capped at 2,200 characters, a photo-post caption at 4,000, and a photo title at 90. It is enforced when the post is created or queued, so an overlong post is refused while you are still there to fix it instead of being silently cut on the way out.
VisibilityEveryone, followers, friends, only you, or a draft, and you choose. Hermoso passed TikTok’s Direct Post audit in August 2026, so a post can go live on the profile. TikTok’s rule is that the creator picks the privacy for every post, with nothing pre-selected, and only from the levels tiktok_creator_info says the account allows, so Hermoso asks instead of defaulting and refuses a post that names none before anything uploads. A draft goes to the TikTok inbox for you to finish in the app, which is also where you add a TikTok sound. There is no unlisted. Branded content cannot be combined with a private (only you) post, and that combination is refused rather than resolved for you.
CarouselUp to 35 images as a TikTok photo post, images only. That number is TikTok’s: “An array containing up to 35 photo content URLs.” The order is the slideshow, so slide order is the product. One image is simply a one-slide post, not a refusal.
Which accountNone. TikTok publishes to the connected account.

Try it in Grok Bot

Ask for it in ordinary language. These are plain sentences, not a DSL:

“Each week, render three hook variations from whatever angle is working, post the strongest publicly, and send the other two to my TikTok drafts.”

That walks search_tiktok → plan_ad → render_ad → post_to_tiktok. Approval is Grok Bot’s setting rather than ours, and the shared machine is the reason to think about it: isolation is per user, not per Bot, so anything one Bot connects, every Bot on that machine can reach.

Grok Bot on TikTok: the part that bites

A persistent machine is good at the follow-up TikTok needs. Uploads can take minutes to process, so a post often comes back pending; a Bot can check tiktok_post_status later instead of posting again, which would publish a duplicate. Put the privacy in the Bot’s instructions too: TikTok refuses a post with no privacy chosen, and Hermoso refuses it before uploading.

For a long unattended run the hermoso CLI is the cheaper path: the agent shells out per command instead of carrying an 906+ tool manifest through every turn of a job that might run for days.

Research TikTok before you post

Hermoso has no TikTok ad-library search of the kind it runs on Meta, so TikTok research is organic: search_tiktok finds what is working by keyword, and analyze_video will pull a clip apart into its hook, beats and on-screen text so the pattern can be reused rather than guessed at.

The paid half

TikTok Ads is one of the twelve paid platforms Hermoso builds and reads campaigns on, including Smart+ campaigns and Spark Ads that promote an organic post, and it is a separate connection from the organic one. Campaigns run on TikTok’s Marketing API and posting runs on its content-posting approval, so Hermoso reports each one on its own rather than letting one imply the other. Only a confirm-gated status switch arms real money.

What Grok Bot cannot do on its own

An agent with a budget is only useful if the blast radius is bounded, so the fence is in the server rather than in a prompt. Every ad campaign, ad set, ad group and ad is created paused, and the status switches that arm real money refuse to run without an explicit confirmation flag. Every render is quoted first (hermoso_capabilities publishes each model’s exact credit cost before anything spends). Credits are reserved before the first provider call and settled at the exact cost afterwards, so a failed dispatch refunds rather than leaving you billed for nothing. Deletes are confirm-gated too, and every campaign tree is read back from the ad platform before your agent tells you what it built.

One step is deliberately not headless: linking an account is an OAuth consent screen, so you connect the channel once in a browser. Everything after that is a tool call.

The rest of the matrix

From Grok Bot, post to: Facebook · Instagram · Threads · YouTube · X · LinkedIn · Pinterest · Bluesky · Telegram. Or see everything Grok Bot can publish to.

Post to TikTok from: Claude · ChatGPT · Claude Code · Cursor · Codex · Cline · OpenClaw · Hermes · Gemini CLI · Perplexity · Le Chat · Claude Cowork · Perplexity Computer · Paperclip

Frequently asked questions

Can Grok Bot post to TikTok?

Yes, through Hermoso's MCP server. Add the Hermoso Marketing Bot template from x.ai/bot/THQqogUKuhn1whWU0hrmb, which arrives wired to Hermoso and asks for an API key you create under MCP & CLI, Terminal & API keys. Or run npm install -g hermoso && hermoso auth login in the Bot's own terminal, which stores the credential with nothing pasted. Grok Bot then has 906+ tools, including the ones that publish to TikTok, plus the ones that research the ads already running in your market and render the creative in the first place.

How do I connect TikTok to Grok Bot?

Two steps, once each. Add the Hermoso Marketing Bot template from x.ai/bot/THQqogUKuhn1whWU0hrmb, which arrives wired to Hermoso and asks for an API key you create under MCP & CLI, Terminal & API keys. Or run npm install -g hermoso && hermoso auth login in the Bot's own terminal, which stores the credential with nothing pasted. Then connect TikTok inside Hermoso under Settings → Connectors, which is an OAuth consent screen in a browser. After that Grok Bot publishes to TikTok as an ordinary tool call.

Can Grok Bot post privately or as a draft to TikTok?

Yes. A TikTok post can go out to everyone, to followers, to friends or to only you, or go to your drafts instead. TikTok wants the creator to pick the privacy for each post, from the levels the account allows, so Hermoso asks rather than choosing for you. Hermoso refuses a visibility TikTok cannot honour at the moment you ask for it, rather than quietly publishing something weaker.

Can Grok Bot run TikTok ads as well as posting?

Yes. TikTok Ads is one of the twelve paid platforms Hermoso manages, and it connects separately from organic TikTok publishing. Each half runs on its own TikTok approval, and Hermoso reports each one on its own instead of inferring one from the other.

What is the TikTok caption limit when posting from Grok Bot?

A TikTok video caption can run to 2,200 characters and a photo-post caption to 4,000. Hermoso enforces it when the post is created or queued, so Grok Bot is told immediately rather than failing later when nobody is watching.

Can Grok Bot research TikTok before it posts?

Yes, organically: Hermoso has no TikTok ad-library search. search_tiktok finds what is working by keyword, and analyze_video breaks a clip into its hook, beats and on-screen text.

Related

The long version, with the setup and what it did in practice: run your marketing with a Grok bot and autonomous marketing with a Grok bot.

The same bot on other channels: X, Instagram, YouTube, Facebook, LinkedIn, Threads and Pinterest.

Start free with 30 credits at signup and 250+ more to earn. Every feature is on every plan. Credits are spent only on AI models and Ad Spy research; posting, scheduling, ads management and analytics are free.

Start free →   See pricing