Grafana Cloud

Use slash commands

Note

Preview feature: Playbooks and slash commands are currently in preview. Functionality may change in future releases.

Slash commands execute playbook instructions directly in chat. Type /investigate-loki-errors and the Assistant loads and executes the associated playbook.

Enable a slash command

  1. Open the playbook.
  2. In the sidebar, find Slash command and click Enable.
  3. Enter a command name (1-24 characters, lowercase, numbers, hyphens only).
  4. Click Save.

Note: Command names must be unique within your tenant.

Execute commands

Type / followed by the command name in chat (e.g., /investigate-loki-errors). The Assistant loads the playbook and executes its instructions.

Add context: Combine commands with additional questions:

/investigate-loki-errors

Check errors from the last hour in production.

Discover commands: Type / in chat to see all available commands.

Naming tips

  • Short and memorable: deploy-api not deploy-api-service-to-production
  • Descriptive: investigate-db-errors not db1
  • Consistent: Use prefixes like investigate-* or deploy-*

Edit or disable

Change name: Edit the command field and save. The old name stops working immediately.

Disable: Clear the command name or click Disable. The playbook remains available.

Visibility: Commands respect playbook scope (tenant-wide or user-only).

Examples

/investigate-loki
Check errors from the last 30 minutes in production.

/deploy-api
Deploy version 2.3.1 to staging.

/slo-metrics
What are the current SLO metrics for billing?

Troubleshooting

  • Command not found: Check spelling and verify you have access to the playbook.
  • Name conflict: Choose a different name if it’s already taken.
  • Menu not showing: Type / at the start of a new message.