# Slack 同步

透過與 Slack 的整合，您可以將您的 GenStudio 對話發送到 Slack 頻道，反之亦然。這使您的團隊能夠無縫協作。

{% hint style="info" %}
本頁將討論如何在 Slack 和 GenStudio 之間進行同步。要了解如何設置 Slack，請訪問 [Slack 整合](/zh-hk/integrations/app-integrations/slack-integration.md)。
{% endhint %}

### 將 GenStudio 對話消息發送到 Slack

一旦您將對話連接到公共或私人 Slack 頻道，SkyDeck.AI 將會將所有當前消息發送到該頻道。這將在連接開始時僅執行一次。

<figure><img src="/files/jp32moLca2ikqXb5TlT0" alt="sync to slack" width="563"><figcaption></figcaption></figure>

之後，對話中發送的每條新消息也將發送到該 Slack 頻道及其回應。

<figure><img src="/files/xGnaU9PvVWG59VaZu2Xv" alt="new message from conversation" width="563"><figcaption></figcaption></figure>

### 將 Slack 訊息發送到 GenStudio 對話

要從 Slack 發送訊息到連接的對話：

1. 打開該對話的線程
2. 標記 **SkyDeck.ai** 應用並撰寫您的提示。
3. 訊息將發送到 GenStudio，您將收到回覆。

<figure><img src="/files/3jm5USbOFByl8LErFbMz" alt="new message from slack" width="563"><figcaption><p>打開線程 (1) - 發送訊息 (2) - 來自 GenStudio 的回覆 (3)</p></figcaption></figure>

以下是訊息在 GenStudio 上的顯示方式：

<figure><img src="/files/fr7kbXOGIDxpE9zcP4eT" alt="gen view" width="563"><figcaption></figcaption></figure>

### 格式化

當我們從 GenStudio Collaboration 發送內容到 Slack 時，Markdown 不會自動運作。因此，您會看到 `*hello*` 而不是 \*hello\*。這是 Slack 最近的變更。但有一個解決方案。在桌面應用程式中，您可以在 Slack 的進階設定中手動將 markdown 辨識 \*開啟\*。

<figure><img src="/files/cINv0hoB4DLXh4DrjeNc" alt="slack advanced settings"><figcaption><p>選擇「使用標記格式化訊息」</p></figcaption></figure>

<figure><img src="/files/9NsvUQZZFB1PX6asEzVF" alt="slack formatting improvement"><figcaption><p>開啟「使用 markdown 格式化訊息」後所見的改進示例。</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.skydeck.ai/zh-hk/genstudio-workspace/slack-synchronization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
