Slack integration
Slack is supported through the Mach5 connector framework. This page lists every supported operation and where it can be used.
Connection

- Connector kind:
slack - Configuration: At least one token secret reference:
bot_token_secret_ref,user_token_secret_ref, orenterprise_token_secret_ref; optionalapi_base_url,team_id, anddefault_page_limit.
How to use this integration
For Axon concepts, safety classes, idempotency, and outcomes, see Axon workflows.
Axon
Axon is the controlled action path for connector reads, enrichments, and side effects. Use Axon when a workflow needs to call Slack directly, enrich an investigation, or take an approved action. Invoke the connector kind slack with the operation name and JSON input.
connector: slack
operation: list_users
input: { ... }
Ingest Pipelines
Use ingest pipelines for operations exposed as sources. These operations can checkpoint and stream records into Mach5-managed data.
source.connector: slack
source.operation: conversation_history_source
source.config: { ... }
SQL
Use SQL for read operations exposed as table or scalar functions. Query the connector operation with JSON input and join the result with Mach5 data.
SELECT *
FROM connector_table('slack', 'list_users', JSON '{}');
Supported operations
| Operation | What it does | Axon | Ingest Pipelines | SQL |
|---|---|---|---|---|
validate | Run Slack auth.test and report token identity. | — | — | — |
list_users | List Slack users with bounded cursor pagination. | Yes | — | Yes |
list_conversations | List Slack conversations/channels with bounded cursor pagination. | Yes | — | Yes |
conversation_history | Read bounded Slack conversation history. | Yes | — | Yes |
conversation_history_source | Durable Slack conversation history cursor source. | — | Yes | — |
post_message | Post a Slack message. | Yes | — | — |
update_message | Update a Slack message. | Yes | — | — |
delete_message | Delete a Slack message. | Yes | — | — |
auth_test | Return Slack token identity. | Yes | — | Yes |
team_info | Read Slack team information. | Yes | — | Yes |
users_info | Read a Slack user by ID. | Yes | — | Yes |
users_lookup_by_email | Read a Slack user by email. | Yes | — | Yes |
users_profile_get | Read a Slack user profile. | Yes | — | Yes |
users_get_presence | Read Slack user presence. | Yes | — | Yes |
usergroups_list | List Slack user groups. | Yes | — | Yes |
usergroups_users_list | List users in a Slack user group. | Yes | — | Yes |
conversations_info | Read Slack conversation metadata. | Yes | — | Yes |
conversations_members | List Slack conversation members. | Yes | — | Yes |
conversations_replies | Read Slack thread replies. | Yes | — | Yes |
reactions_get | Read Slack reactions for an item. | Yes | — | Yes |
pins_list | List pinned items in a conversation. | Yes | — | Yes |
bookmarks_list | List Slack channel bookmarks. | Yes | — | Yes |
files_list | List Slack files. | Yes | — | Yes |
files_info | Read Slack file metadata. | Yes | — | Yes |
search_messages | Search Slack messages. | Yes | — | Yes |
search_files | Search Slack files. | Yes | — | Yes |
team_access_logs | Read Slack team access logs. | Yes | — | Yes |
team_billable_info | Read Slack billable info. | Yes | — | Yes |
admin_teams_list | List Enterprise Grid workspaces. | Yes | — | Yes |
admin_users_list | List Enterprise Grid users. | Yes | — | Yes |
admin_conversations_search | Search Enterprise Grid conversations. | Yes | — | Yes |
chat_post_ephemeral | Post a Slack ephemeral message. | Yes | — | — |
chat_schedule_message | Schedule a Slack message. | Yes | — | — |
chat_delete_scheduled_message | Delete a scheduled Slack message. | Yes | — | — |
reactions_add | Add a Slack reaction. | Yes | — | — |
reactions_remove | Remove a Slack reaction. | Yes | — | — |
pins_add | Pin an item in Slack. | Yes | — | — |
pins_remove | Remove a pinned Slack item. | Yes | — | — |
bookmarks_add | Add a Slack bookmark. | Yes | — | — |
bookmarks_edit | Edit a Slack bookmark. | Yes | — | — |
bookmarks_remove | Remove a Slack bookmark. | Yes | — | — |
files_delete | Delete a Slack file. | Yes | — | — |
conversations_create | Create a Slack conversation. | Yes | — | — |
conversations_archive | Archive a Slack conversation. | Yes | — | — |
conversations_unarchive | Unarchive a Slack conversation. | Yes | — | — |
conversations_invite | Invite users to a Slack conversation. | Yes | — | — |
conversations_kick | Remove a user from a Slack conversation. | Yes | — | — |
conversations_set_topic | Set a Slack conversation topic. | Yes | — | — |
conversations_set_purpose | Set a Slack conversation purpose. | Yes | — | — |
conversations_rename | Rename a Slack conversation. | Yes | — | — |
usergroups_enable | Enable a Slack user group. | Yes | — | — |
usergroups_disable | Disable a Slack user group. | Yes | — | — |
usergroups_update | Update a Slack user group. | Yes | — | — |
usergroups_users_update | Update Slack user group membership. | Yes | — | — |
admin_users_invite | Invite a user to an Enterprise Grid workspace. | Yes | — | — |
admin_users_remove | Remove a user from an Enterprise Grid workspace. | Yes | — | — |
admin_users_session_reset | Reset a Slack user session. | Yes | — | — |
admin_conversations_archive | Archive an Enterprise Grid conversation. | Yes | — | — |
admin_conversations_unarchive | Unarchive an Enterprise Grid conversation. | Yes | — | — |
admin_conversations_rename | Rename an Enterprise Grid conversation. | Yes | — | — |
admin_conversations_set_teams | Set teams for an Enterprise Grid conversation. | Yes | — | — |
views_open | Open a Slack modal view. | Yes | — | — |
views_publish | Publish a Slack App Home view. | Yes | — | — |
views_push | Push a Slack modal view. | Yes | — | — |
views_update | Update a Slack view. | Yes | — | — |
audit_logs | Read Slack Enterprise Audit Logs. | Yes | Yes | Yes |