Use Cases and Examples

Start with one workflow for work that's repeatable, easy to verify, and low-risk, then grow it as results build trust. The examples on this page are good starting points.

Choosing your first workflow

Good first workflows share a few traits:

  • Repeatable: the same kind of change, many times, such as across dozens of repositories or a recurring ticket type.
  • Verifiable: tests, builds, or CI can tell whether a change works.
  • Small pieces: each change is independent and quick to review.
  • Easy to undo: a mistake is caught in review, or simple to revert.

Leave new features, security-sensitive logic, and fixes to live incidents with people at first, or add more approval steps.

Examples

Ticket to code

Take a bug ticket to a reviewed pull request.

StepType
A ticket is labeled for an agentWebhook trigger
Check whether the ticket has enough informationAutomation (prompt)
If not: comment on the ticket asking for detailsHTTP request
If so: generate the change and open a pull requestAutomation (coding)
An engineer reviews the changeApproval
Update the ticketHTTP request

Dependency upgrades

Keep a library current across every service that uses it.

StepType
Monthly, at midnight UTC on the 1st (0 0 1 * *)Schedule trigger
Check for available patch and minor versionsAutomation (prompt)
If none: post to SlackHTTP request
If some: open a tracking ticketHTTP request
Upgrade the library and open pull requestsAutomation (coding)
Owners review the changesApproval

Vulnerability fixes

Patch a vulnerability everywhere it appears.

StepType
A scanner reports a findingWebhook trigger
Triage the finding and identify affected servicesAutomation (prompt)
Generate the fix and open pull requestsAutomation (coding)
Service owners approveApproval
Wait for CI to finishWait
Post a summary to the security channelHTTP request

Standards alignment

Bring services in line with a standard, such as adding secret scanning to every repository.

StepType
Started manually for the services that fail a scorecard checkManual run
Add the missing configuration and open pull requestsAutomation (coding)
Owners review the changesApproval

Incident response (no code)

Get the right people moving when an alert fires.

StepType
An alert firesWebhook trigger
Gather the service's owners, dependencies, and recent changesAutomation (prompt)
Open an incident and notify the owning teamHTTP request

Growing a workflow over time

Most workflows start with a person reviewing every step, then loosen as results build confidence. A typical path:

  1. Start supervised: run it manually on a few services, with an approval before every change.
  2. Widen the reach: run it across more services once changes merge with few edits.
  3. Add a trigger: let tickets, alerts, or a schedule start runs on their own.
  4. Remove approvals where they're not needed: keep them for services or changes that need a person, and drop them for routine ones.

Each step should be backed by results from the workflow's own runs. If failures or reverts increase, add approvals back.


Did this page help you?