Slack integration

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

Connection

Integration connection picker

  • Connector kind: slack
  • Configuration: At least one token secret reference: bot_token_secret_ref, user_token_secret_ref, or enterprise_token_secret_ref; optional api_base_url, team_id, and default_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

OperationWhat it doesAxonIngest PipelinesSQL
validateRun Slack auth.test and report token identity.———
list_usersList Slack users with bounded cursor pagination.Yes—Yes
list_conversationsList Slack conversations/channels with bounded cursor pagination.Yes—Yes
conversation_historyRead bounded Slack conversation history.Yes—Yes
conversation_history_sourceDurable Slack conversation history cursor source.—Yes—
post_messagePost a Slack message.Yes——
update_messageUpdate a Slack message.Yes——
delete_messageDelete a Slack message.Yes——
auth_testReturn Slack token identity.Yes—Yes
team_infoRead Slack team information.Yes—Yes
users_infoRead a Slack user by ID.Yes—Yes
users_lookup_by_emailRead a Slack user by email.Yes—Yes
users_profile_getRead a Slack user profile.Yes—Yes
users_get_presenceRead Slack user presence.Yes—Yes
usergroups_listList Slack user groups.Yes—Yes
usergroups_users_listList users in a Slack user group.Yes—Yes
conversations_infoRead Slack conversation metadata.Yes—Yes
conversations_membersList Slack conversation members.Yes—Yes
conversations_repliesRead Slack thread replies.Yes—Yes
reactions_getRead Slack reactions for an item.Yes—Yes
pins_listList pinned items in a conversation.Yes—Yes
bookmarks_listList Slack channel bookmarks.Yes—Yes
files_listList Slack files.Yes—Yes
files_infoRead Slack file metadata.Yes—Yes
search_messagesSearch Slack messages.Yes—Yes
search_filesSearch Slack files.Yes—Yes
team_access_logsRead Slack team access logs.Yes—Yes
team_billable_infoRead Slack billable info.Yes—Yes
admin_teams_listList Enterprise Grid workspaces.Yes—Yes
admin_users_listList Enterprise Grid users.Yes—Yes
admin_conversations_searchSearch Enterprise Grid conversations.Yes—Yes
chat_post_ephemeralPost a Slack ephemeral message.Yes——
chat_schedule_messageSchedule a Slack message.Yes——
chat_delete_scheduled_messageDelete a scheduled Slack message.Yes——
reactions_addAdd a Slack reaction.Yes——
reactions_removeRemove a Slack reaction.Yes——
pins_addPin an item in Slack.Yes——
pins_removeRemove a pinned Slack item.Yes——
bookmarks_addAdd a Slack bookmark.Yes——
bookmarks_editEdit a Slack bookmark.Yes——
bookmarks_removeRemove a Slack bookmark.Yes——
files_deleteDelete a Slack file.Yes——
conversations_createCreate a Slack conversation.Yes——
conversations_archiveArchive a Slack conversation.Yes——
conversations_unarchiveUnarchive a Slack conversation.Yes——
conversations_inviteInvite users to a Slack conversation.Yes——
conversations_kickRemove a user from a Slack conversation.Yes——
conversations_set_topicSet a Slack conversation topic.Yes——
conversations_set_purposeSet a Slack conversation purpose.Yes——
conversations_renameRename a Slack conversation.Yes——
usergroups_enableEnable a Slack user group.Yes——
usergroups_disableDisable a Slack user group.Yes——
usergroups_updateUpdate a Slack user group.Yes——
usergroups_users_updateUpdate Slack user group membership.Yes——
admin_users_inviteInvite a user to an Enterprise Grid workspace.Yes——
admin_users_removeRemove a user from an Enterprise Grid workspace.Yes——
admin_users_session_resetReset a Slack user session.Yes——
admin_conversations_archiveArchive an Enterprise Grid conversation.Yes——
admin_conversations_unarchiveUnarchive an Enterprise Grid conversation.Yes——
admin_conversations_renameRename an Enterprise Grid conversation.Yes——
admin_conversations_set_teamsSet teams for an Enterprise Grid conversation.Yes——
views_openOpen a Slack modal view.Yes——
views_publishPublish a Slack App Home view.Yes——
views_pushPush a Slack modal view.Yes——
views_updateUpdate a Slack view.Yes——
audit_logsRead Slack Enterprise Audit Logs.YesYesYes

Analytics Cookies

Help us understand website usage.

Necessary storage remembers your choice. With your consent, Mach5 also uses PostHog analytics to measure website traffic and interactions.

Change this anytime from Cookie Settings in the footer. Privacy Notice.