Slack events
See which Slack events can start a workflow and what each event contains.
Slack sends events for actions made by the installed bot. If your workflow posts a message, that event can start the workflow again.
Event catalog
Use your Slack integration connection slug instead of slack_acme.
- Events
- 4in 2 groups
- Learn more
- Slack event fields
Events API
3 eventsActivity from conversations that the installed app watches. Your workflow also receives the workspace ID, app ID, event ID, and event time.
Events
Payload
typestringRequiredSlack event type.
Possible values: app_mention, message, reaction_added
team_idstringRequiredAdded by ShipfoxSlack workspace ID.
api_app_idstringRequiredAdded by ShipfoxSlack app ID.
event_idstringRequiredAdded by ShipfoxUnique Slack event ID.
event_timeintegerRequiredAdded by ShipfoxEvent time in epoch seconds.
channelstringChannel where the event happened.
channel_typestringChannel type, such as channel.
userstringUser who triggered the event.
tsstringMessage timestamp, which identifies the message.
thread_tsstringParent message timestamp in a thread.
textstringMessage text.
bot_idstringBot that authored the message, when any.
reactionstringEmoji name of the reaction.
Slack may send other fields. Your workflow receives them too. See the Slack docs
Slash commands
1 eventSlash commands sent to the installed app. The event does not include the Slack verification token.
Events
Payload
commandstringRequiredThe invoked command, including the leading slash.
team_idstringRequiredSlack workspace ID.
channel_idstringRequiredChannel where the command was invoked.
user_idstringRequiredUser who invoked the command.
response_urlstring (uri)RequiredURL for posting a delayed response.
trigger_idstringRequiredShort-lived ID for opening a modal.
textstringRequiredText entered after the command.
Default "".
team_domainstringSlack workspace domain.
channel_namestringChannel name.
user_namestringUser name.
api_app_idstringSlack app ID.
is_enterprise_installstringWhether the app is installed at the enterprise level.
enterprise_idstringEnterprise Grid organization ID.
enterprise_namestringEnterprise Grid organization name.