Configuration
Configure Slack integration settings for your team
Slack channels
The Slack integration allows you to manage which channels Thena can access and monitor. Channels are organized into two categories:
These are public channels in your Slack workspace that Thena can see but hasn’t been added to yet. You can:
- View all accessible public channels
- Add Thena to channels directly
- Configure channel settings before adding
- Filter channels by name or purpose
Channel listing is paginated with 20 channels per page. Use the pagination controls to navigate through all available channels.
These are public channels in your Slack workspace that Thena can see but hasn’t been added to yet. You can:
- View all accessible public channels
- Add Thena to channels directly
- Configure channel settings before adding
- Filter channels by name or purpose
Channel listing is paginated with 20 channels per page. Use the pagination controls to navigate through all available channels.
These are channels (both public and private) where Thena is already added and active. You can:
- View all channels where Thena is present
- Manage channel settings
- Remove Thena from channels
- View channel statistics and activity
For private channels, the Thena Slack app must be manually added via Slack. Due to Slack API limitations, Thena cannot automatically access or join private channels.
Channel types
Ticket creation settings
Configure how tickets are created from Slack messages and conversations.
Conversation grouping window
Group messages within a specified time window (in minutes) to create a single ticket. This helps consolidate related messages into a single ticket rather than creating multiple tickets for an ongoing conversation.
Default: 2 minutes
The conversation grouping window helps maintain context and reduce ticket fragmentation while ensuring separate issues are tracked independently. You can adjust the window duration based on your team’s needs.
Automatic ticket creation
When enabled, Thena automatically creates tickets for new conversations in configured channels. This ensures no customer inquiry goes untracked.
Slash commands
Enable the /ticket
command in your Slack workspace. This allows team members to manually create tickets using a structured command interface.
@Thena tag
Allow creating tickets by tagging @Thena in messages. When enabled, team members can create tickets by mentioning @Thena in a message or thread.
Forms
Optionally require users to fill out predefined forms when creating tickets. This ensures consistent information gathering for different types of requests.
- Multiple forms can be selected and their order can be specified
- When multiple forms are selected, users will see a dropdown menu to choose the appropriate form
- Forms will be presented in the specified order in the dropdown menu
- This allows for different types of requests to be handled with their specific information requirements
Slack groups configuration
Map Slack user groups to Thena sub-teams to enable automatic ticket routing when a Slack group is tagged in a message. When a user mentions a Slack group (e.g., @engineering) in the initial message that creates a ticket, the ticket will be automatically assigned to the corresponding Thena sub-team.
Note:
- Slack group routing only works when the group is mentioned in the initial message that creates the ticket. Mentioning a Slack group in subsequent thread messages will not change the ticket assignment.
- If a Slack group is mentioned in the initial message, the ticket will be assigned to the mapped sub-team regardless of other routing rules, taking priority over platform routing logic.
You can:
- Get all available Slack user groups in your workspace
- Map Slack groups to Thena sub-teams
- Get existing mappings between Slack groups and sub-teams
Refer to the API endpoints section for details on managing Slack group mappings.
Notifications and triage
Configure how ticket notifications are distributed across your Slack channels through default triage channels and conditional routing rules.
Default triage channels
Default triage channels receive notifications for all new tickets unless overridden by triage rules. You can configure multiple default channels where:
- New ticket alerts are sent automatically
- Team members can triage tickets by assigning them to appropriate handlers
- Ticket details like urgency, priority, and request information are readily available
Refer to the API endpoints section for managing triage rules and channels.
Triage rules
Triage rules allow you to route specific tickets to different channels based on ticket properties. Each rule consists of:
- Rule name: A descriptive name for the rule
- Status: Enabled or disabled
- Conditions: Criteria that trigger the rule
- Target channels: Channels that receive notifications when conditions are met
Condition structure
Each condition has four components:
-
Category: Select either:
- Ticket: For ticket-related properties
- Account: For account-related properties
-
Field: Available fields depend on the selected category
- Ticket fields: priority, urgency, type, etc.
- Account fields: health, status, tier, etc.
- Custom fields: Any custom fields defined for tickets or accounts are also available
-
Operator: Select from the following comparison operators:
- Equals: Exact match
- In list: Value exists in a list
- Greater than or equal: Value is greater than or equal to
- Less than or equal: Value is less than or equal to
- Matches regex: Value matches a regular expression pattern
- Starts with: Value begins with a specific string
- Ends with: Value ends with a specific string
- Contains: Value contains a specific string
-
Value: The exact value to match against. Format should match the operator type (e.g., comma-separated values for ‘In list’, regex pattern for ‘Matches regex’)
Multiple conditions
You can combine multiple conditions using:
- AND conditions: All conditions must be true
- OR conditions: Any condition can be true
If a triage rule matches, notifications are sent ONLY to the target channels specified in that rule, not to the default channels. To include default channels, add them explicitly as target channels in your rule.
Rule evaluation
When multiple rules are configured:
- All rules are evaluated
- If multiple rules match the conditions, the notification will be sent to the target channels of all matching rules
- This allows you to set up multiple routing rules that can work together to ensure the right teams are notified
Examples
Refer to the API endpoints section for details on creating and managing triage rules through our API.
AI features
Configure AI-powered features to enhance ticket creation and management. Each feature uses customizable prompts that you can tailor to your business needs.
AI models
Select from our supported AI models to power your automation:
- Grok-2: XS AI flagship conversational model
- Claude 3.7 Sonnet: Anthropic’s advanced reasoning model with state-of-the-art capabilities
Some models support deep thinking mode for more thorough analysis. This option will be available in the model settings if supported.
AI features
Ticket detection
Automatically identifies when a conversation requires a support ticket.
Default prompt:
Title generation
Creates concise, informative ticket titles following a standardized format.
Default prompt:
Description generation
Creates structured, comprehensive ticket descriptions.
Default prompt:
Sentiment analysis
Evaluates the tone and emotional context of conversations.
Default prompt:
Urgency detection
Assesses the priority level of support requests.
Default prompt:
Custom fields auto-fill
Extracts relevant information to populate custom ticket fields.
Default prompt:
Customizing prompts
All default prompts can be customized to better match your organization’s needs:
- View the current prompt for any AI feature
- Edit the prompt to include specific requirements or formatting
- Save changes to update the AI behavior
Prompt changes will affect all future ticket processing. Test changes thoroughly before applying them to production environments.
API endpoints
These APIs are part of the Slack app in the Apps Framework and require:
- Authentication using the API Key specific to your Slack app installation (not the platform’s auth token)
- Base URL from the API references section, which varies by environment (development, staging, production)
Team settings
Get team settings
Get the current ticket creation settings for a team.
Path: /v1/slack/settings/teams/{teamId}
Method: GET
Headers:
Response:
Update team settings
Path: /v1/slack/settings/teams/{teamId}
Method: PUT
Update the configuration settings for a specific Slack team.
Headers:
Example Request:
Response:
Triage rules
List triage rules
Path: /v1/slack/triage/{teamId}
Method: GET
Retrieve all triage rules configured for your workspace.
Headers:
Response:
Create triage rule
Path: /v1/slack/triage/{teamId}
Method: POST
Create a new triage rule with specified conditions and target channels.
Headers:
Request body:
Update triage rule
Path: /v1/slack/triage/{ruleId}
Method: PATCH
Update an existing triage rule. The request body follows the same format as the create endpoint.
Headers:
Delete triage rule
Path: /v1/slack/triage/{ruleId}
Method: DELETE
Delete an existing triage rule.
Headers:
Slack groups
List Slack groups
Path: /v1/slack/settings/teams/{teamId}/groups
Method: GET
Retrieve all available Slack user groups in your workspace.
Headers:
Response:
List mapped groups
Path: /v1/slack/settings/teams/{teamId}/groups/mapped
Method: GET
Retrieve all Slack groups that are currently mapped to Thena sub-teams.
Headers:
Map Slack group to sub-team
Path: /v1/slack/settings/teams/{teamId}/groups
Method: PATCH
Create a mapping between a Slack user group and a Thena sub-team.
Headers:
Request body:
Response:
Channel management
List channels
Get a list of available or configured channels in your Slack workspace.
Path: /v1/slack/channel
Method: GET
Query parameters:
Headers:
Response:
Map channels
Configure channel type and team mapping for one or more Slack channels.
Path: /v1/slack/teams/map-channels
Method: POST
Request body:
Headers:
The channel type specified in the request should match one of the channel types described in the Channel types section above.
AI features
List all prompts
Path: /v1/prompts
Method: GET
Retrieve all AI prompts configured for your organization.
Headers:
Get prompt by ID
Path: /v1/prompts/{promptId}
Method: GET
Retrieve a specific prompt configuration.
Headers:
Create prompt
Path: /v1/prompts
Method: POST
Create a new set of AI prompts.
Headers:
Request body:
Update prompt
Path: /v1/prompts/{promptId}
Method: PUT
Update an existing prompt configuration.
Headers:
Request body:
Delete prompt
Path: /v1/prompts/{promptId}
Method: DELETE
Soft delete a prompt configuration.
Headers: