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.YesYes
list_conversationsList Slack conversations/channels with bounded cursor pagination.YesYes
conversation_historyRead bounded Slack conversation history.YesYes
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.YesYes
team_infoRead Slack team information.YesYes
users_infoRead a Slack user by ID.YesYes
users_lookup_by_emailRead a Slack user by email.YesYes
users_profile_getRead a Slack user profile.YesYes
users_get_presenceRead Slack user presence.YesYes
usergroups_listList Slack user groups.YesYes
usergroups_users_listList users in a Slack user group.YesYes
conversations_infoRead Slack conversation metadata.YesYes
conversations_membersList Slack conversation members.YesYes
conversations_repliesRead Slack thread replies.YesYes
reactions_getRead Slack reactions for an item.YesYes
pins_listList pinned items in a conversation.YesYes
bookmarks_listList Slack channel bookmarks.YesYes
files_listList Slack files.YesYes
files_infoRead Slack file metadata.YesYes
search_messagesSearch Slack messages.YesYes
search_filesSearch Slack files.YesYes
team_access_logsRead Slack team access logs.YesYes
team_billable_infoRead Slack billable info.YesYes
admin_teams_listList Enterprise Grid workspaces.YesYes
admin_users_listList Enterprise Grid users.YesYes
admin_conversations_searchSearch Enterprise Grid conversations.YesYes
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.