- API key
Prepare in Rootly
Create a Rootly API key that can read alerts and perform every action you plan to enable in Flow. Flow verifies the key by requesting at most one alert. The key must permit alert reads even if your automations use only other Rootly actions.For a connection that works with one Rootly team, prefer a Team API key for the team that owns the required resources. A Team key has Team Admin access to that team’s resources. Use a Global API key only when one Flow connection must work across Rootly teams. Give a Global key the narrowest Incident Response and On-Call roles that cover the selected actions. Avoid Personal API keys for shared production connections. They inherit one user’s access and stop working if Rootly removes that user.In Rootly, open the organization menu, choose Organization Settings > API Keys, and select Generate New API Key. Copy the key. See Rootly API authentication for Rootly’s current key types and role behavior.Create separate keys and Flow connections for development and production. Do not reuse a production key in development. Start with read actions such as List alerts. Add write actions only after you review the key’s Rootly roles and the connection’s action selection.Rotate the API key
- Create a replacement key with access to alerts and the actions enabled on the connection.
- In Flow, open the connection.
- Open Manage connection and select Reauthorize.
- Enter the replacement key.
- Wait for Flow to report that the connection is healthy.
- In Rootly, revoke the previous key.
Connection troubleshooting
If Rootly rejects the key, confirm that you entered a current Rootly API key. If Rootly denies access, grant the key permission to read alerts and confirm that a Team key belongs to the correct Rootly team. If Rootly is unavailable or rate limits verification, try again later. A failed verification remains retryable and does not replace the working key on an existing connection.Connect in Flow
1
Find the Rootly integration.
- Open Integrations.
- Choose Add connection.
- In Add connection, search for Rootly.
- Select the Rootly card.
2
Connect.
- Choose who can use the connection.
- Select Continue through the setup steps.
- Give the connection a name.
- Select Connect to open the credential form.
- Enter the Rootly API key.
- Submit the credential form.
- Wait for Flow to verify alert access and save the connection.
- Open the saved connection’s Automations tab.
- Choose Enable for the intended team or teams.
- Select the Rootly actions their automations can run.
- Choose Save if you changed the action selection.