> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/autify-university/supported-notifications/integrate-with-slack.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Slack通知

Autifyではテストが完了した際に、テスト結果を含むメッセージをSlackに送信する[Slack App](https://autifyhq.slack.com/apps/A01E5U5F309-autify)を提供しています。送信されるメッセージには、テストプランに含まれる各シナリオのテスト結果が含まれています。

以下の手順でワークスペース全体、もしくは各テストプランにSlack通知を設定できます。

## Slack通知の設定と削除 (ワークスペース)

### 設定

1. ワークスペースの設定ページを開く
2. **Add to Slack** をクリック

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-6c03dbb6588fc476eb688815dd02fed585bd3f91%2Fimage\(139\).png?alt=media)

{% hint style="warning" %}
**表示されませんか？**

[ワークスペース管理者](https://help.autify.com/nocode-web/autify-university/advanced/user-management/user-roles-feature.md)のみがメール / Slack通知の設定が可能です。
{% endhint %}

3. Slackのワークスペースを選択

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-e9cdf1bff4a81ffe65ca0d92989c9ec440fad533%2Fzndsk-slack02.png?alt=media)
4. 投稿先のチャンネルを以下で検索して選択、**許可する** をクリック

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-d51ad129b3bdee3f18bd9aa1609d29b121edcda6%2Fzndsk-slack04.png?alt=media)
5. AutifyにSlack通知が設定されたことを確認

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-bbdf22a39e0eaf725bc1066f2aecacb343ab7ece%2Fimage\(140\).png?alt=media)

### 通知タイプの変更

1. ワークスペースの設定ページを開く
2. **編集** をクリック

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-3016d8237ee7eb618ea5bc42820cbc8e916f83a3%2Fimage\(141\).png?alt=media)
3. 通知を受け取りたい結果 (通知タイプ) を選択してください。 `テスト成功`, `テスト要確認`, `テスト失敗`の中から指定できます。

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-63f021cba8acb5bec0ca4c19fe3bc0d12c0d493e%2Fimage\(138\).png?alt=media)

### 削除

1. ワークスペースの設定ページを開く
2. **削除** をクリック

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-c9370157361ad58111f46cc4ca1d0a8397aa8152%2Fimage\(142\).png?alt=media)

## Slack通知の設定と削除 (テストプラン)

### 設定

1. 対象のテストプランの設定ページを開く
2. Slack通知の **追加** をクリック

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-a65d74dd65a408b6cd7d303d77ac6f616515c1f7%2Ftest_plan_slack_notification_jp.png?alt=media)
3. Slackのワークスペースを選択

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-e9cdf1bff4a81ffe65ca0d92989c9ec440fad533%2Fzndsk-slack02.png?alt=media)
4. 投稿先のチャンネルを以下で検索して選択、**許可する** をクリック

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-d51ad129b3bdee3f18bd9aa1609d29b121edcda6%2Fzndsk-slack04.png?alt=media)
5. テストプランの設定にSlack通知が設定されたことを確認 下図は、2つのSlackチャンネルに通知を設定した場合の例です。 テストプランの場合、複数の通知先チャンネルを指定することが可能です。

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-b2500c3f0c82e272f02a7a2df35635f312c02c0c%2Ftest_plan_slack_notification_multipul_setting\(1\).png?alt=media)

### 通知タイプの変更

通知を受け取りたいテスト実行の結果を指定することが可能です。

1. 設定したSlack通知の右側の3点リーダをクリックし、**編集** をクリックします。

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-4c472e64283e9dc311e32ea5bd0df92acc8910ca%2Fja-test-plan-slack-edit.png?alt=media)
2. 通知を受け取りたい結果 (通知タイプ) を選択してください。 `テスト成功`, `テスト要確認`, `テスト失敗`の中から指定できます。

   ![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-63f021cba8acb5bec0ca4c19fe3bc0d12c0d493e%2Fimage\(138\).png?alt=media)

### 削除

設定したSlack通知の右側の3点リーダをクリックし、**削除** をクリックします。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-dfe0ab47eadfe8f9da4c4d98a71cb613ed399a1a%2Ftest_plan_slack_notification_delete\(1\).png?alt=media)

## Slack通知の見方

テスト実行が完了すると、設定したチャンネルにメッセージが送信されます。メッセージに使用される言語は、[組織のデフォルト言語設定](https://help.autify.com/nocode-web/faq/faq-test-execution/can-i-specify-the-language-to-be-displayed-for-a-test-execution.md) で設定されている言語です。テストプランに複数シナリオ (下図の場合、3シナリオ) が含まれる場合のテストが全て成功した際は、次のようなメッセージが送られます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-1fff9dffedab85757cf2771ecc0bee62250cca86%2Ftest_plan_slack_notification_success_jp\(1\).png?alt=media)

一方で失敗したテストがある際は、失敗したテスト結果への各リンクと、失敗した理由を含む次のようなメッセージが送られます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-b4a48d316e5a712ebc0706763807b41f965d6151%2Ftest_plan_slack_notification_fail_jp.png?alt=media)

{% hint style="info" %}
**重複した通知が届く場合**

ワークスペース全体とテストプラン両方に同じ通知先を設定した場合、テストプランの実行完了につき、2件同じ通知が届きます。通知先の設定を見直してください。
{% endhint %}

## Slack通知のカスタマイズ

現状Autifyの基本機能では、シナリオごとに個別の宛先を設定するなどの通知のカスタマイズを行うことはできません。 一方で、[webhook](https://help.autify.com/nocode-web/autify-university/integrations/creating-webhooks.md) を使うことでカスタマイズ可能です。


---

# 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://help.autify.com/nocode-web/autify-university/supported-notifications/integrate-with-slack.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.
