Connect Slack
Contents
The SupportHog Slack bot connects your Slack workspace to PostHog Support, enabling two-way sync between Slack conversations and support tickets.
This is separate from PostHog's main Slack integration (used for alerts and dashboards). SupportHog has its own bot, credentials, and event handling.
Connecting Slack
- Go to Support > Settings in PostHog
- Click Add SupportHog to Slack
- Authorize the app in your Slack workspace
- Select one or more support channels. Messages posted there automatically become tickets
- In each of those channels, invite the bot:
/invite @SupportHog. The bot only sees channels it has been invited to - You're redirected back to PostHog settings

Each PostHog project can connect to one Slack workspace. If the workspace is already connected to another project, you'll see an error.
Configuration
After connecting, configure the integration in Support > Settings:
| Setting | Description | Default |
|---|---|---|
| Support channels | Every top-level message in these channels becomes a ticket. Thread replies sync as ticket messages. Invite SupportHog to each one. | – |
| Ticket emoji | React with this emoji on any message in any channel to create a ticket from it. | :ticket: |
| Bot mentions | Always active – @SupportHog in any channel the bot is in creates a ticket from that message. | – |
| Ticket nudges | When enabled, SupportHog prompts users in non-support channels to open a ticket via a threaded reply with Open ticket / No thanks buttons. | On |
| Bot appearance | Optional display name and icon URL for messages SupportHog posts. Leave both blank to use the defaults. Re-authorize the bot if you connected it before this setting existed. | Defaults |
Picking support channels
When you click the channel selector, PostHog lists all public and private channels the SupportHog bot has access to. Select every channel you want to use as a support inbox. If a channel is missing, run /invite @SupportHog in that channel, then click Refresh.
How tickets are created
There are four ways a Slack message becomes a support ticket:
1. Support channel messages
Any top-level message in a configured support channel automatically creates a new ticket. Thread replies on that message sync as ticket messages.
2. Bot mentions
Type @SupportHog in any channel to create a ticket from that message. If mentioned inside an existing ticket thread, the message is added as a comment instead.
3. Emoji reactions
React with the configured emoji (default :ticket:) on any message to create a ticket from it. If a ticket already exists for that thread, the reaction is ignored to prevent duplicates.
4. Ticket nudges
When someone posts a top-level message in a channel the bot is in that isn't a configured support channel, SupportHog replies in-thread asking whether to open a support ticket. The prompt includes Open ticket and No thanks buttons.
- Open ticket – creates a ticket from the original message, backfills any thread replies posted while the prompt was pending, and replaces the prompt with a ticket confirmation.
- No thanks – deletes the prompt and suppresses further nudges for that user in that channel for three hours.
The prompt also mentions the emoji reaction and @SupportHog mention as alternative ways to open a ticket.
To reduce noise, SupportHog skips the nudge for:
- Trivial messages (three words or fewer, or emoji-only)
- Messages from internal teammates
- Messages that
@mentionthe bot (these create tickets directly) - Users who were already nudged in the last five minutes
Ticket nudges are on by default. You can disable them in Support > Settings by unchecking Nudge users to open tickets.
All four methods:
- Set
channel_sourcetoslackon the ticket - Resolve the Slack user's name, email, and avatar
- Convert Slack message formatting to PostHog's rich text format
- Download and re-host attachments (up to 20 MiB per file, and up to 20 files per message)
- Post a confirmation reply in the Slack thread with the ticket number and a link to view it in PostHog
Shared channels (Slack Connect)
SupportHog works in Slack Connect channels you share with customers. This is the setup PostHog uses with enterprise customers.
- Top-level messages,
@SupportHogmentions, and the ticket emoji create tickets the same way they do in an internal channel. - Thread replies still sync both ways.
- Link unfurls do not run in shared, externally shared, or org-shared channels. Ticket creation is not affected.
Permissions
SupportHog asks for these Slack scopes when you install it. An install from before a scope was added keeps working without that scope. To turn on file sync or Bot appearance on an older install, reconnect the app.
| Scope | What it is for |
|---|---|
channels:history, groups:history | Read messages in public and private channels |
channels:read, groups:read | List the channels the bot can join |
chat:write | Post ticket confirmations and replies |
chat:write.customize | Use the display name and icon from Bot appearance |
files:read, files:write | Download inbound files and upload images from PostHog replies |
links:read, links:write | Unfurl PostHog links in internal channels |
reactions:read | See the ticket emoji |
users:read, users:read.email | Resolve the Slack user's name, email, and avatar |
Two-way sync
Slack to PostHog
- New messages in the support channel create tickets
- Thread replies sync as ticket messages
- Images from Slack are downloaded and stored in PostHog
PostHog to Slack
- When a team member replies to a Slack-sourced ticket in PostHog, the reply is posted back to the original Slack thread
- The reply shows the team member's name
- Images attached in PostHog replies are uploaded to the Slack thread
Private notes (internal notes) are never sent to Slack.
Viewing Slack tickets
Slack-sourced tickets appear in your inbox alongside widget and email tickets. Each Slack ticket shows:
- A Slack icon indicating the channel source
- A link to the original Slack thread in the ticket sidebar
- The Slack user's name and avatar on messages
You can filter the ticket list by channel source to see only Slack tickets.
Disconnecting
To remove the Slack integration:
- Go to Support > Settings
- Click Remove SupportHog bot in the Slack section, then confirm
Existing tickets created from Slack are not affected – they remain in your inbox but no longer sync new messages.











