AptlyStar

Slack

Available Slack triggers for automating workflows

Slack provides 1 trigger for automating workflows based on events.

Triggers

Slack Webhook

Trigger workflow from Slack events like mentions, messages, and reactions

Configuration

ParameterTypeRequiredDescription
signingSecretstringYesThe signing secret from your Slack app to validate request authenticity.
botTokenstringNoThe bot token from your Slack app. Required for downloading files attached to messages.
includeFilesbooleanNoDownload and include file attachments from messages. Requires a bot token with files:read scope.
setupWizardmodalNoWalk through manifest creation, app install, and pasting credentials.

Output

ParameterTypeDescription
eventobjectSlack event data
↳ event_typestringType of Slack event (e.g., app_mention, message)
↳ subtypestringMessage subtype (e.g., channel_join, channel_leave, bot_message, file_share). Null for regular user messages
↳ channelstringSlack channel ID where the event occurred
↳ channel_namestringHuman-readable channel name
↳ channel_typestringType of channel (e.g., channel, group, im, mpim). Useful for distinguishing DMs from public channels
↳ userstringUser ID who triggered the event
↳ user_namestringUsername who triggered the event
↳ bot_idstringBot ID if the message was sent by a bot. Null for human users
↳ textstringMessage text content
↳ timestampstringMessage timestamp from the triggering event
↳ thread_tsstringParent thread timestamp (if message is in a thread)
↳ team_idstringSlack workspace/team ID
↳ event_idstringUnique event identifier
↳ reactionstringEmoji reaction name (e.g., thumbsup). Present for reaction_added/reaction_removed events
↳ item_userstringUser ID of the original message author. Present for reaction_added/reaction_removed events
↳ hasFilesbooleanWhether the message has file attachments
↳ filesfile[]File attachments downloaded from the message (if includeFiles is enabled and bot token is provided)

On this page