Skip to main content
Automations run a coding agent whenever a specified event occurs. Define a trigger, write a prompt, and Blocks handles the rest — no manual mention needed.

Setup

  1. Go to Settings → Automations → Create Automation
  2. Give it a name and set visibility (workspace-wide or private)
  3. Select an agent
  4. Choose one or more trigger events
  5. Write a prompt — this is what the agent receives when the trigger fires
  6. Save

Available triggers

Repository selection

For pull request and push triggers, you can scope the automation to specific repositories or allow it to run across all connected repos. Toggle All repos off to select specific ones.

CI check display

For pull request triggers, you can choose whether the automation result appears as a GitHub/GitLab/Bitbucket CI check or as a comment on the PR. Enable Display as CI check in the automation settings to block merges until the automation passes. Automation display as CI check setting

Visibility

  • Workspace — visible and usable by all workspace members
  • Private — only visible to you