Skip to content

Commit bcb0ace

Browse files
authored
UI: Slack source connector (#665)
1 parent 6bc8c38 commit bcb0ace

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed

docs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"ui/sources/s3",
5959
"ui/sources/salesforce",
6060
"ui/sources/sharepoint",
61+
"ui/sources/slack",
6162
"ui/sources/snowflake",
6263
"ui/sources/zendesk"
6364
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Fill in the following fields:
2+
3+
- **Name** (_required_): A unique name for this connector.
4+
- **Channels** (_required_): A comma-separated list of the target Slack channel IDs from which to read messages.
5+
- **Start Date**: The date and time, in ISO 8601 format (such as `YYYY-MM-DDTHH:MM:SSZ`), from which to begin reading messages. Messages created before this timestamp are ignored. By default, all messages are read unless an end date is specified.
6+
- **End Date**: The date and time, in ISO 8601 format (such as `YYYY-MM-DDTHH:MM:SSZ`), at which to stop reading messages. Messages created after this timestamp are ignored. By default, all messages are read unless a start date is specified.
7+
- **Bot Token** (_required_): The access token for the Slack app that has permission to read messages from the target Slack channels.

ui/connectors.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Unstructured supports connecting to the following source and destination types.
2929
- [S3](/ui/sources/s3)
3030
- [Salesforce](/ui/sources/salesforce)
3131
- [SharePoint](/ui/sources/sharepoint)
32+
- [Slack](/ui/sources/slack)
3233
- [Snowflake](/ui/sources/snowflake)
3334
- [Zendesk](/ui/sources/zendesk)
3435

ui/sources/overview.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ To create a source connector:
4040
- [S3](/ui/sources/s3)
4141
- [Salesforce](/ui/sources/salesforce)
4242
- [SharePoint](/ui/sources/sharepoint)
43+
- [Slack](/ui/sources/slack)
4344
- [Snowflake](/ui/sources/snowflake)
4445
- [Zendesk](/ui/sources/zendesk)
4546

ui/sources/slack.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Slack
3+
---
4+
5+
import FirstTimeUISourceConnector from '/snippets/general-shared-text/first-time-ui-source-connector.mdx';
6+
7+
<FirstTimeUISourceConnector />
8+
9+
Ingest your files into Unstructured from Slack.
10+
11+
The requirements are as follows.
12+
13+
import SlackPrerequisites from '/snippets/general-shared-text/slack.mdx';
14+
15+
<SlackPrerequisites />
16+
17+
To create the source connector:
18+
19+
1. On the sidebar, click **Connectors**.
20+
2. Click **Sources**.
21+
3. Click **New** or **Create Connector**.
22+
4. Give the connector some unique **Name**.
23+
5. In the **Provider** area, click **Slack**.
24+
6. Click **Continue**.
25+
7. Follow the on-screen instructions to fill in the fields as described later on this page.
26+
8. Click **Save and Test**.
27+
28+
import SlackFields from '/snippets/general-shared-text/slack-platform.mdx';
29+
30+
<SlackFields />

0 commit comments

Comments
 (0)