Skip to main content
slack.onAppMention emits messages that directly mention the installed bot.

Example

automations/answer-slack-mention.automation.ts

Options

Trigger data

Returns message fields including text, timestamp, and type: "app_mention". Author, thread, Block Kit, attachment, file, reaction, reply, app, bot, and subtype fields appear when Slack supplies them. Conversation, event timestamp, and workspace metadata are conversationId, optional conversationType, eventTimestamp, and workspaceId. event contains the original Slack event. A runtime signal can’t choose the account. Slack only delivers mentions visible to the installed app.