airbyte-agent-slack 0.1.7__tar.gz → 0.1.14__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.7 → airbyte_agent_slack-0.1.14}/CHANGELOG.md +35 -0
- airbyte_agent_slack-0.1.14/PKG-INFO +159 -0
- airbyte_agent_slack-0.1.14/README.md +126 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/REFERENCE.md +475 -41
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/__init__.py +47 -3
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py +57 -4
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py +29 -8
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py +50 -1
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/schema/base.py +7 -2
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/schema/security.py +14 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/types.py +9 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/connector.py +334 -1
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/connector_model.py +1909 -838
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/models.py +130 -8
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/types.py +41 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/pyproject.toml +1 -1
- 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 → airbyte_agent_slack-0.1.14}/.gitignore +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/http_client.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/introspection.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/schema/components.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/schema/extensions.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_slack-0.1.7 → airbyte_agent_slack-0.1.14}/airbyte_agent_slack/_vendored/connector_sdk/validation.py +0 -0
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Slack changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.14] - 2026-01-22
|
|
4
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
5
|
+
- Source commit: 1da193dd
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.1.13] - 2026-01-22
|
|
9
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
10
|
+
- Source commit: c713ec48
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
13
|
+
## [0.1.12] - 2026-01-22
|
|
14
|
+
- Updated connector definition (YAML version 0.1.5)
|
|
15
|
+
- Source commit: 0cd3e79e
|
|
16
|
+
- SDK version: 0.1.0
|
|
17
|
+
|
|
18
|
+
## [0.1.11] - 2026-01-21
|
|
19
|
+
- Updated connector definition (YAML version 0.1.4)
|
|
20
|
+
- Source commit: d9dfd306
|
|
21
|
+
- SDK version: 0.1.0
|
|
22
|
+
|
|
23
|
+
## [0.1.10] - 2026-01-21
|
|
24
|
+
- Updated connector definition (YAML version 0.1.3)
|
|
25
|
+
- Source commit: c7dab975
|
|
26
|
+
- SDK version: 0.1.0
|
|
27
|
+
|
|
28
|
+
## [0.1.9] - 2026-01-21
|
|
29
|
+
- Updated connector definition (YAML version 0.1.3)
|
|
30
|
+
- Source commit: 3e52abfa
|
|
31
|
+
- SDK version: 0.1.0
|
|
32
|
+
|
|
33
|
+
## [0.1.8] - 2026-01-20
|
|
34
|
+
- Updated connector definition (YAML version 0.1.2)
|
|
35
|
+
- Source commit: 3d42e4e8
|
|
36
|
+
- SDK version: 0.1.0
|
|
37
|
+
|
|
3
38
|
## [0.1.7] - 2026-01-19
|
|
4
39
|
- Updated connector definition (YAML version 0.1.1)
|
|
5
40
|
- Source commit: 529cebb7
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: airbyte-agent-slack
|
|
3
|
+
Version: 0.1.14
|
|
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
|
+
access_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.describe
|
|
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/hosted-execution).
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
from airbyte_agent_slack import SlackConnector
|
|
120
|
+
|
|
121
|
+
connector = SlackConnector(
|
|
122
|
+
external_user_id="<your-scoped-token>",
|
|
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.describe
|
|
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
|
+
This connector supports the following entities and actions.
|
|
136
|
+
|
|
137
|
+
| Entity | Actions |
|
|
138
|
+
|--------|---------|
|
|
139
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
140
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update) |
|
|
141
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
142
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
143
|
+
| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |
|
|
144
|
+
| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |
|
|
145
|
+
| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |
|
|
146
|
+
| Reactions | [Create](./REFERENCE.md#reactions-create) |
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
For all authentication options, see the connector's [authentication documentation](AUTH.md).
|
|
150
|
+
|
|
151
|
+
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
152
|
+
|
|
153
|
+
For the service's official API docs, see the [Slack API reference](https://api.slack.com/methods).
|
|
154
|
+
|
|
155
|
+
## Version information
|
|
156
|
+
|
|
157
|
+
- **Package version:** 0.1.14
|
|
158
|
+
- **Connector version:** 0.1.5
|
|
159
|
+
- **Generated with Connector SDK commit SHA:** 1da193dd2b3d4b2e2147ba74bd9a4062a62c4186
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
access_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.describe
|
|
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/hosted-execution).
|
|
84
|
+
|
|
85
|
+
```python
|
|
86
|
+
from airbyte_agent_slack import SlackConnector
|
|
87
|
+
|
|
88
|
+
connector = SlackConnector(
|
|
89
|
+
external_user_id="<your-scoped-token>",
|
|
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.describe
|
|
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
|
+
This connector supports the following entities and actions.
|
|
103
|
+
|
|
104
|
+
| Entity | Actions |
|
|
105
|
+
|--------|---------|
|
|
106
|
+
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
|
|
107
|
+
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update) |
|
|
108
|
+
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
|
|
109
|
+
| Threads | [List](./REFERENCE.md#threads-list) |
|
|
110
|
+
| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |
|
|
111
|
+
| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |
|
|
112
|
+
| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |
|
|
113
|
+
| Reactions | [Create](./REFERENCE.md#reactions-create) |
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
For all authentication options, see the connector's [authentication documentation](AUTH.md).
|
|
117
|
+
|
|
118
|
+
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
119
|
+
|
|
120
|
+
For the service's official API docs, see the [Slack API reference](https://api.slack.com/methods).
|
|
121
|
+
|
|
122
|
+
## Version information
|
|
123
|
+
|
|
124
|
+
- **Package version:** 0.1.14
|
|
125
|
+
- **Connector version:** 0.1.5
|
|
126
|
+
- **Generated with Connector SDK commit SHA:** 1da193dd2b3d4b2e2147ba74bd9a4062a62c4186
|