> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workspace Bots

> Connect Slack, Discord, Telegram, Google Chat, and Microsoft Teams to chat directly with your Posttu Copilot AI assistant.

Posttu Workspace Bots allow you to bring your custom Copilot AI assistant directly into your team's everyday communication channels. You can query your database, analyze post analytics, schedule social media posts, and trigger workflows without ever leaving Slack, Discord, Telegram, Google Chat, or Microsoft Teams.

> [card] Slack Integration
>
> Bring Copilot to your channels and direct messages.

> [card] Discord Integration
>
> Enable your Discord community to interact with AI.

> [card] Telegram Integration
>
> Link Telegram group chats and direct messages.

> [card] Google Chat
>
> Add Copilot to Google Spaces and DMs.

> [card] Microsoft Teams
>
> Bring Copilot to Teams channels and chat threads.

***

## Connection Steps

Posttu features a centralized, one-click authorization architecture (Scenario A). You do **not** need to create custom applications, copy-paste API tokens, or manage secrets.

### 1. Connecting Slack

Authorize our pre-configured Slack App to your workspace:

1. Navigate to **Settings** -> **Third-Party Bot Integrations** inside your Posttu dashboard.
2. Under **Slack Bot**, click **Connection Settings** and enter a custom connection name (slug).
3. Click **Authorize Slack Bot**.
4. Review permissions in the Slack authorization popup and click **Allow**.
5. Once connected, open Slack and invite the bot to any channel by typing:
   ```bash theme={null}
   /invite @PosttuCopilot
   ```

### 2. Connecting Discord

Invite the official Posttu Bot to your Discord server:

1. Navigate to **Settings** -> **Third-Party Bot Integrations**.
2. Under **Discord Bot**, click **Connection Settings**, enter a unique slug, and click **Authorize Discord Bot**.
3. Log in to Discord if prompted, select your Server, and click **Authorize**.
4. The bot will automatically join your server. It can now respond to direct mentions and messages in channels it has access to.

### 3. Connecting Telegram

Pair the official Telegram bot with your workspace:

1. Navigate to **Settings** -> **Third-Party Bot Integrations**.
2. Under **Telegram Bot**, click **Connection Settings**.
3. Click **Start Telegram Bot Setup**. This will open Telegram and direct you to our official `@posttu_bot`.
4. Click the **Start** button (or send `/start`). The bot will automatically associate your Telegram account/chat ID with your Posttu workspace.

> [!NOTE]
>
> For Telegram group chats, simply add `@posttu_bot` to your group. Make sure to grant it administrator or message-reading privileges so it can process incoming requests.

### 4. Connecting Google Chat

Pair the Posttu Bot with your Google Chat Space:

1. Navigate to **Settings** -> **Third-Party Bot Integrations** in the dashboard.
2. Under **Google Chat Bot**, click **Connection Settings**, enter a custom connection name, and copy the displayed Connection ID.
3. Open Google Chat and add the official **Posttu Bot** to your space or direct messages.
4. In the space/DM, send:
   ```bash theme={null}
   posttu:connect <connectionId>
   ```
5. The bot will automatically pair the space/DM with your Posttu workspace and respond with a success confirmation.

### 5. Connecting Microsoft Teams

Link Microsoft Teams channels or group chats:

1. Navigate to **Settings** -> **Third-Party Bot Integrations**.
2. Under **Microsoft Teams Bot**, click **Connection Settings**, enter a unique slug, and click **Authorize Teams Bot**.
3. Log in with your Microsoft O365 account in the popup, select your organization's tenant, and grant permissions to add the bot.
4. Once authorized, choose the target Channel or Chat from the dropdown list in the settings panel to associate it with your connection.
5. Save settings. The bot is now ready to receive mentions and commands in that channel using `@PosttuCopilot`.

***

## Interacting with Copilot

Once linked, you can interact with the Copilot bot using natural language.

### Basic Commands

* **Ask questions about your data**: *"How many views did our last LinkedIn post get?"* or *"List all posts currently in draft status."*
* **Content Generation**: *"Draft a thread about our new product feature launch for next Tuesday."*
* **Triggering Workflows**: *"Run the automated newsletter workflow for this week."*

### Thread Conversations

Slack, Discord, Microsoft Teams, and Google Chat support nested replies/threads. When you reply to a message sent by the bot in a thread or space discussion, it retains conversation history, allowing you to iterate on drafts, adjust formatting, or debug workflows.

***

## Copilot Settings & Customization

You can customize the bot's behavior for each platform independently from the **Copilot Settings** tab in your Posttu Dashboard:

![Copilot Settings Panel](https://mintlify.s3.us-west-1.amazonaws.com/posttu/images/copilot-settings-preview.png)

### AI Persona & Tone

Choose from pre-set tones to match your brand style:

* **Standard Balanced**: Clear, professional, helpful.
* **Creative Brand Voice**: Playful, engaging, emoji-rich.
* **Professional Analyst**: Analytical, concise, data-driven.

### Security & Read Scopes

To enforce the **Principle of Least Privilege**, you can choose exactly which parts of your database the bot can access. Toggle read scopes for:

* **Posts**: Access scheduling details and contents.
* **Social Channels**: Access metadata of your connected platforms.
* **Inbox Items**: Read customer messages.
* **Workflows**: Inspect active automation workflows.
* **Media Library**: Search uploaded images and videos.

> [!WARNING]
>
> **Core Security Hardlock**: Crucial user credentials, password hashes, and active OAuth access tokens for your publication channels are strictly hardlocked from the AI context and can *never* be accessed by the Copilot bot.

### Auto-Reply Mode

If you disable **Auto-Reply Mode**, the bot will log and capture conversation events in your Posttu database but will **not** post replies back to your channel. This is useful for auditing before launching live interactions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.