メイン コンテンツをスキップする 補完的コンテンツへスキップ

Slack 

Slack is a cloud-based team communication platform.

Slack integration replicates data from a single Slack workspace using the Slack Web API. To replicate data from multiple workspaces, create an additional Slack integration for each workspace.

See the Schema section for a list of objects available for replication.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

情報メモ使用するアカウントに、フェッチするテーブルへのアクセス権があることを確認してください。

Qlik Talend Cloud supports data replication from one Slack workspace per connection. To replicate data from multiple workspaces, set up a separate Slack connection for each workspace in Qlik Talend Cloud, using a unique OAuth token for every connection.

To retrieve your token:

  1. Navigate to the Slack App site.
  2. Click Create an App.
  3. Enter a name for the app and select the workspace you want to replicate data from.
  4. Click Create App.
  5. Once your app is created, select it and navigate to Features > OAuth & Permissions.
  6. Scroll to the Scopes section.
  7. In the Bot Token Scopes section, click Add an OAuth Scope.
  8. In the field that appears, search for the following scopes:
    • channels:history
    • channels:join
    • channels:read
    • files:read
    • groups:read
    • links:read
    • reactions:read
    • remote_files:read
    • remote_files:write
    • team:read
    • useergroups:read
    • users.profile:read
    • users:read
    • users:read.email

    After the required scopes are added to the app, you need to install it to your Slack workspace. If you do not have the required permissions to install apps, you may need Workspace Owner approval. See Slack's documentation for app installation requirements.

  9. Scroll up to the OAuth Tokens & Redirect URLs section of the OAuth & Permissions page.
  10. In this section, click Install App to Workspace.
  11. Complete the steps that follow to install the app or submit a request to your Workspace Owner for approval.

    Result: Once the app is installed in your workspace, a Tokens for Your Workspace section containing a Bot User OAuth Access Token field is displayed.

  12. Copy and paste your token into a secured file.

Creating the connection

詳細については、「SaaSアプリケーションへの接続」を参照してください。

  1. 必要な接続プロパティを入力します。
  2. 接続名に接続の名前を入力します。

  3. 接続メタデータを開くを選択して、作成時の接続のメタデータを定義します。

  4. [作成] をクリックします。

Connection settings
SettingDescription
Data gateway

ユース ケースに応じて Data Movement gateway を選択します。

情報メモ

Qlik Talend Cloud スターター サブスクリプションでは Data Movement gateway をサポートしていないため、この項目は使用できません。別のサブスクリプション ティアを利用しており、Data Movement gateway を使用しない場合は、 [None] (なし) を選択します。

Data Movement gateway の利点とそれを必要とするユース ケースの詳細については、「Qlik データ ゲートウェイ - データ移動」を参照してください。

Start DateEnter the date, in the format MM/DD/YYYY, from which the data must be replicated from your source to your target.
TokenToken.
Join Public ChannelsSelect the check box to replicate data for all public channels in the workspace you are connecting.
Include Private ChannelsSelect the check box to include data from private channels.
Exclude Archived ChannelsSelect the check box to exclude data from archived channels.

Schema

情報メモ

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

The schema and info displayed below is for version 1.

Depending on your destination, table and column names may not appear as they are outlined below.

channel_members

The channel_members table contain info about members of channels in your Slack workspace. Channels include conversations, channels, and direct messages in your Slack workspace.

Replication Method

Full Table

Primary Keys

channel_id

user_id

Useful links

Slack documentation

Slack API method

channels

The channels table contains info about the channels in your Slack workspace. This includes conversations, channels, and direct messages.

情報メモSome types of channels - for example, private or archived channels - will be replicated only if the appropriate settings are configured in the integration’s settings. Refer to the Slack setup steps for more info.

Replication Method

Full Table

Primary Key

id

Useful links

Slack documentation

Slack API method

files

The files table contains info about Slack team files.

Replication Method

CDC

Primary Key

id

Replication Key

updated

Useful links

Slack documentation

Slack API method

messages

The messages table contains the history of messages and events in conversations in your Slack workspace.

Replication Method

CDC

Primary Keys

channel_id

ts

Replication Key

ts

Useful links

Slack documentation

Slack API method

remote_files

The remote_files table contains info about remote files added to Slack.

Replication Method

CDC

Primary Key

id

Replication Key

updated

Useful links

Slack API method

teams

The teams table contains info about teams in your Slack workspace.

Replication Method

Full Table

Useful links

Slack API method

threads

The threads table contains info about conversation threads in your Slack team.

情報メモWhile this table uses Full Table, it’s not truly replicated in full during each replication job. Each time a message in a thread is updated, the entire thread and all the messages it contains will be replicated in full. This means that while only updated threads are replicated, they are replicated in full whenever they’re updated.

Replication Method

Full Table

Primary Keys

channel_id

thread_ts

Useful links

Slack documentation

Slack API method

user_groups

The user_groups table contains info about user groups from your Slack team.

Replication Method

Full Table

Primary Key

id

Useful links

Slack API method

users

The users table lists contains info about the users in your Slack team. This includes deactivated and deleted users.

Replication Method

CDC

Primary Key

id

Replication Key

updated

Useful links

Slack API method

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

このページまたはコンテンツにタイポ、ステップの省略、技術的エラーなどの問題が見つかった場合はお知らせください。