Skip to main content

Overview

The Artanis Slack bot automatically forwards customer feedback messages to link them with your traces. No code required - just invite the bot to your workspace.

How It Works

When customers provide feedback in Slack (support channels, threads, reactions), simply forward the message to the Artanis bot or mention it. The bot automatically:
  1. Extracts the trace ID from the conversation
  2. Links the feedback to the corresponding trace
  3. Makes it visible in your Artanis dashboard

Setup

1. Invite the Bot

Add the Artanis bot to your Slack workspace:

Add to Slack

Click to invite the Artanis bot to your workspace
You’ll need admin permissions to add apps to your workspace.

2. Add to Channels

Invite the bot to your feedback channels:
/invite @Artanis
That’s it! The bot is now ready to receive feedback.

Usage

Forward Messages

When a customer reports an issue, forward their message to a channel with the Artanis bot:
  1. Click the More actions (•••) menu on the message
  2. Select Forward message
  3. Choose a channel where the Artanis bot is present
  4. The bot will automatically link the feedback to the trace

Mention the Bot

Alternatively, mention the bot in a thread or reply:
@Artanis this response was incorrect
The bot will extract the trace ID from the conversation context and record the feedback.

Emoji Reactions

The bot also monitors emoji reactions on messages:
  • 👍 / :thumbsup: - Records positive feedback
  • 👎 / :thumbsdown: - Records negative feedback
The bot only monitors channels where it has been explicitly invited.

Including Trace IDs

For the bot to link feedback to traces, include the trace ID when your application posts messages to Slack: Python:
# Return trace ID to your frontend/backend
return {
    "answer": response,
    "trace_id": trace.id
}

# Include in Slack message
slack_client.chat_postMessage(
    channel=channel_id,
    text=f"{answer}\n\n_Trace: {trace_id}_"
)
TypeScript:
// Return trace ID to your frontend/backend
return {
  answer: response,
  traceId: trace.id
};

// Include in Slack message
await slack.chat.postMessage({
  channel: channelId,
  text: `${answer}\n\n_Trace: ${traceId}_`
});

What Gets Recorded

When the bot processes feedback, it captures:
  • Message content - The full text of the feedback
  • Reporter - Slack user who provided the feedback
  • Channel - Where the feedback came from
  • Timestamp - When the feedback was given
  • Thread context - Related messages in the thread
All of this appears in your Artanis dashboard linked to the original trace.

Best Practices

Add to All Feedback Channels

Invite the bot to every channel where customers provide feedback

Include Trace IDs

Always include trace IDs in messages so the bot can link feedback

Use Threads

Keep related feedback in threads for better context

Monitor Reactions

Encourage use of 👍/👎 for quick feedback signals

Support

Having trouble with the Slack bot? Contact us at team@artanis.ai.