Last updated:
About Creating Automations
Create automations by defining triggers, writing prompts, configuring the sandbox and guardrails, and setting permissions. Dash0 provides several ways to create and manage automations to fit your workflow.
Create from Templates
The fastest way to start is with a pre-built template.
Templates include working configurations for common scenarios like incident triage, PR reviews, and deployment health monitoring.
- Navigate to Automations in the Dash0 sidebar.
- Click Templates to browse the catalog.
- Select a template that matches your use case.
- Review the pre-configured triggers, prompt, notifications, and guardrails.
- Customize the template to fit your needs.
- Click Create Automation.
See Use Templates for details on available templates.
Create from Scratch
Build automations step-by-step with full control over every configuration setting. Follow these guides for each component:
The form order is General → Triggers → Agent → Tools & Skills → Notifications → Sandbox → Guardrails. On wide screens, Agent appears beside the other sections. If custom skill selection is not available, Tools & Skills is labeled Tools. Configure tool access, required calls, and parameter overrides together through Configure tools in that section.
See Configure General Settings to set up basic automation information.
See Configure Triggers to define when automations run.
See Write Prompts to create effective instructions for Agent0.
In Tools & Skills, click Configure tools to set Allowed, Required, and Parameter overrides for each tool. Select custom skills in the Skills field when available. See Configure tools and Allowed Skills.
See Configure Notifications to set up alerts when automation runs complete or fail.
See Configure Sandbox to prepare the runtime before Agent0 starts and define reusable prompt parameters.
See Set Guardrails to control Agent0's behavior and ensure safe execution.
Test Your Automation
Test a saved automation using the Test automation button:
Follow these steps to prepare and test your automation:
-
Create and save the automation, then open its latest version with an account that has write permission for it. The Test automation button is not shown while creating a new automation, including from a template.
-
Review the automation's triggers and external actions before enabling it. Testing requires an enabled automation, and enabling it also allows its configured triggers to start normal runs. Use test destinations for external writes.
-
Enable the automation and save your changes. Save or discard any other pending changes, including restored drafts, and wait for saving to finish. The test button is disabled while the saved automation is disabled, you have unsaved changes, you are viewing a historical version, or a save is in progress.
-
Click Test automation beside the Enabled switch on the Runs / Settings tab bar to open the test dialog.
-
Choose your test method:
- Manual invocation: Trigger a manual invocation of the automation with a simulated event. Enter custom values for variables to test different scenarios.
- Choose a past trigger: Choose from events matching the trigger from the past 7 days. Replay a previous run's event data to debug "why did this behave differently?"
-
Review the automation's setup script, allowed tools, and external actions before clicking Run test. A test starts a real automation run, including setup, and can perform permitted actions such as posting to Slack.
-
Review the summary, tool calls, and status in the Runs tab.
-
If the run failed or didn't do what you expected, adjust the prompt or guardrails, save your changes, and test again.
Use "Choose a past trigger" to reproduce issues. It replays the exact variables from a previous run, making it easy to debug unexpected behavior.
About Manual Invocation:
- Use built-in variables like
{{now}}and{{today}} - Trigger-specific variables will be empty unless you enter values
- Marked as "manual" trigger type in run history
- Simulates the incoming trigger event, not the automation's actions. Use test destinations for external writes.
Enable and Monitor
To enable an automation for normal operation and monitor its runs:
- Set Enabled to
truein the automation editor. - Click Save.
- Monitor runs in the Runs tab. Filter by status, trigger kind, or date range.
- Provide feedback on runs to help improve future executions.
Automations run in the background. You'll see results in the run history, and Agent0 will take actions like posting to Slack as configured.
Common Patterns
These patterns demonstrate typical automation use cases. Use them as inspiration when designing your own automations.
- Incident response: Trigger on failed checks or Slack mentions. Query Dash0 for metrics, logs, and traces related to the failing service. Post findings to a Slack channel.
- PR review assistance: Trigger on GitHub pull requests. Analyze the changed services for historical performance issues. Post recommendations to Slack. For PR comments, use
ghCLI via bash with Trusted hosts only or Full Network and repository write access. - Scheduled reports: Run on a cron schedule. Query Dash0 for service health, error rates, and SLO compliance. Post a summary to Slack or send via webhook to an external system.
- Slack-driven queries: Trigger on Slack messages containing specific keywords. Parse the question, query Dash0, and respond in thread with the answer.
Troubleshooting
If automations don't behave as expected, see the Troubleshooting section for detailed solutions to common issues:
- Automation Doesn't Trigger — Why automations don't fire
- Run Fails with Guardrail Failure — Understanding guardrail violations
- Agent0 Doesn't Call Expected Tools — Tool access issues
- Variables Show as {{...}} — Variable resolution problems
- Missing Integration Warnings — Integration connection issues
Further Reading
- Configure General Settings — Set up basic automation information
- Configure Notifications — Set up alerts when automation runs complete or fail
- Configure Triggers — Define when automations run
- Set Guardrails — Control Agent0's behavior
- Use Templates — Pre-built automation templates
- Write Prompts — Create effective instructions for Agent0








