airbyte-agent-slack 0.1.13__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.13/.gitignore +29 -0
- airbyte_agent_slack-0.1.13/CHANGELOG.md +71 -0
- airbyte_agent_slack-0.1.13/PKG-INFO +147 -0
- airbyte_agent_slack-0.1.13/README.md +114 -0
- airbyte_agent_slack-0.1.13/REFERENCE.md +1149 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/__init__.py +131 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/__init__.py +1 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/__init__.py +82 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py +1173 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/auth_template.py +135 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py +213 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py +986 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/constants.py +78 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/exceptions.py +23 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py +31 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py +1773 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/executor/models.py +190 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/extensions.py +693 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py +37 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http/config.py +98 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http/exceptions.py +119 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http/protocols.py +114 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http/response.py +104 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/http_client.py +693 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/introspection.py +262 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/logging/__init__.py +11 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/logging/logger.py +273 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/logging/types.py +93 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/observability/__init__.py +11 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/observability/models.py +19 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/observability/redactor.py +81 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/observability/session.py +103 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/performance/__init__.py +6 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/performance/instrumentation.py +57 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/performance/metrics.py +93 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/schema/__init__.py +75 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/schema/base.py +169 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/schema/components.py +239 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/schema/connector.py +120 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/schema/extensions.py +230 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/schema/operations.py +146 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/schema/security.py +237 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/secrets.py +182 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py +10 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py +32 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py +59 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py +155 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/types.py +254 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/utils.py +60 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/_vendored/connector_sdk/validation.py +828 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/connector.py +954 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/connector_model.py +3195 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/models.py +517 -0
- airbyte_agent_slack-0.1.13/airbyte_agent_slack/types.py +98 -0
- airbyte_agent_slack-0.1.13/pyproject.toml +50 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.egg-info/
|
|
6
|
+
dist/
|
|
7
|
+
build/
|
|
8
|
+
.eggs/
|
|
9
|
+
|
|
10
|
+
# Testing
|
|
11
|
+
.pytest_cache/
|
|
12
|
+
.coverage
|
|
13
|
+
htmlcov/
|
|
14
|
+
|
|
15
|
+
# Virtual environments
|
|
16
|
+
.venv/
|
|
17
|
+
venv/
|
|
18
|
+
|
|
19
|
+
# IDE
|
|
20
|
+
.idea/
|
|
21
|
+
.vscode/
|
|
22
|
+
*.swp
|
|
23
|
+
|
|
24
|
+
# OS
|
|
25
|
+
.DS_Store
|
|
26
|
+
Thumbs.db
|
|
27
|
+
|
|
28
|
+
.env
|
|
29
|
+
configured_connectors.yaml
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Slack changelog
|
|
2
|
+
|
|
3
|
+
## [0.1.13] - 2026-01-22
|
|
4
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
5
|
+
- Source commit: c713ec48
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.1.12] - 2026-01-22
|
|
9
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
10
|
+
- Source commit: 0cd3e79e
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
13
|
+
## [0.1.11] - 2026-01-21
|
|
14
|
+
- Updated connector definition (YAML version 0.1.4)
|
|
15
|
+
- Source commit: d9dfd306
|
|
16
|
+
- SDK version: 0.1.0
|
|
17
|
+
|
|
18
|
+
## [0.1.10] - 2026-01-21
|
|
19
|
+
- Updated connector definition (YAML version 0.1.3)
|
|
20
|
+
- Source commit: c7dab975
|
|
21
|
+
- SDK version: 0.1.0
|
|
22
|
+
|
|
23
|
+
## [0.1.9] - 2026-01-21
|
|
24
|
+
- Updated connector definition (YAML version 0.1.3)
|
|
25
|
+
- Source commit: 3e52abfa
|
|
26
|
+
- SDK version: 0.1.0
|
|
27
|
+
|
|
28
|
+
## [0.1.8] - 2026-01-20
|
|
29
|
+
- Updated connector definition (YAML version 0.1.2)
|
|
30
|
+
- Source commit: 3d42e4e8
|
|
31
|
+
- SDK version: 0.1.0
|
|
32
|
+
|
|
33
|
+
## [0.1.7] - 2026-01-19
|
|
34
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
35
|
+
- Source commit: 529cebb7
|
|
36
|
+
- SDK version: 0.1.0
|
|
37
|
+
|
|
38
|
+
## [0.1.6] - 2026-01-16
|
|
39
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
40
|
+
- Source commit: a50c8f71
|
|
41
|
+
- SDK version: 0.1.0
|
|
42
|
+
|
|
43
|
+
## [0.1.5] - 2026-01-16
|
|
44
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
45
|
+
- Source commit: 49673b7b
|
|
46
|
+
- SDK version: 0.1.0
|
|
47
|
+
|
|
48
|
+
## [0.1.4] - 2026-01-16
|
|
49
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
50
|
+
- Source commit: ca5acdda
|
|
51
|
+
- SDK version: 0.1.0
|
|
52
|
+
|
|
53
|
+
## [0.1.3] - 2026-01-15
|
|
54
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
55
|
+
- Source commit: fa9a3b02
|
|
56
|
+
- SDK version: 0.1.0
|
|
57
|
+
|
|
58
|
+
## [0.1.2] - 2026-01-15
|
|
59
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
60
|
+
- Source commit: 61a2e822
|
|
61
|
+
- SDK version: 0.1.0
|
|
62
|
+
|
|
63
|
+
## [0.1.1] - 2026-01-15
|
|
64
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
65
|
+
- Source commit: 35211193
|
|
66
|
+
- SDK version: 0.1.0
|
|
67
|
+
|
|
68
|
+
## [0.1.0] - 2026-01-15
|
|
69
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
70
|
+
- Source commit: 8b64ece5
|
|
71
|
+
- SDK version: 0.1.0
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: airbyte-agent-slack
|
|
3
|
+
Version: 0.1.13
|
|
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
|
+
This connector supports multiple authentication methods:
|
|
91
|
+
|
|
92
|
+
### Token Authentication
|
|
93
|
+
|
|
94
|
+
```python
|
|
95
|
+
from airbyte_agent_slack import SlackConnector
|
|
96
|
+
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
|
|
97
|
+
|
|
98
|
+
connector = SlackConnector(
|
|
99
|
+
auth_config=SlackTokenAuthenticationAuthConfig(
|
|
100
|
+
access_token="..."
|
|
101
|
+
)
|
|
102
|
+
)
|
|
103
|
+
result = await connector.users.list()
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### OAuth 2.0 Authentication
|
|
107
|
+
|
|
108
|
+
```python
|
|
109
|
+
from airbyte_agent_slack import SlackConnector
|
|
110
|
+
from airbyte_agent_slack.models import SlackOauth20AuthenticationAuthConfig
|
|
111
|
+
|
|
112
|
+
connector = SlackConnector(
|
|
113
|
+
auth_config=SlackOauth20AuthenticationAuthConfig(
|
|
114
|
+
client_id="...",
|
|
115
|
+
client_secret="...",
|
|
116
|
+
access_token="..."
|
|
117
|
+
)
|
|
118
|
+
)
|
|
119
|
+
result = await connector.users.list()
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## Full documentation
|
|
124
|
+
|
|
125
|
+
This connector supports the following entities and actions.
|
|
126
|
+
|
|
127
|
+
| Entity | Actions |
|
|
128
|
+
|--------|---------|
|
|
129
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
130
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update) |
|
|
131
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
132
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
133
|
+
| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |
|
|
134
|
+
| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |
|
|
135
|
+
| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |
|
|
136
|
+
| Reactions | [Create](./REFERENCE.md#reactions-create) |
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
140
|
+
|
|
141
|
+
For the service's official API docs, see the [Slack API reference](https://api.slack.com/methods).
|
|
142
|
+
|
|
143
|
+
## Version information
|
|
144
|
+
|
|
145
|
+
- **Package version:** 0.1.13
|
|
146
|
+
- **Connector version:** 0.1.5
|
|
147
|
+
- **Generated with Connector SDK commit SHA:** c713ec4833c2b52dc89926ec68caa343423884cd
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
This connector supports multiple authentication methods:
|
|
58
|
+
|
|
59
|
+
### Token Authentication
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
from airbyte_agent_slack import SlackConnector
|
|
63
|
+
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
|
|
64
|
+
|
|
65
|
+
connector = SlackConnector(
|
|
66
|
+
auth_config=SlackTokenAuthenticationAuthConfig(
|
|
67
|
+
access_token="..."
|
|
68
|
+
)
|
|
69
|
+
)
|
|
70
|
+
result = await connector.users.list()
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### OAuth 2.0 Authentication
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
from airbyte_agent_slack import SlackConnector
|
|
77
|
+
from airbyte_agent_slack.models import SlackOauth20AuthenticationAuthConfig
|
|
78
|
+
|
|
79
|
+
connector = SlackConnector(
|
|
80
|
+
auth_config=SlackOauth20AuthenticationAuthConfig(
|
|
81
|
+
client_id="...",
|
|
82
|
+
client_secret="...",
|
|
83
|
+
access_token="..."
|
|
84
|
+
)
|
|
85
|
+
)
|
|
86
|
+
result = await connector.users.list()
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## Full documentation
|
|
91
|
+
|
|
92
|
+
This connector supports the following entities and actions.
|
|
93
|
+
|
|
94
|
+
| Entity | Actions |
|
|
95
|
+
|--------|---------|
|
|
96
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
97
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update) |
|
|
98
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
99
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
100
|
+
| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |
|
|
101
|
+
| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |
|
|
102
|
+
| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |
|
|
103
|
+
| Reactions | [Create](./REFERENCE.md#reactions-create) |
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
107
|
+
|
|
108
|
+
For the service's official API docs, see the [Slack API reference](https://api.slack.com/methods).
|
|
109
|
+
|
|
110
|
+
## Version information
|
|
111
|
+
|
|
112
|
+
- **Package version:** 0.1.13
|
|
113
|
+
- **Connector version:** 0.1.5
|
|
114
|
+
- **Generated with Connector SDK commit SHA:** c713ec4833c2b52dc89926ec68caa343423884cd
|