# Slack 同步

通过与 Slack 集成，您可以将您的 GenStudio 对话发送到 Slack 频道，反之亦然。这使您的团队能够无缝协作。

{% hint style="info" %}
本页面将讨论如何在 Slack 和 GenStudio 之间进行同步。要了解更多关于如何设置 Slack 的信息，请访问 [Slack 集成](/zh-cn/integrations/app-integrations/slack-integration.md)。
{% endhint %}

### 将 GenStudio 对话消息发送到 Slack

一旦您将对话连接到公共或私人 Slack 频道，SkyDeck.AI 将把所有当前消息发送到该频道。这将在连接开始时仅执行一次。

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

之后，对于发送到对话的每个新消息，它也将被发送到该 Slack 频道以及其响应。

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

### 将Slack消息发送到GenStudio对话

要从Slack发送消息到连接的对话：

1. 打开该对话的线程
2. 标记**SkyDeck.ai**应用并写下你的提示。
3. 消息将发送到GenStudio，你将收到回复。

<figure><img src="/files/f65UfoSxUCLQ9RH5ialK" alt="new message from slack" width="563"><figcaption><p>打开线程 (1) - 发送消息 (2) - 来自GenStudio的回复 (3)</p></figcaption></figure>

以下是消息在GenStudio上的显示方式：

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

### 格式化

当我们从 GenStudio Collaboration 发送内容到 Slack 时，Markdown 不会自动工作。因此你会看到 `*hello*` 而不是 \*hello\*。这是 Slack 最近的一个变化。但有一个解决方案。在桌面应用程序中，你可以在 Slack 的高级设置中手动将 markdown 识别 \*开启\*。

<figure><img src="/files/ahAah5Xw6NU7xrzPVbVr" alt="slack advanced settings"><figcaption><p>选择“使用标记格式化消息”</p></figcaption></figure>

<figure><img src="/files/DZwNa9OcdXWj1CiRrq4a" 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-cn/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.
