airbyte-agent-slack 0.1.7__tar.gz → 0.1.35__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_agent_slack-0.1.35/AUTH.md +175 -0
- airbyte_agent_slack-0.1.35/CHANGELOG.md +181 -0
- airbyte_agent_slack-0.1.35/PKG-INFO +164 -0
- airbyte_agent_slack-0.1.35/README.md +131 -0
- airbyte_agent_slack-0.1.35/REFERENCE.md +1289 -0
- airbyte_agent_slack-0.1.35/airbyte_agent_slack/__init__.py +161 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py +55 -4
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py +171 -16
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py +5 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py +132 -2
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/executor/models.py +12 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http_client.py +1 -1
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/introspection.py +231 -12
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/schema/base.py +40 -3
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/schema/components.py +5 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/schema/extensions.py +71 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/schema/operations.py +10 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/schema/security.py +14 -1
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py +4 -4
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/types.py +26 -1
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/validation.py +20 -0
- airbyte_agent_slack-0.1.35/airbyte_agent_slack/connector.py +1227 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/connector_model.py +2009 -840
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/models.py +323 -22
- airbyte_agent_slack-0.1.35/airbyte_agent_slack/types.py +883 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/pyproject.toml +1 -1
- airbyte_agent_slack-0.1.7/CHANGELOG.md +0 -41
- airbyte_agent_slack-0.1.7/PKG-INFO +0 -128
- airbyte_agent_slack-0.1.7/README.md +0 -95
- airbyte_agent_slack-0.1.7/REFERENCE.md +0 -633
- airbyte_agent_slack-0.1.7/airbyte_agent_slack/__init__.py +0 -87
- airbyte_agent_slack-0.1.7/airbyte_agent_slack/connector.py +0 -621
- airbyte_agent_slack-0.1.7/airbyte_agent_slack/types.py +0 -57
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/.gitignore +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.35}/airbyte_agent_slack/_vendored/connector_sdk/utils.py +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# Slack authentication and configuration
|
|
2
|
+
|
|
3
|
+
This page documents the authentication and configuration options for the Slack agent connector.
|
|
4
|
+
|
|
5
|
+
## Authentication
|
|
6
|
+
|
|
7
|
+
### Open source execution
|
|
8
|
+
|
|
9
|
+
In open source mode, you provide API credentials directly to the connector.
|
|
10
|
+
|
|
11
|
+
#### OAuth
|
|
12
|
+
|
|
13
|
+
`credentials` fields you need:
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
| Field Name | Type | Required | Description |
|
|
17
|
+
|------------|------|----------|-------------|
|
|
18
|
+
| `client_id` | `str` | Yes | Your Slack App's Client ID |
|
|
19
|
+
| `client_secret` | `str` | Yes | Your Slack App's Client Secret |
|
|
20
|
+
| `access_token` | `str` | Yes | OAuth access token (bot token from oauth.v2.access response) |
|
|
21
|
+
|
|
22
|
+
Example request:
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
from airbyte_agent_slack import SlackConnector
|
|
26
|
+
from airbyte_agent_slack.models import SlackOauth20AuthenticationAuthConfig
|
|
27
|
+
|
|
28
|
+
connector = SlackConnector(
|
|
29
|
+
auth_config=SlackOauth20AuthenticationAuthConfig(
|
|
30
|
+
client_id="<Your Slack App's Client ID>",
|
|
31
|
+
client_secret="<Your Slack App's Client Secret>",
|
|
32
|
+
access_token="<OAuth access token (bot token from oauth.v2.access response)>"
|
|
33
|
+
)
|
|
34
|
+
)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
#### Token
|
|
38
|
+
|
|
39
|
+
`credentials` fields you need:
|
|
40
|
+
|
|
41
|
+
| Field Name | Type | Required | Description |
|
|
42
|
+
|------------|------|----------|-------------|
|
|
43
|
+
| `api_token` | `str` | Yes | Your Slack Bot Token (xoxb-) or User Token (xoxp-) |
|
|
44
|
+
|
|
45
|
+
Example request:
|
|
46
|
+
|
|
47
|
+
```python
|
|
48
|
+
from airbyte_agent_slack import SlackConnector
|
|
49
|
+
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
|
|
50
|
+
|
|
51
|
+
connector = SlackConnector(
|
|
52
|
+
auth_config=SlackTokenAuthenticationAuthConfig(
|
|
53
|
+
api_token="<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
|
|
54
|
+
)
|
|
55
|
+
)
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Hosted execution
|
|
59
|
+
|
|
60
|
+
In hosted mode, you first create a connector via the Airbyte API (providing your OAuth or Token credentials), then execute operations using either the Python SDK or API. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
61
|
+
|
|
62
|
+
#### OAuth
|
|
63
|
+
Create a connector with OAuth credentials.
|
|
64
|
+
|
|
65
|
+
`credentials` fields you need:
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
| Field Name | Type | Required | Description |
|
|
69
|
+
|------------|------|----------|-------------|
|
|
70
|
+
| `client_id` | `str` | Yes | Your Slack App's Client ID |
|
|
71
|
+
| `client_secret` | `str` | Yes | Your Slack App's Client Secret |
|
|
72
|
+
| `access_token` | `str` | Yes | OAuth access token (bot token from oauth.v2.access response) |
|
|
73
|
+
|
|
74
|
+
`replication_config` fields you need:
|
|
75
|
+
|
|
76
|
+
| Field Name | Type | Required | Description |
|
|
77
|
+
|------------|------|----------|-------------|
|
|
78
|
+
| `start_date` | `str (date-time)` | Yes | UTC date and time in the format YYYY-MM-DDTHH:mm:ssZ from which to start replicating data. |
|
|
79
|
+
| `lookback_window` | `int` | Yes | Number of days to look back when syncing data (0-365). |
|
|
80
|
+
| `join_channels` | `bool` | Yes | Whether to automatically join public channels to sync messages. |
|
|
81
|
+
|
|
82
|
+
Example request:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
curl -X POST "https://api.airbyte.ai/v1/integrations/connectors" \
|
|
86
|
+
-H "Authorization: Bearer <SCOPED_TOKEN>" \
|
|
87
|
+
-H "Content-Type: application/json" \
|
|
88
|
+
-d '{
|
|
89
|
+
"external_user_id": "<EXTERNAL_USER_ID>",
|
|
90
|
+
"connector_type": "Slack",
|
|
91
|
+
"name": "My Slack Connector",
|
|
92
|
+
"credentials": {
|
|
93
|
+
"client_id": "<Your Slack App's Client ID>",
|
|
94
|
+
"client_secret": "<Your Slack App's Client Secret>",
|
|
95
|
+
"access_token": "<OAuth access token (bot token from oauth.v2.access response)>"
|
|
96
|
+
},
|
|
97
|
+
"replication_config": {
|
|
98
|
+
"start_date": "<UTC date and time in the format YYYY-MM-DDTHH:mm:ssZ from which to start replicating data.>",
|
|
99
|
+
"lookback_window": "<Number of days to look back when syncing data (0-365).>",
|
|
100
|
+
"join_channels": "<Whether to automatically join public channels to sync messages.>"
|
|
101
|
+
}
|
|
102
|
+
}'
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
#### Token
|
|
106
|
+
Create a connector with Token credentials.
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
`credentials` fields you need:
|
|
110
|
+
|
|
111
|
+
| Field Name | Type | Required | Description |
|
|
112
|
+
|------------|------|----------|-------------|
|
|
113
|
+
| `api_token` | `str` | Yes | Your Slack Bot Token (xoxb-) or User Token (xoxp-) |
|
|
114
|
+
|
|
115
|
+
`replication_config` fields you need:
|
|
116
|
+
|
|
117
|
+
| Field Name | Type | Required | Description |
|
|
118
|
+
|------------|------|----------|-------------|
|
|
119
|
+
| `start_date` | `str (date-time)` | Yes | UTC date and time in the format YYYY-MM-DDTHH:mm:ssZ from which to start replicating data. |
|
|
120
|
+
| `lookback_window` | `int` | Yes | Number of days to look back when syncing data (0-365). |
|
|
121
|
+
| `join_channels` | `bool` | Yes | Whether to automatically join public channels to sync messages. |
|
|
122
|
+
|
|
123
|
+
Example request:
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
curl -X POST "https://api.airbyte.ai/v1/integrations/connectors" \
|
|
128
|
+
-H "Authorization: Bearer <SCOPED_TOKEN>" \
|
|
129
|
+
-H "Content-Type: application/json" \
|
|
130
|
+
-d '{
|
|
131
|
+
"external_user_id": "<EXTERNAL_USER_ID>",
|
|
132
|
+
"connector_type": "Slack",
|
|
133
|
+
"name": "My Slack Connector",
|
|
134
|
+
"credentials": {
|
|
135
|
+
"api_token": "<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
|
|
136
|
+
},
|
|
137
|
+
"replication_config": {
|
|
138
|
+
"start_date": "<UTC date and time in the format YYYY-MM-DDTHH:mm:ssZ from which to start replicating data.>",
|
|
139
|
+
"lookback_window": "<Number of days to look back when syncing data (0-365).>",
|
|
140
|
+
"join_channels": "<Whether to automatically join public channels to sync messages.>"
|
|
141
|
+
}
|
|
142
|
+
}'
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
#### Execution
|
|
146
|
+
|
|
147
|
+
After creating the connector, execute operations using either the Python SDK or API.
|
|
148
|
+
|
|
149
|
+
**Python SDK**
|
|
150
|
+
|
|
151
|
+
```python
|
|
152
|
+
from airbyte_agent_slack import SlackConnector
|
|
153
|
+
|
|
154
|
+
connector = SlackConnector(
|
|
155
|
+
external_user_id="<your_external_user_id>",
|
|
156
|
+
airbyte_client_id="<your-client-id>",
|
|
157
|
+
airbyte_client_secret="<your-client-secret>"
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
161
|
+
@SlackConnector.tool_utils
|
|
162
|
+
async def slack_execute(entity: str, action: str, params: dict | None = None):
|
|
163
|
+
return await connector.execute(entity, action, params or {})
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
**API**
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
curl -X POST 'https://api.airbyte.ai/api/v1/connectors/sources/<connector_id>/execute' \
|
|
170
|
+
-H 'Authorization: Bearer <SCOPED_TOKEN>' \
|
|
171
|
+
-H 'Content-Type: application/json' \
|
|
172
|
+
-d '{"entity": "<entity>", "action": "<action>", "params": {}}'
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Slack changelog
|
|
2
|
+
|
|
3
|
+
## [0.1.35] - 2026-01-30
|
|
4
|
+
- Updated connector definition (YAML version 0.1.10)
|
|
5
|
+
- Source commit: a3729d85
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.1.34] - 2026-01-29
|
|
9
|
+
- Updated connector definition (YAML version 0.1.10)
|
|
10
|
+
- Source commit: 43200eed
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
13
|
+
## [0.1.33] - 2026-01-29
|
|
14
|
+
- Updated connector definition (YAML version 0.1.10)
|
|
15
|
+
- Source commit: c718c683
|
|
16
|
+
- SDK version: 0.1.0
|
|
17
|
+
|
|
18
|
+
## [0.1.32] - 2026-01-28
|
|
19
|
+
- Updated connector definition (YAML version 0.1.10)
|
|
20
|
+
- Source commit: 97007bbd
|
|
21
|
+
- SDK version: 0.1.0
|
|
22
|
+
|
|
23
|
+
## [0.1.31] - 2026-01-28
|
|
24
|
+
- Updated connector definition (YAML version 0.1.10)
|
|
25
|
+
- Source commit: f6c6fca2
|
|
26
|
+
- SDK version: 0.1.0
|
|
27
|
+
|
|
28
|
+
## [0.1.30] - 2026-01-28
|
|
29
|
+
- Updated connector definition (YAML version 0.1.10)
|
|
30
|
+
- Source commit: 9aef9bd2
|
|
31
|
+
- SDK version: 0.1.0
|
|
32
|
+
|
|
33
|
+
## [0.1.29] - 2026-01-28
|
|
34
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
35
|
+
- Source commit: 71f48c10
|
|
36
|
+
- SDK version: 0.1.0
|
|
37
|
+
|
|
38
|
+
## [0.1.28] - 2026-01-27
|
|
39
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
40
|
+
- Source commit: 0f5e1914
|
|
41
|
+
- SDK version: 0.1.0
|
|
42
|
+
|
|
43
|
+
## [0.1.27] - 2026-01-27
|
|
44
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
45
|
+
- Source commit: a01f6b16
|
|
46
|
+
- SDK version: 0.1.0
|
|
47
|
+
|
|
48
|
+
## [0.1.26] - 2026-01-27
|
|
49
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
50
|
+
- Source commit: c9b05509
|
|
51
|
+
- SDK version: 0.1.0
|
|
52
|
+
|
|
53
|
+
## [0.1.25] - 2026-01-27
|
|
54
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
55
|
+
- Source commit: 4bded58d
|
|
56
|
+
- SDK version: 0.1.0
|
|
57
|
+
|
|
58
|
+
## [0.1.24] - 2026-01-26
|
|
59
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
60
|
+
- Source commit: 74809153
|
|
61
|
+
- SDK version: 0.1.0
|
|
62
|
+
|
|
63
|
+
## [0.1.23] - 2026-01-26
|
|
64
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
65
|
+
- Source commit: b73c71e0
|
|
66
|
+
- SDK version: 0.1.0
|
|
67
|
+
|
|
68
|
+
## [0.1.22] - 2026-01-24
|
|
69
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
70
|
+
- Source commit: 609c1d86
|
|
71
|
+
- SDK version: 0.1.0
|
|
72
|
+
|
|
73
|
+
## [0.1.21] - 2026-01-23
|
|
74
|
+
- Updated connector definition (YAML version 0.1.8)
|
|
75
|
+
- Source commit: 32c5ef46
|
|
76
|
+
- SDK version: 0.1.0
|
|
77
|
+
|
|
78
|
+
## [0.1.20] - 2026-01-23
|
|
79
|
+
- Updated connector definition (YAML version 0.1.7)
|
|
80
|
+
- Source commit: 049f6ad5
|
|
81
|
+
- SDK version: 0.1.0
|
|
82
|
+
|
|
83
|
+
## [0.1.19] - 2026-01-23
|
|
84
|
+
- Updated connector definition (YAML version 0.1.6)
|
|
85
|
+
- Source commit: a035ad48
|
|
86
|
+
- SDK version: 0.1.0
|
|
87
|
+
|
|
88
|
+
## [0.1.18] - 2026-01-23
|
|
89
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
90
|
+
- Source commit: 416466da
|
|
91
|
+
- SDK version: 0.1.0
|
|
92
|
+
|
|
93
|
+
## [0.1.17] - 2026-01-23
|
|
94
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
95
|
+
- Source commit: f17cdd8c
|
|
96
|
+
- SDK version: 0.1.0
|
|
97
|
+
|
|
98
|
+
## [0.1.16] - 2026-01-22
|
|
99
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
100
|
+
- Source commit: 49e6dfe9
|
|
101
|
+
- SDK version: 0.1.0
|
|
102
|
+
|
|
103
|
+
## [0.1.15] - 2026-01-22
|
|
104
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
105
|
+
- Source commit: b27328e2
|
|
106
|
+
- SDK version: 0.1.0
|
|
107
|
+
|
|
108
|
+
## [0.1.14] - 2026-01-22
|
|
109
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
110
|
+
- Source commit: 1da193dd
|
|
111
|
+
- SDK version: 0.1.0
|
|
112
|
+
|
|
113
|
+
## [0.1.13] - 2026-01-22
|
|
114
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
115
|
+
- Source commit: c713ec48
|
|
116
|
+
- SDK version: 0.1.0
|
|
117
|
+
|
|
118
|
+
## [0.1.12] - 2026-01-22
|
|
119
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
120
|
+
- Source commit: 0cd3e79e
|
|
121
|
+
- SDK version: 0.1.0
|
|
122
|
+
|
|
123
|
+
## [0.1.11] - 2026-01-21
|
|
124
|
+
- Updated connector definition (YAML version 0.1.4)
|
|
125
|
+
- Source commit: d9dfd306
|
|
126
|
+
- SDK version: 0.1.0
|
|
127
|
+
|
|
128
|
+
## [0.1.10] - 2026-01-21
|
|
129
|
+
- Updated connector definition (YAML version 0.1.3)
|
|
130
|
+
- Source commit: c7dab975
|
|
131
|
+
- SDK version: 0.1.0
|
|
132
|
+
|
|
133
|
+
## [0.1.9] - 2026-01-21
|
|
134
|
+
- Updated connector definition (YAML version 0.1.3)
|
|
135
|
+
- Source commit: 3e52abfa
|
|
136
|
+
- SDK version: 0.1.0
|
|
137
|
+
|
|
138
|
+
## [0.1.8] - 2026-01-20
|
|
139
|
+
- Updated connector definition (YAML version 0.1.2)
|
|
140
|
+
- Source commit: 3d42e4e8
|
|
141
|
+
- SDK version: 0.1.0
|
|
142
|
+
|
|
143
|
+
## [0.1.7] - 2026-01-19
|
|
144
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
145
|
+
- Source commit: 529cebb7
|
|
146
|
+
- SDK version: 0.1.0
|
|
147
|
+
|
|
148
|
+
## [0.1.6] - 2026-01-16
|
|
149
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
150
|
+
- Source commit: a50c8f71
|
|
151
|
+
- SDK version: 0.1.0
|
|
152
|
+
|
|
153
|
+
## [0.1.5] - 2026-01-16
|
|
154
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
155
|
+
- Source commit: 49673b7b
|
|
156
|
+
- SDK version: 0.1.0
|
|
157
|
+
|
|
158
|
+
## [0.1.4] - 2026-01-16
|
|
159
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
160
|
+
- Source commit: ca5acdda
|
|
161
|
+
- SDK version: 0.1.0
|
|
162
|
+
|
|
163
|
+
## [0.1.3] - 2026-01-15
|
|
164
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
165
|
+
- Source commit: fa9a3b02
|
|
166
|
+
- SDK version: 0.1.0
|
|
167
|
+
|
|
168
|
+
## [0.1.2] - 2026-01-15
|
|
169
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
170
|
+
- Source commit: 61a2e822
|
|
171
|
+
- SDK version: 0.1.0
|
|
172
|
+
|
|
173
|
+
## [0.1.1] - 2026-01-15
|
|
174
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
175
|
+
- Source commit: 35211193
|
|
176
|
+
- SDK version: 0.1.0
|
|
177
|
+
|
|
178
|
+
## [0.1.0] - 2026-01-15
|
|
179
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
180
|
+
- Source commit: 8b64ece5
|
|
181
|
+
- SDK version: 0.1.0
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: airbyte-agent-slack
|
|
3
|
+
Version: 0.1.35
|
|
4
|
+
Summary: Airbyte Slack Connector for AI platforms
|
|
5
|
+
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
|
+
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
7
|
+
Project-URL: Repository, https://github.com/airbytehq/airbyte-agent-connectors
|
|
8
|
+
Project-URL: Issues, https://github.com/airbytehq/airbyte-agent-connectors/issues
|
|
9
|
+
Author-email: Airbyte <contact@airbyte.io>
|
|
10
|
+
License: Elastic-2.0
|
|
11
|
+
Keywords: agent,ai,airbyte,api,connector,data-integration,llm,mcp,slack
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: Other/Proprietary License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.13
|
|
22
|
+
Requires-Dist: httpx>=0.24.0
|
|
23
|
+
Requires-Dist: jinja2>=3.0.0
|
|
24
|
+
Requires-Dist: jsonpath-ng>=1.6.1
|
|
25
|
+
Requires-Dist: jsonref>=1.1.0
|
|
26
|
+
Requires-Dist: opentelemetry-api>=1.37.0
|
|
27
|
+
Requires-Dist: opentelemetry-sdk>=1.37.0
|
|
28
|
+
Requires-Dist: pydantic>=2.0.0
|
|
29
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: segment-analytics-python>=2.2.0
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# Slack agent connector
|
|
35
|
+
|
|
36
|
+
Slack is a business communication platform that offers messaging, file sharing, and integrations
|
|
37
|
+
with other tools. This connector provides read access to users, channels, channel members, channel
|
|
38
|
+
messages, and threads for workspace analytics. It also supports write operations including sending
|
|
39
|
+
and updating messages, creating and renaming channels, setting channel topics and purposes, and
|
|
40
|
+
adding reactions to messages.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## Example questions
|
|
44
|
+
|
|
45
|
+
The Slack connector is optimized to handle prompts like these.
|
|
46
|
+
|
|
47
|
+
- List all users in my Slack workspace
|
|
48
|
+
- Show me all public channels
|
|
49
|
+
- Who are the members of channel \{channel_id\}?
|
|
50
|
+
- Get messages from channel \{channel_id\}
|
|
51
|
+
- Show me the thread replies for message \{ts\} in channel \{channel_id\}
|
|
52
|
+
- List all channels I have access to
|
|
53
|
+
- Get user details for user \{user_id\}
|
|
54
|
+
- What messages were posted in channel \{channel_id\} last week?
|
|
55
|
+
- Show me the conversation history for channel \{channel_id\}
|
|
56
|
+
- List channel members for the general channel
|
|
57
|
+
- Send a message to channel \{channel_id\} saying 'Hello team!'
|
|
58
|
+
- Post a message in the general channel
|
|
59
|
+
- Update the message with timestamp \{ts\} in channel \{channel_id\}
|
|
60
|
+
- Create a new public channel called 'project-updates'
|
|
61
|
+
- Create a private channel named 'team-internal'
|
|
62
|
+
- Rename channel \{channel_id\} to 'new-channel-name'
|
|
63
|
+
- Set the topic for channel \{channel_id\} to 'Daily standup notes'
|
|
64
|
+
- Update the purpose of channel \{channel_id\}
|
|
65
|
+
- Add a thumbsup reaction to message \{ts\} in channel \{channel_id\}
|
|
66
|
+
- React with :rocket: to the latest message in channel \{channel_id\}
|
|
67
|
+
- Reply to thread \{ts\} in channel \{channel_id\} with 'Thanks for the update!'
|
|
68
|
+
|
|
69
|
+
## Unsupported questions
|
|
70
|
+
|
|
71
|
+
The Slack connector isn't currently able to handle prompts like these.
|
|
72
|
+
|
|
73
|
+
- Delete a message from channel \{channel_id\}
|
|
74
|
+
- Remove a reaction from a message
|
|
75
|
+
- Archive channel \{channel_id\}
|
|
76
|
+
- Invite user \{user_id\} to channel \{channel_id\}
|
|
77
|
+
- Remove user \{user_id\} from channel \{channel_id\}
|
|
78
|
+
- Delete channel \{channel_id\}
|
|
79
|
+
- Create a new user in the workspace
|
|
80
|
+
- Update user profile information
|
|
81
|
+
|
|
82
|
+
## Installation
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
uv pip install airbyte-agent-slack
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Usage
|
|
89
|
+
|
|
90
|
+
Connectors can run in open source or hosted mode.
|
|
91
|
+
|
|
92
|
+
### Open source
|
|
93
|
+
|
|
94
|
+
In open source mode, you provide API credentials directly to the connector.
|
|
95
|
+
|
|
96
|
+
```python
|
|
97
|
+
from airbyte_agent_slack import SlackConnector
|
|
98
|
+
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
|
|
99
|
+
|
|
100
|
+
connector = SlackConnector(
|
|
101
|
+
auth_config=SlackTokenAuthenticationAuthConfig(
|
|
102
|
+
api_token="<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
|
|
103
|
+
)
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
107
|
+
@SlackConnector.tool_utils
|
|
108
|
+
async def slack_execute(entity: str, action: str, params: dict | None = None):
|
|
109
|
+
return await connector.execute(entity, action, params or {})
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Hosted
|
|
113
|
+
|
|
114
|
+
In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
|
|
115
|
+
|
|
116
|
+
This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
from airbyte_agent_slack import SlackConnector
|
|
120
|
+
|
|
121
|
+
connector = SlackConnector(
|
|
122
|
+
external_user_id="<your_external_user_id>",
|
|
123
|
+
airbyte_client_id="<your-client-id>",
|
|
124
|
+
airbyte_client_secret="<your-client-secret>"
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
128
|
+
@SlackConnector.tool_utils
|
|
129
|
+
async def slack_execute(entity: str, action: str, params: dict | None = None):
|
|
130
|
+
return await connector.execute(entity, action, params or {})
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Full documentation
|
|
134
|
+
|
|
135
|
+
### Entities and actions
|
|
136
|
+
|
|
137
|
+
This connector supports the following entities and actions. For more details, see this connector's [full reference documentation](REFERENCE.md).
|
|
138
|
+
|
|
139
|
+
| Entity | Actions |
|
|
140
|
+
|--------|---------|
|
|
141
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
142
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update) |
|
|
143
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
144
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
145
|
+
| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |
|
|
146
|
+
| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |
|
|
147
|
+
| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |
|
|
148
|
+
| Reactions | [Create](./REFERENCE.md#reactions-create) |
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### Authentication and configuration
|
|
152
|
+
|
|
153
|
+
For all authentication and configuration options, see the connector's [authentication documentation](AUTH.md).
|
|
154
|
+
|
|
155
|
+
### Slack API docs
|
|
156
|
+
|
|
157
|
+
See the official [Slack API reference](https://api.slack.com/methods).
|
|
158
|
+
|
|
159
|
+
## Version information
|
|
160
|
+
|
|
161
|
+
- **Package version:** 0.1.35
|
|
162
|
+
- **Connector version:** 0.1.10
|
|
163
|
+
- **Generated with Connector SDK commit SHA:** e4eb233f8dd57ad9bc825064625222a988db2cc6
|
|
164
|
+
- **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/slack/CHANGELOG.md)
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Slack agent connector
|
|
2
|
+
|
|
3
|
+
Slack is a business communication platform that offers messaging, file sharing, and integrations
|
|
4
|
+
with other tools. This connector provides read access to users, channels, channel members, channel
|
|
5
|
+
messages, and threads for workspace analytics. It also supports write operations including sending
|
|
6
|
+
and updating messages, creating and renaming channels, setting channel topics and purposes, and
|
|
7
|
+
adding reactions to messages.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Example questions
|
|
11
|
+
|
|
12
|
+
The Slack connector is optimized to handle prompts like these.
|
|
13
|
+
|
|
14
|
+
- List all users in my Slack workspace
|
|
15
|
+
- Show me all public channels
|
|
16
|
+
- Who are the members of channel \{channel_id\}?
|
|
17
|
+
- Get messages from channel \{channel_id\}
|
|
18
|
+
- Show me the thread replies for message \{ts\} in channel \{channel_id\}
|
|
19
|
+
- List all channels I have access to
|
|
20
|
+
- Get user details for user \{user_id\}
|
|
21
|
+
- What messages were posted in channel \{channel_id\} last week?
|
|
22
|
+
- Show me the conversation history for channel \{channel_id\}
|
|
23
|
+
- List channel members for the general channel
|
|
24
|
+
- Send a message to channel \{channel_id\} saying 'Hello team!'
|
|
25
|
+
- Post a message in the general channel
|
|
26
|
+
- Update the message with timestamp \{ts\} in channel \{channel_id\}
|
|
27
|
+
- Create a new public channel called 'project-updates'
|
|
28
|
+
- Create a private channel named 'team-internal'
|
|
29
|
+
- Rename channel \{channel_id\} to 'new-channel-name'
|
|
30
|
+
- Set the topic for channel \{channel_id\} to 'Daily standup notes'
|
|
31
|
+
- Update the purpose of channel \{channel_id\}
|
|
32
|
+
- Add a thumbsup reaction to message \{ts\} in channel \{channel_id\}
|
|
33
|
+
- React with :rocket: to the latest message in channel \{channel_id\}
|
|
34
|
+
- Reply to thread \{ts\} in channel \{channel_id\} with 'Thanks for the update!'
|
|
35
|
+
|
|
36
|
+
## Unsupported questions
|
|
37
|
+
|
|
38
|
+
The Slack connector isn't currently able to handle prompts like these.
|
|
39
|
+
|
|
40
|
+
- Delete a message from channel \{channel_id\}
|
|
41
|
+
- Remove a reaction from a message
|
|
42
|
+
- Archive channel \{channel_id\}
|
|
43
|
+
- Invite user \{user_id\} to channel \{channel_id\}
|
|
44
|
+
- Remove user \{user_id\} from channel \{channel_id\}
|
|
45
|
+
- Delete channel \{channel_id\}
|
|
46
|
+
- Create a new user in the workspace
|
|
47
|
+
- Update user profile information
|
|
48
|
+
|
|
49
|
+
## Installation
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
uv pip install airbyte-agent-slack
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Usage
|
|
56
|
+
|
|
57
|
+
Connectors can run in open source or hosted mode.
|
|
58
|
+
|
|
59
|
+
### Open source
|
|
60
|
+
|
|
61
|
+
In open source mode, you provide API credentials directly to the connector.
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
from airbyte_agent_slack import SlackConnector
|
|
65
|
+
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
|
|
66
|
+
|
|
67
|
+
connector = SlackConnector(
|
|
68
|
+
auth_config=SlackTokenAuthenticationAuthConfig(
|
|
69
|
+
api_token="<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
|
|
70
|
+
)
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
74
|
+
@SlackConnector.tool_utils
|
|
75
|
+
async def slack_execute(entity: str, action: str, params: dict | None = None):
|
|
76
|
+
return await connector.execute(entity, action, params or {})
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Hosted
|
|
80
|
+
|
|
81
|
+
In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
|
|
82
|
+
|
|
83
|
+
This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
from airbyte_agent_slack import SlackConnector
|
|
87
|
+
|
|
88
|
+
connector = SlackConnector(
|
|
89
|
+
external_user_id="<your_external_user_id>",
|
|
90
|
+
airbyte_client_id="<your-client-id>",
|
|
91
|
+
airbyte_client_secret="<your-client-secret>"
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
95
|
+
@SlackConnector.tool_utils
|
|
96
|
+
async def slack_execute(entity: str, action: str, params: dict | None = None):
|
|
97
|
+
return await connector.execute(entity, action, params or {})
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Full documentation
|
|
101
|
+
|
|
102
|
+
### Entities and actions
|
|
103
|
+
|
|
104
|
+
This connector supports the following entities and actions. For more details, see this connector's [full reference documentation](REFERENCE.md).
|
|
105
|
+
|
|
106
|
+
| Entity | Actions |
|
|
107
|
+
|--------|---------|
|
|
108
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
109
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update) |
|
|
110
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
111
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
112
|
+
| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |
|
|
113
|
+
| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |
|
|
114
|
+
| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |
|
|
115
|
+
| Reactions | [Create](./REFERENCE.md#reactions-create) |
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Authentication and configuration
|
|
119
|
+
|
|
120
|
+
For all authentication and configuration options, see the connector's [authentication documentation](AUTH.md).
|
|
121
|
+
|
|
122
|
+
### Slack API docs
|
|
123
|
+
|
|
124
|
+
See the official [Slack API reference](https://api.slack.com/methods).
|
|
125
|
+
|
|
126
|
+
## Version information
|
|
127
|
+
|
|
128
|
+
- **Package version:** 0.1.35
|
|
129
|
+
- **Connector version:** 0.1.10
|
|
130
|
+
- **Generated with Connector SDK commit SHA:** e4eb233f8dd57ad9bc825064625222a988db2cc6
|
|
131
|
+
- **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/slack/CHANGELOG.md)
|