PostHog Slack app

Slack app is in beta

The PostHog Slack app is in beta. Commands, scopes, and behavior are still moving – expect some rough edges and reach out in Discord if something looks off.

@PostHog brings PostHog into any Slack channel or thread. Mention the bot with a question about your product data and it answers in-thread using the PostHog MCP.

Mention @PostHog with a fix, an edit, or a feature idea and it plans the work in a sandboxed environment, edits files, runs your checks, and opens a draft PR. The same agent that powers PostHog AI and PostHog Code, just summoned from where your team already chats.

A PostHog Code task running in a Slack thread

Before you can mention the bot you'll need to connect the integrations.You'll need to connect:

  • A Slack workspace connection for each project
  • A personal GitHub connection for each teammate who wants to ship PRs.

Start a task

Mention the bot with what you want done:

@PostHog rename the auth middleware to AuthGuard and update all imports

You can ask for things that mix code and product data because PostHog Code has your PostHog project wired up, so feature flags, experiments, events, and live metrics are all in the agent's context:

@PostHog add a feature flag to the new checkout page and roll it out
to everyone with an @example.com email address
@PostHog look at our onboarding activation funnel and propose changes
to the onboarding flow to lift the drop-off between step 2 and step 3

If you have a single repo connected, the task runs against it immediately. If you have several, the bot opens a repo picker in-thread. Pick one and the task starts. The picker times out after 15 minutes; after that, re-mention the bot to try again.

Once the agent finishes, it posts a final summary of its work to the thread.

Follow-ups in a thread

Reply in the thread to send a follow-up to the running agent. Anything you say while the run is active is forwarded as a new message in the same conversation, so you can steer mid-run ("actually, skip the test files") or answer a question the agent asked.

Once the agent finishes, you can reply to it by sending a new message in the thread with @PostHog to continue the existing conversation.

Only the person that started a task can drive it. If other people add to a thread (a comment, a file, a link), the agent treats it as context to consider, not a prompt to follow. If you want to take over, start a new thread and paste the existing messages in as context.

Emoji cues

The bot reacts to your @PostHog message as it works through your request, so you can scan a busy channel and see what's still in flight without opening every thread:

EmojiWhat it means
🌱 :seedling:Saw your mention and is spinning up a new task
🔍 :mag:Picking which repo to run the task against
👀 :eyes:Forwarding a follow-up to the running agent, or resuming a previous run
🦔 :hedgehog:The agent finished and posted its reply in the thread
:x:Something went wrong

When you paste a PostHog insight or dashboard URL in a channel the bot is invited to, Slack shows a rich preview with the title, type, and description. Unfurling respects PostHog access permissions. Only teammates with at least viewer access on the item will see the preview. See Slack link unfurling for details.

Community questions

Was this page useful?

Questions about this page? or post a community question.