本文へスキップ

Slack Notification Action

The Slack Notification Action sends a message to the specified Slack Incoming Webhook URL.

コピー/保存

このページはまだ日本語では利用できません。現在は英語版を表示しています。ブラウザの翻訳機能をご利用ください。

ブラウザで翻訳する
  • Chrome / Edge: アドレスバーの翻訳アイコン、またはページを右クリックして「日本語に翻訳」を選択してください。
  • Safari: アドレスバーの「aA」メニューから「翻訳」を選択してください。

翻訳メニューが表示されない場合は、ブラウザ設定で翻訳機能が有効になっているか確認してください。

英語版を見る

Slack Notification Action

The Slack Notification Action sends a message to the specified Slack Incoming Webhook URL.

Configuration

Condition

In the Action Condition section, you can specify the conditions under which the action will be executed using the values (Message or Context) from the event source to the channel. For more details on the expressions you can input, refer to Use Expressions in Actions.

In this input field, you can enter expressions representing data related to the trigger that starts the Flux application (e.g., event.payload.temp) or data related to the channel where the action is added (e.g., payload.temp).

Config

URL

Enter the Slack Incoming Webhook URL.

Payload

Enter the content to be sent to the Slack Incoming Webhook. Click Advanced Settings or Simple Mode to specify the format of the content to be sent.

In this input field, you can enter expressions representing data related to the trigger that starts the Flux application (e.g., ${event.payload.temp}) or data related to the channel where the action is added (e.g., ${payload.temp}). For details on supported expressions, refer to Action Config Expressions.

Output

Configure how to handle the output data of the action. Refer to Enable Republishing of Action Output for more details.

Output Data of the Action

The output data of the Slack Notification Action is as follows:

  • If a successful response (20x response code) is returned from the Slack API, the output is ok.
  • If a non-successful response code is returned from the Slack API, the output is the error message returned by Slack.
検索 Escで閉じる / Enterで検索結果