---
title: Take Action
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Bits AI > Bits Investigation > Take Action
---

# Take Action

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## Suggested code fixes from Bits Code{% #suggested-code-fixes-from-bits-code %}

After Bits Investigation helps you identify a root cause, it can also help you take action as quickly as possible.

Bits Investigation integrates with [Bits Code](https://docs.datadoghq.com/bits_ai/bits_ai_dev_agent.md) to automatically generate code fixes. Bits Code connects to GitHub to create production-ready pull requests, iterates on fixes using CI logs and developer feedback, and uses multiple Datadog products to generate contextual fixes.

1. [Set up Bits Code](https://docs.datadoghq.com/bits_ai/bits_ai_dev_agent/setup.md). Then, after Bits Investigation has determined a code-related root cause, you will automatically receive suggested code fixes.
1. Ask Bits Code to make any additional updates as needed, create a pull request for review in GitHub, and merge when ready to fix the underlying problem.

{% image
   source="https://docs.dd-static.net/images/bits_ai/bits_ai_sre_suggested_code_fix.e580873aea982c3ab1423184f6457e88.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/bits_ai/bits_ai_sre_suggested_code_fix.e580873aea982c3ab1423184f6457e88.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Flowchart showing Bits' investigation conclusion and a suggested code fix" /%}

## Run triage actions via chat{% #run-triage-actions-via-chat %}

From chat, you can trigger triage actions without leaving the investigation workflow.

Supported actions include:

- Sending Slack and Microsoft Teams messages
- Creating incidents in Datadog and PagerDuty
- Paging engineers via Datadog On-Call
- Creating cases in Datadog Case Management
- Opening Jira tickets

Bits Investigation automatically pulls relevant context from the investigation and your connected integrations to prefill messages, incident descriptions, and ticket metadata. This reduces manual effort, ensures consistency, and accelerates response time.
