Integration Service
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
Integration Service ユーザー ガイド
Automation CloudAutomation Cloud Public Sector
Last updated 2024年7月24日

Slack の認証

前提条件

選択した認証の種類に応じて、次のいずれかの資格情報が必要です。

  • OAuth 2.0 認可コード: ユーザー スコープ、ボット スコープ、Slack の資格情報。
  • 独自の OAuth 2.0 アプリ (クライアント ID、クライアント シークレット、ユーザー スコープ、ボット スコープ) を使用します。
プライベート OAuth2 アプリを作成するには、Slack の ドキュメントに記載されている手順に従います。

To be able to create a connection, you need to be a member or a guest of a Slack workspace.

Note: If you create a connection using Bring your own OAuth 2.0 app, there are some additional steps you must take when using the Button Clicked event. Refer to Using Button Clicked with Bring your own OAuth 2.0 app authentication for more details.

Slack のコネクションを追加する

お使いの Slack インスタンスへのコネクションを作成するには、次の手順を実行する必要があります。

  1. Automation Cloud[Integration Service] を選択します。
  2. [コネクタ] のリストから [Slack] を選択します。 検索バーで検索して、表示されるコネクタの数を絞ることもできます。

  3. [ Slack に接続 ] ボタンを選択します。
  4. [OAuth 2.0 認可コード] または [独自の OAuth 2.0 アプリ (BYOA) を使用する] の 2 つの認証の種類から選択できます。
    1. [Bring your own OAuth 2.0 app] メソッドを選択した場合は、必要な資格情報を入力し、[ 接続] を選択します。
    2. 既定の OAuth 2.0 認可コードの方法を選択した場合は、以下の手順に従います。
  5. Review or change the Bot scopes and/or the User scopes as per your requirements or use case. This step is optional. You can use the default scopes to create the connection.
  6. [接続] を選択します。

  7. Select the correct workspace from the top-right corner of the screen. The connection performs actions only for this selected workspace and its respective channels.

    docs image

  8. [Allow] を選択します。お使いの Slack アカウントへのアクセス権があることにより、UiPath は以下を実行できます。
    • View content and info about you.
    • View content and info about channels and conversations.
    • View content and info about your workspace.
    • Perform actions as you.
    • Perform actions in channels and conversations.
    • Perform actions in your workspace.
  9. コネクションが追加されました。

範囲と権限

You can use the connection to enable the Slack activities in UiPath Studio to build automations for user and channel management, scheduled messaging, and other ways of working together.

Use the table below to check the various permission-based use cases you can achieve using Slack activities:

スコープ/権限ユースケースアクティビティ/イベント
チャット:書き込み (ユーザー トークンとボット トークンの両方)

Send a message in a channel as a Bot or User.

Send a reply to a message in channel as a Bot or User.

When a button is clicked in a channel, send an ephemeral message or a me message to the user.

チャンネルにメッセージを送信

返信を送信

チャット:書き込み:カスタマイズ (ボット トークンのみ)Send a message in a channel or to a user using a customized Bot name and icon.

チャンネルにメッセージを送信

ユーザーにメッセージを送信

チャット:書き込み:公開 (ボット トークンのみ)Send notifications/announcements to public channels as a Bot even if the Bot is not a channel member.チャンネルにメッセージを送信
リンク:書き込み(ユーザートークンとボットトークンの両方)Send messages with preview of links such as Jira ticket or GitHub issue etc. as a Bot or User.

チャンネルにメッセージを送信

ユーザーにメッセージを送信

チャンネル:書き込み[ちゃんねる:かい] (ユーザトークンのみ)

Create public channels for different teams and users based on need / topic / goal as a user.

Dynamically archive or unarchive or close the temp channel/conversation as a user when the support ticket is closed or reopened.

チャンネルをアーカイブ

チャンネルのトピックを設定

チャンネル:管理(ボットトークンのみ)

Create public channels for different teams and users based on need / topic / goal as a bot.

Dynamically archive or unarchive or close the temp channel/conversation as a user when the support ticket is closed or reopened.

チャンネルを作成

チャンネルをアーカイブ

チャンネルのトピックを設定

チャンネル:参加[ちゃんねる:じゅんと] (ボットトークンのみ)Upload a media file as a Slack message in a channel as a Bot by first joining the channel.チャンネルに参加
グループ:書き込み(ユーザートークンとボットトークンの両方)Create private channels for different teams and users based on need / topic / goal as a Bot or User.チャンネルを作成
im:write (ユーザー トークンとボット トークンの両方)Send individual message (IM) as a Bot or User.ユーザーにメッセージを送信
mpim:書き込み (ユーザー トークンとボット トークンの両方)

Send a message in a MPIM group as a Bot or User.

Send a reply to a message in the MPIM group as a Bot or User.

Open a MPIM conversation by adding multiple users for sending message as a Bot or User.

チャンネルにメッセージを送信

返信を送信

チャンネル:読み取り (ユーザー トークンとボット トークンの両方)

Retrieve the list of public channels of the connected workspace in order to send messages or manage users as a Bot or User.

Read the public channel information as a Bot or User for sending messages or managing users.

チャンネルにメッセージを送信

ユーザーにメッセージを送信

チャンネルにファイルを送信

返信を送信

チャンネルにユーザーを招待

チャンネルからユーザーを削除

すべてのチャンネルのリストを取得

チャンネル情報を取得

すべてのチャネル メンバーのリストを取得

グループ:読み取り (ユーザー トークンとボット トークンの両方)

Retrieve the list of private channels of the connected workspace in order to send messages or manage users as a Bot or User.

Read the private channel information as a Bot or User for sending messages or managing users.

チャンネルにメッセージを送信

ユーザーにメッセージを送信

チャンネルにファイルを送信

返信を送信

チャンネルにユーザーを招待

チャンネルからユーザーを削除

すべてのチャンネルのリストを取得

チャンネル情報を取得

すべてのチャネル メンバーのリストを取得

im:read (ユーザー トークンとボット トークンの両方)

Retrieve the list of IM conversations of the connected workspace in order to send messages as a Bot or User.

Retrieve the list of IM conversations that the user is part of.

すべてのチャンネルのリストを取得

チャンネル情報を取得

mpim:読み取り (ユーザー トークンとボット トークンの両方)

Retrieve the list of MPIM groups of the connected workspace in order to send messages as a Bot or User.

Retrieve the list of MPIM conversations that the user is part of.

すべてのチャンネルのリストを取得

チャンネル情報を取得

ファイル:読み取り(ボットトークンのみ)Retrieve the file info such as public URL and downloading important files such as quarterly results, from a URL via Slack message as a Bot or User. ファイル情報を取得
ファイル:書き込み(ユーザートークンとボットトークンの両方)

Notify all the users of a user group regarding an important update. For instance, notifying as a Bot or User, the Quarterly Sales Results to the entire Sales / Marketing team group.

Upload a media file as a Slack message in a channel as a Bot or User.

チャンネルにファイルを送信
ユーザグループ:読み取り(ユーザトークンのみ)Retrieve the list of users in a user group so as to update or add users as a Bot or User. すべてのユーザーグループのリストを取得
ユーザグループ:書き込み(ユーザトークンのみ)

Create a user group for multiple channels as a Bot or User.

Add users to an existing user group as a Bot or User whenever a new user is added to a channel.

Dynamically enable or disable the user group for temp channel whenever the temp channel is archived/unarchived.

ユーザー グループを作成

ユーザー グループにユーザーを追加

ユーザー:読み取り (ユーザー トークンとボット トークンの両方)Retrieve the list of users of the connected workspace as a Bot or User in order to send messages.

すべてのユーザーのリストを取得

チャンネルにユーザーを招待

チャンネルからユーザーを削除

ユーザーにメッセージを送信

users:read.email (ユーザー トークンとボット トークンの両方)Read the user information such as name, email etc. as a Bot or User for sending notifications.メール アドレスからユーザーを取得
  • 前提条件
  • Slack のコネクションを追加する
  • 範囲と権限

このページは役に立ちましたか?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo White
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.