The workflows toolset gives AI clients such as Claude Code, Cursor, and OpenAI Codex access to your workflows, Action Catalog, workflow schema, and execution data. Using natural language, you can create and update workflows, validate their specifications, run published workflows, and investigate execution results.
Use cases
Use the workflows toolset to build automations that:
Investigate monitor alerts: When a service error-rate monitor alerts, run Bits Investigation to correlate latency, recent deployments, and downstream service health, then send the findings to the owning team in Slack.
Use custom agents: Create a custom Bits Agent Builder agent for a specialized system, such as payments, data pipelines, or Kubernetes, and invoke it from a workflow whenever an alert requires that domain expertise.
Automate incident escalation: When a critical incident is declared, gather relevant service context, page the appropriate on-call team, create a case, and notify stakeholders.
Investigate deployment regressions: After a deployment, compare current service behavior with recent changes and, when a likely regression is found, start a Bits Code session to investigate the relevant code and propose a fix.
Trigger remediation from an alert: When a monitor detects a known failure condition, run a remediation action such as restarting a service, invoking an AWS Lambda function, or calling an internal remediation endpoint.
Create code fixes: Investigate an issue, have Bits Code propose a code change, require human review, and implement the change after the proposed fix is approved.
Escalate high-severity security findings: When a critical finding is detected, create a case or ticket, notify the owning team, and page the appropriate responder.
Quickstart
The workflows toolset is not enabled by default for external MCP clients.
Note: If you authenticate using an application key, enable Actions API access for that key from Organization Settings > Application Keys. Actions API access is disabled for application keys by default and is required to access the Workflow Automation APIs.
After connecting, you can make requests, and your AI client calls the appropriate tools on your behalf.
“Find workflows owned by my team that are triggered by monitor alerts.”
“Create a workflow that runs Bits Investigation when this monitor alerts, then posts the findings to Slack.”
“Debug my last failing workflow run.”
Permissions
Workflow Automation MCP tools use the user’s existing Datadog permissions. Operations are performed in the Datadog organization used to authenticate the MCP.
Permission
Capabilities
Workflows Read
Find and retrieve workflows, schemas, and actions, validate specifications, and inspect executions
Workflows Write
Create, update, publish, unpublish, and permanently delete workflows
Workflows Run
Start workflows and cancel running executions
Available tools
The workflows toolset exposes the following tools, grouped by the part of the workflow life cycle they support. This includes finding and inspecting workflows, discovering specifications and actions, creating and managing workflows, validating specifications, running and inspecting executions, and debugging steps. When you make an automation request in natural language, your AI client calls these tools on your behalf. It chains their results together to produce your desired output. See the Datadog MCP Server tools reference for full details on each tool, including permissions and example requests.