> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/connectors/notes/slack-vs-slackbot.md).

# SlackBotコネクタの違い

## 概要

Anyflow EmbedにはSlackに関する2つのコネクタが存在します。

このページでは2つの違いについて説明します。

<figure><img src="https://files.readme.io/8b95da5-image.png" alt="" width="563"><figcaption></figcaption></figure>

## Slackコネクタ

Slackコネクタは、Slackワークスペースのユーザーやグループを作成したり管理するものです。\
仕組みとしては、Slackの[SCIM API](https://api.slack.com/admins/scim2)を利用しています。

<figure><img src="https://files.readme.io/b51c90a-image.png" alt="Slackコネクタで可能なアクション" width="563"><figcaption><p>Slackコネクタのアクション</p></figcaption></figure>

### &#x20;Slackコネクタの利用条件

Slackコネクタは、エンドユーザーのSlackワークスペースのプランが、**Business+プラン**または**Enterprise Gridプラン**の場合のみ使用できます。

これはSlackのSCIM APIの仕様によるものです。

<figure><img src="https://files.readme.io/3f71ca6-image.png" alt="Slack SCIM 2.0 の仕様" width="563"><figcaption><p>Slack SCIM 2.0 の仕様</p></figcaption></figure>

## SlackBotコネクタ

SlackBotコネクタは、Slack Botによってメッセージを投稿したり、チャンネルやメッセージの内容を取得したりするものです。

<figure><img src="https://files.readme.io/488188e-image.png" alt="SlackBotコネクタのアクション" width="563"><figcaption><p>SlackBotコネクタのアクション</p></figcaption></figure>

仕組みとしては、[Slack apps](https://api.slack.com/start/apps) として作成したSlack Botに対しAPIリクエストを送っています。\
SlackBotコネクタには、デフォルトでは**Anyflowが作成したSlackBot**が設定されています。

<figure><img src="https://files.readme.io/c01b9d0-image.png" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="success" %}

### 独自のSlackBotを設定するには

Anyflowのものでない独自のSlackBotを設定したい場合は以下のページをご確認ください。\
[レシピ | 独自のSlackBotを設定する](https://docs-embed.anyflow.jp/recipe/communication/slackbot-custom-original-bot.md)
{% endhint %}

### SlackBotコネクタの利用条件

SlackBotコネクタは、基本的にエンドユーザーのSlackワークスペースのプランに関係なく利用できます。

{% hint style="warning" %}
利用するSlackBotが独自のSlackBotの場合、[Public Distribution](https://api.slack.com/start/distributing) の設定を有効化するようにしてください。無効化している場合は、利用できるワークスペースが自社のみに制限されてしまいます。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs-embed.anyflow.jp/connectors/notes/slack-vs-slackbot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
