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

TriggerDescription
GitHub Pull RequestFires when a PR is opened or updated
GitHub Actions Workflow FailureFires when a GitHub Actions run fails
GitLab Merge RequestFires when an MR is opened or updated
Bitbucket Pull RequestFires when a PR is opened or updated
Bitbucket PushFires on every push to a branch
Schedule (Daily)Runs the agent once per day
Schedule (Hourly)Runs the agent once per hour

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.

Visibility

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