eBPF Continuous Profiling released

Last updated:

Slack Triggers

Start automations from Slack messages and reactions.

Slack triggers start an automation from activity in Slack channels where the Dash0 bot is a member.

Slack Message Trigger

Fires when someone posts a message containing specific text in a Slack channel where the Dash0 bot is a member.

Tip

For detailed Slack integration setup, trigger configuration, and usage examples, see Set Up Slack Integration, Configure Slack Triggers, and Use Slack Tools.

Configuration Fields

  • Message Keyword: Required. Text that must appear as whole words, case-insensitively. For example, investigate matches "Let's investigate this issue" but not "investigated" or "investigate-agent". Phrases such as is down match "API is down".
  • Channel Names: Optional. Limit to specific channels (without #). Leave empty to match all channels.
  • User Handles: Optional. Only match messages from these users (without @). Leave empty to match all users.
  • Thread Only: Optional. Check this to only trigger on threaded replies, not top-level messages.

Available Variables

  • {{slack.channel.name}}: Channel name (e.g., incidents)
  • {{slack.message.text}}: Full message text
  • {{slack.user.handle}}: Username who posted (e.g., jane.doe)
  • {{slack.thread.timestamp}}: Thread ID if message was in a thread

Example Prompt

{{slack.user.handle}} mentioned an issue in #{{slack.channel.name}}. 

Message: "{{slack.message.text}}"

Extract the service name, query Dash0 for error rate and latency over the last hour, and respond in thread with your findings.
Important

The Dash0 Slack bot must be a member of the channel. Invite it with /invite @dash0 in the channel.

Slack Reaction Trigger

Fires when someone adds a specific emoji reaction to a message.

Configuration Fields

  • Emojis: Required. Which emojis trigger the automation (without colons). Examples: eyes, rocket, white_check_mark
  • Channel Names: Optional. Limit to specific channels.
  • User Handles: Optional. Only trigger when these users add reactions.

Available Variables

Same as Slack message triggers, plus:

  • {{slack.reaction.emoji}}: The emoji that was added (e.g., eyes)

Example Prompt

Someone reacted with :{{slack.reaction.emoji}}: to a message. Treat this as a request to investigate. 

Original message: "{{slack.message.text}}"

Parse the message for service names and query Dash0 for recent issues. Post your findings in thread.