New MCP server: let ChatGPTClaudeClaude CodeCodexCursorOpenClaw or any AI agent schedule your posts See how it works

Grok Bot + Slack

Post to Slack from Grok Bot

Through iHatePosting, Grok Bot can post messages and team updates into a Slack channel. 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 message can hold up to 3,000 characters, Slack's own limit for a block of text.

SlackGrok Bot15 networks

Posting to Slack from Grok Bot

Add iHatePosting to Grok Bot once, connect Slack, and then describe the post. Setup takes about a minute.

Step 1

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 Slack in iHatePosting if you have not already.

Message to your Bot
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.
Step 2

Ask for the Slack post

Describe the post in plain language. Grok Bot writes it, applies the settings and schedules it.

Grok Bot
> Post the changelog summary to #releases on Slack today at 17:00. Grok Bot: Done. Scheduled on Slack.

What Grok Bot can do on Slack

On Slack, Grok Bot can post messages and team updates into a Slack channel.

Channel messages

Send a message into a channel of your workspace.

Channel list

List the channels available, then choose one.

Pictures

Attach pictures to a message; video is not sent to Slack.

Scheduling

Send the update at a time you name.

How Grok Bot gets a post onto Slack

You say what you want and Grok Bot makes the calls. A typical conversation goes like this.

Find your Slack channel

Which Slack accounts do I have in iHatePosting?

What happens

  • Grok Bot lists your channels and finds Slack
  • It can also run the channels helper: Lists the channels the agent can post to.

Compose your content

List my Slack channels and post this week's plan to #team-updates on Monday at 9:00.

What happens

  • Grok Bot drafts the text for Slack
  • 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 Slack at that time

Slack settings reference

Say the option in your own words and Grok Bot fills in the matching field. This is every Slack setting it can use.

FieldTypeRequiredDescription
channelstringYesChannel must be an id

Common configurations

Each case below is a request Grok Bot understands, followed by the Slack options it sets.

Choose a channel

Post it in #team-updates

  • Applies: channel: the channel's id

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
Set up Grok Bot
# 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.

Slack and the other platforms Grok Bot reaches

Ask for Slack and other channels in a single message; every channel still applies its own settings.

Slack requests to try in Grok Bot

A release note

Post the changelog summary to #releases on Slack today at 17:00.

A Monday update

List my Slack channels and post this week's plan to #team-updates on Monday at 9:00.

A picture

Post chart.png with a two-line explanation to #metrics tomorrow at 10:00.

Slack limits and gotchas to know

A few of Slack's rules shape how Grok Bot writes your request, so it helps to know them.

  • A message can hold up to 3,000 characters, Slack's own limit for a block of text.
  • Pictures only: a post with a video is refused for Slack.
  • Every post names one channel by its id; the agent lists the channels first and picks the one you mean.

Frequently asked questions

Start free for 30 days

Paste one setup message to your Grok Bot and give it your API key in its secret prompt, connect Slack 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.

Hand your Slack posts to Grok Bot

Start free for 30 days.