How to trigger Codex cloud tasks from Slack threads or Linear tickets using a simple mention.
Adapted from @cv_usk# Codex Features and Practical Usage 💬 Just mention `@/Codex` in a bug-report thread. It spins up a cloud task with the whole conversation as context and comes back with a fix PR. 🏷️ Title: Chat / Ticket Integration (Slack / Linear) 🔗 URL: https://t.co/oQVikvGr5C 📘 Overview The Slack integration kicks off a Codex cloud task whenever you mention `@/Codex` in a channel or thread. Thread context is included automatically, so you don't have to restate the earlier discussion. Linear works similarly, launching tasks from a ticket. ⚙️ How It Works ・Mention `@/Codex` with a prompt in a thread and the bot detects it, starting a cloud task. Codex reacts with 👀 and replies with a task link. ・Alongside your message, the preceding thread history is sent, so Codex acts with full awareness of the prior discussion. On completion it posts results or threaded replies depending on workspace settings. ・The environment is chosen automatically: Codex matches accessible environments against your request, falls back to your most recently used environment when ambiguous, and runs against the default branch of the first repository in that environment's config. ・Enterprise admins can disable answer posting in ChatGPT workspace settings, limiting replies to task links only so sensitive environment details don't surface in Slack. 🛠️ Practical Usage ・You'll need a ChatGPT Plus plan or higher, a connected GitHub account, at least one configured cloud environment, and (workspace-dependent) Slack admin approval. ・To target a specific repository, name it in the mention, e.g. `@/Codex fix the above in openai/codex`. ・For complex threads, summarize the key points in your latest message so context isn't lost. 💡 Use Cases When a customer bug report blows up in a thread, ask `@/Codex` to fix it once the conclusion is clear. Without opening the repo locally, the assignee gets a context-aware fix PR. From Linear, the same flow launches a task using the ticket's content as context. ⚠️ Caveats ・If GitHub or Slack connections lapse, you'll get prompts to reconnect. ・When the environment is ambiguous, Codex might run against an unintended repo, so name the target explicitly for important requests. ・For detailed Linear mechanics, consult the Linear-specific documentation rather than this Slack-focused page. #OpenAICodex #Slack