Teams can be attached to incidents in Rootly to record which groups own the response and to drive automation around that ownership. When a team is attached to an incident, Rootly can record team ownership on the timeline and fire workflows that target the team — for example, broadcasting the incident to the team’s channel, paging on-call, or inviting team members into the incident Slack channel. The exact behavior depends on which workflows you have configured. If the Slack integration is enabled, teams can be attached directly from Slack using Rootly’s slash commands. Teams can also be attached from the web UI when creating or editing an incident.Documentation Index
Fetch the complete documentation index at: https://docs.rootly.com/llms.txt
Use this file to discover all available pages before exploring further.
Attaching Teams via Slack
If your organization has configured the Slack integration, you can attach teams directly from the Slack incident channel. To attach a team using Slack:- Open the Slack channel associated with the incident
- Type the following command:
- Press Enter
Attaching Teams from the Web UI
Teams can also be attached when creating an incident or by editing an existing incident in the Rootly web UI. Open the incident, edit the Teams field, and select one or more teams from the searchable picker. Workflows triggered by team attachment fire in both paths — Slack and the web UI — provided the workflow’s trigger and conditions match.Selecting Teams
After running the command, a dialog appears in Slack with a searchable list of available teams. From this dialog you can:- Search for teams by name
- Select one or multiple teams
- Review currently attached teams
- Submit the changes

What Happens When a Team Is Attached
Attaching a team records the team on the incident and fires workflow triggers. Which trigger fires depends on when the team is attached:- Teams chosen at incident creation time — fire as part of the
incident_createdtrigger. - Teams attached after creation (via
/rootly add teamor by editing the incident in the web UI) — fire theteams_addedandteams_updatedtriggers.
- Inviting team members into the incident Slack channel
- Broadcasting to the team’s configured Slack channel
- Paging the team’s on-call (via Rootly On-Call, PagerDuty, Opsgenie, etc.)
- Creating tickets in the team’s project (Jira, Linear, etc.)
Automatically Inviting Team Members
Inviting team members to the incident Slack channel is configured once as an Incident Workflow and reused across every incident that matches your chosen trigger.Setting Up the Workflow
Build an Incident Workflow with these settings:Choose a Trigger
incident_created— fires when teams are selected at creation timeteams_added— fires when a team is attached after creation (e.g., via/rootly add team)
Add the Invite Rootly On-Call to Slack Channel Task
@oncall-infra), not Rootly team members.Who Gets Invited
When the Invite Rootly On-Call to Slack Channel task is targeted at a Team, it:- Includes every member of each targeted Rootly team
- Checks whether each member has connected their Slack account in Rootly
- Invites the matching users to the incident channel
- Skips members who haven’t connected Slack, then fails at the end of the task with an error listing the skipped members by name
Other Targets
The same task can also target an escalation policy, a service, a schedule, or an individual user — useful when you want “invite whoever is on-call for this team” instead of “invite everyone on this team.”Permissions
Attaching teams to incidents requires permission to update incidents. If you attempt to run the Slack command without the required permissions, Rootly will return an authorization error. In most organizations, these permissions are granted to:- Incident responders
- Incident commanders
- Team administrators
- Organization administrators
Troubleshooting
The command doesn't work in Slack
The command doesn't work in Slack
I cannot attach a team
I cannot attach a team
The team list is empty
The team list is empty
Team members were not invited to the Slack channel
Team members were not invited to the Slack channel
- Does an invite workflow exist? Open Workflows and confirm there’s an Incident Workflow that uses the Invite Rootly On-Call to Slack Channel task with the team as Target.
- Did the workflow’s trigger match this incident? A workflow with trigger
incident_createdwon’t fire when a team is attached after creation; for that path you also need a workflow with triggerteams_added. - Did the workflow run? Open the incident’s Workflow Runs view to see whether Rootly evaluated the workflow and what happened. If conditions (severity, environment, etc.) didn’t match, the workflow won’t have run.
- Have the team members connected their Slack accounts? Members who haven’t connected Slack to Rootly are skipped, and the task fails at the end with an error listing them by name. Have them connect Slack from their user profile.
- Is the Rootly Slack bot in the channel? A private channel that the bot hasn’t been added to will reject invites.
Frequently Asked Questions
What does attaching a team to an incident do?
What does attaching a team to an incident do?
teams_added and teams_updated workflow triggers. Any side effect — inviting members, broadcasting, paging on-call — is driven by workflows you configure.Can I attach more than one team to an incident?
Can I attach more than one team to an incident?
Do team members automatically join the incident Slack channel?
Do team members automatically join the incident Slack channel?
Why can't I run the Slack command?
Why can't I run the Slack command?
/rootly add team command must be run inside the Slack channel associated with the incident. If the command is used in another channel, Rootly cannot determine which incident the command should apply to. Additionally, you must have permission to update the incident in order to attach or modify teams.Can I remove a team after attaching it?
Can I remove a team after attaching it?
teams_removed and teams_updated workflow triggers.Do teams receive notifications when they are attached?
Do teams receive notifications when they are attached?
teams_added. The behavior is fully driven by your workflow configuration.Who is allowed to attach teams to incidents?
Who is allowed to attach teams to incidents?