Grok Bot + YouTube
Post to YouTube from Grok Bot
Through iHatePosting, Grok Bot can upload videos with a title, a visibility, a thumbnail and tags. Paste one setup message to your Grok Bot and give it your API key in its secret prompt, then ask it for the post you want.
Setup takes about a minute. A post must have one video attachment; it cannot be empty.
Posting to YouTube from Grok Bot
Add iHatePosting to Grok Bot once, connect YouTube, and then describe the post. Setup takes about a minute.
Add iHatePosting to Grok Bot once
Paste one setup message to your Grok Bot and give it your API key in its secret prompt. Then connect YouTube in iHatePosting if you have not already.
Set up iHatePosting so you can draft, schedule and publish my social media posts.
- Install its command line on your cloud computer: npm install -g ihateposting
- Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent
- Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY.
- Check it works: run ihateposting integrations:list.
- Save posts as drafts unless I say otherwise, and ask me before you publish anything.
When it works, show me my connected accounts.Ask for the YouTube post
Describe the post in plain language. Grok Bot writes it, applies the settings and schedules it.
> Upload tutorial.mp4 to YouTube as public, titled Getting started in five minutes, with thumbnail.png, on Friday at 9:00.
Grok Bot: Done. Scheduled on YouTube.What Grok Bot can do on YouTube
On YouTube, Grok Bot can upload videos with a title, a visibility, a thumbnail and tags.
Video uploads
Upload one video per post from your media library.
Visibility
Publish as public, unlisted or private.
Thumbnails
Attach a custom thumbnail picture.
Tags
Add tags so the video is easier to find.
Made for kids
Say whether the video is meant for children, as YouTube asks.
How Grok Bot gets a post onto YouTube
You say what you want and Grok Bot makes the calls. A typical conversation goes like this.
Find your YouTube channel
Which YouTube accounts do I have in iHatePosting?
What happens
- Grok Bot lists your channels and finds YouTube
- It also reads the channel's rules and settings
Compose your content
Upload demo.mp4 to YouTube as private with the title Internal demo, tonight at 22:00.
What happens
- Grok Bot drafts the text for YouTube
- It uploads any media you mention
Schedule and publish
Yes, schedule it for tomorrow at 9:00.
What happens
- Grok Bot schedules the post in iHatePosting
- iHatePosting publishes it to YouTube at that time
YouTube settings reference
Say the option in your own words and Grok Bot fills in the matching field. This is every YouTube setting it can use.
| Field | Type | Required | Description |
|---|---|---|---|
| title | string | Yes | The video's title, 1 to 100 characters |
| type | string | Yes | public, private or unlisted |
| selfDeclaredMadeForKids | string | No | yes or no |
| thumbnail | object | No | A thumbnail picture from your media library |
| tags | array | No | Tags, each with a value and a label |
Common configurations
Each case below is a request Grok Bot understands, followed by the YouTube options it sets.
A public video
Publish it as public with the title Launch walkthrough
- Applies: title: Launch walkthrough, type: public
A private upload
Keep it private for now
- Applies: type: private
Tagged video
Tag it social media and scheduling
- Applies: tags: social media, scheduling
What is Grok Bot?
Grok Bot is xAI's always-on agent, used through a Cursor account. You create named Bots and give each a job; your Bots share one cloud computer with a browser, files and a terminal.
Once a Bot has the iHatePosting command line installed, it writes, queues and sends your posts from that computer.
How iHatePosting works with Grok Bot
Installed as a skill, iHatePosting gives Grok Bot a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.
- Paste the message into a chat with the agent
# A message to paste into the chat
Set up iHatePosting so you can draft, schedule and publish my social media posts.
- Install its command line on your cloud computer: npm install -g ihateposting
- Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent
- Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY.
- Check it works: run ihateposting integrations:list.
- Save posts as drafts unless I say otherwise, and ask me before you publish anything.
When it works, show me my connected accounts.YouTube and the other platforms Grok Bot reaches
Ask for YouTube and other channels in a single message; every channel still applies its own settings.
YouTube requests to try in Grok Bot
Publish a tutorial
Upload tutorial.mp4 to YouTube as public, titled Getting started in five minutes, with thumbnail.png, on Friday at 9:00.
A private draft
Upload demo.mp4 to YouTube as private with the title Internal demo, tonight at 22:00.
Add tags
Upload recap.mp4 to YouTube as unlisted with the tags recap and webinar.
YouTube limits and gotchas to know
A few of YouTube's rules shape how Grok Bot writes your request, so it helps to know them.
- A post must have one video attachment; it cannot be empty.
- A description can hold up to 5,000 characters.
- The title is required and can be up to 100 characters; the visibility is required too.
- All tags together can hold up to 500 characters.
Frequently asked questions
Start free for 30 daysPaste one setup message to your Grok Bot and give it your API key in its secret prompt, connect YouTube in iHatePosting, then ask Grok Bot for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.
A description can hold up to 5,000 characters.
Grok Bot can set title, type, selfDeclaredMadeForKids, thumbnail, tags. The settings reference on this page lists what each one does.
Yes. Make a key in iHatePosting (Settings → Agents / Dev) and hand it to Grok Bot as the steps above show. The command line can sign in with ihateposting auth:login instead.
Yes. Name a day and a time and iHatePosting publishes the post then, whether or not Grok Bot is still open. An agent that keeps running can also repeat a job on a routine you give it.