Codex + Slack

Post to Slack from Codex

Ask Codex to write and schedule your Slack messages. BrokenPost connects the two, follows Slack's rules and posts at the time you pick.

How to connect Codex to Slack

  1. 1

    Connect Slack in BrokenPost. Add BrokenPost to your Slack workspace and pick a channel for each post.

  2. 2

    In BrokenPost, open Plugins and copy your MCP URL.

  3. 3

    Add the lines below to ~/.codex/config.toml.

  4. 4

    Run codex mcp login brokenpost and sign in.

  5. 5

    Ask Codex to schedule a post.

# ~/.codex/config.toml

[mcp_servers.brokenpost]
url = "<MCP_URL>"

Prefer another way? See every way to connect Codex.

What to ask Codex

Type these in Codex. Change the details to fit your messages.

What happens next

  1. 1

    You ask in Codex, in plain words.

  2. 2

    Codex lists the channels you connected in BrokenPost and picks your Slack account.

  3. 3

    It reads Slack's rules and settings from BrokenPost, so the message fits Slack's limits before it is written.

  4. 4

    If you shared a picture, a video or a link to one, it uploads it to your media library.

  5. 5

    It creates the message as scheduled, as a draft, or to go out now, and gives you a preview link.

  6. 6

    At the set time BrokenPost publishes it to Slack and it shows on your calendar.

Slack limits Codex follows

Codex reads these rules from BrokenPost before it writes, so the message fits the first time.

Characters400,000 characters
MediaPictures (PNG, JPG, GIF), no video
VideoNot supported
ChannelPick one per post
RepliesYes

Slack settings you can ask for

Say them in plain words, like "channel", and Codex sets them on the message.

If Slack rejects a message

Codex sees the same message and can fix the message for you.

What you seeHow to fix it
No video support for Slack, only imagesRemove the video and attach a PNG, JPG or GIF.

Good to know

Questions people ask

Can Codex post to Slack directly?

Yes, through BrokenPost. Connect Slack in BrokenPost, connect BrokenPost to Codex, and Codex can schedule, draft or publish Slack messages.

Does Codex know the Slack limits?

Yes. Codex reads Slack's rules from BrokenPost before it writes: 400,000 characters and pictures (png, jpg, gif), no video. BrokenPost checks again before it posts.

Can Codex schedule Slack messages for later?

Yes. Give a day and time, like "Friday at 6pm", and the message goes out then. Ask for a draft if you want to check it first.

Is it free?

Codex with BrokenPost works on every plan. The Free plan includes 1 account on every app and 20 posts a month. Paid plans start at $19 a month with unlimited posts.

Which Slack settings can Codex set?

Channel.

Can Codex post a Slack thread or comments?

Yes. Ask for a thread or a first comment and BrokenPost posts each part as a reply, right after the first one.

More apps with Codex

Post to Slack with other AI

All about scheduling Slack messages

Write once. Post everywhere.

Start free with BrokenPost. Connect your apps and your AI in a few minutes.