Claude for agencies
Claude Code Automation for Agency Operations: 5 Bounded Workflows

Start with one fictional run. A notes file about an independent fitness studio becomes a client brief with its budget, deadline and proof flagged as unknown, and a pair of weekly counts becomes a report that keeps arithmetic apart from guesses. Those two outputs show the pattern we would use for all five workflows below: a fixed trigger, approved input, a predictable output, a named exception and a person who takes the next step.
The workflows are proposed designs. One API call carried a nine-job marketing batch of fictional inputs, and separately we ran a model-generated local completeness validator on ten controlled cases. We did not use claude -p or piped input, install any scheduled service, or run actions against client accounts.
Each workflow states its trigger, input, output, exception and approval point. The final section explains how to run everything once by hand before any schedule is added.
| Operation | Proposed trigger | Output | Human handoff |
|---|---|---|---|
| Research notes to brief | New notes file in intake folder | Brief with audience, deliverable and unknowns | Account lead reviews unknowns |
| Metrics to weekly report | Approved weekly figures added | Rates, observations and separated hypotheses | Account lead writes client narrative |
| Content inventory to link suggestions | On-demand inventory export | Suggested links with row identifiers | Editor accepts, edits or rejects |
| New files to exception list | Proposed: new brief JSON file in intake (not run) | Validator output on ten controlled cases only: valid and invalid counts with missing client or deliverable | Intake owner resolves exceptions |
| Approved scope to handoff draft | Approved scope note added | Facts, owner decisions and missing inputs | Account lead reviews before client contact |
1. Research notes to a source-bound brief
The first workflow turns supplied research notes into a client brief. The proposed trigger is a person placing a notes file in an approved intake folder and running a reviewed prompt. The input must be material you are permitted to use. The output has fixed fields for audience, deliverable and unknowns, so gaps are visible before anyone writes a proposal.
In our fictional Northstar run, one job in the nine-job batch, the prompt was: Convert these notes to a client brief with fields audience, deliverable, unknowns. Do not fill missing facts. The notes described an independent fitness studio wanting one landing page, with no budget, deadline or approved proof. The output flagged budget, deadline and proof as unknown. The review check was the model's own self-check, not a human approval, and this single run shows the pattern rather than reliability across note formats. What this workflow adds is the contract around the prompt: the intake-folder trigger, the conflict list and the account lead's approval.
Exceptions matter most here. If notes conflict or a field is blank, the brief should list the conflict instead of choosing one version, and the account lead then decides what to ask the client.
Readers new to building runs like this can start with our claude code tutorial guide, which builds and tests the brief checker from scratch.
Trigger: a new notes file lands in the approved intake folder
Approval: the account lead reviews the unknowns before any client sees the brief
2. Approved metrics to a weekly report
The second workflow converts figures that someone has already approved into a weekly report. The proposed trigger is the approved numbers file appearing for the week. The input is a small set of enquiry and visit counts with their period labels. The output separates arithmetic from interpretation, so the reader can see which statements are calculated and which are only possible explanations.
In our fictional run, week A showed 40 visits and 2 enquiries, while week B showed 50 visits and 0 enquiries. The generated report calculated an enquiry rate of 5.0 percent in week A and 0.0 percent in week B, a change of +10 visits (+25 percent) and a change of -2 enquiries. Under hypotheses, it said the drop could reflect normal variation given small counts, and that the source mix might have changed, but that no attribution data was supplied to test either idea. We treated that separation as the valuable part of the output.
The exception path is missing attribution or tracking coverage. The report should state that those inputs are absent rather than explain the change with confidence. The proposed human handoff is the account lead, who writes the narrative for the client. A reusable template for this layout follows the approach in our claude code skills guide, but a template still needs the same review before it reaches a client.
3. Content inventory to link suggestions
We have not run this workflow in our tests, so treat it as a proposed design. The trigger would be an on-demand export of an approved content inventory, such as a CSV of page addresses, titles and service categories. The output would be a list of suggested internal links, each tied to the row identifiers that produced it, so an editor can check every suggestion against the source.
A possible prompt is: Given this inventory, suggest internal links only between pages in the same service category, and cite the row identifiers for each suggestion. We expect failure modes such as suggestions to retired pages, or anchor text that reads awkwardly. Rows without titles should move to the exception list instead of receiving guessed labels.
Where a subagent drafts suggestions, the decision rules belong in our claude ai agents guide rather than in the prompt alone, because the prompt cannot enforce them.
The Claude permissions documentation describes allow, ask and deny rules. We would use a dedicated input folder and an isolation boundary appropriate to the actual host, rather than assume a prompt or the current directory prevents access to unrelated files. Permission setup would need its own review before a live integration.
Our claude seo guide covers page-level checks, but it does not replace the editor's review here. An editor should still accept, edit or reject each suggested link against the inventory row it cites.
4. New files to an intake exception list
When a new brief file arrives, the operational job is to decide what happens next: ready items go to the named reviewer; incomplete items go to an exception list with the missing fields attached. A scheduled process should never turn a missing deliverable into a guessed scope.
We generated a local checker with Claude Code, corrected literal escaped line breaks before execution and ran ten controlled cases. It checks required client and deliverable strings, including whitespace-only inputs, rejects non-array top-level data and reports file or JSON errors. Its expected exit codes matched those ten cases; this did not test a folder watcher or client handoff.
Productized Services: A Useful Guide to Scope, Examples and Delivery explains how to define an agreed deliverable and exclusions. If you sell an intake workflow, specify the exception handling and owner handoff as part of that scope.
5. Approved scope to a handoff draft
The fifth workflow converts an approved scope into a handoff checklist. The proposed trigger is an approved scope note being added to the project folder. The input is the scope and whatever the data owner has supplied. The output separates supplied facts, owner decisions and missing inputs, so nobody mistakes an open question for an agreed answer.
In our fictional handoff run, the approved scope was to import one studio CSV and produce a dashboard mockup, but the data owner had not supplied column definitions or approved access. The prompt was: Create a draft handoff checklist. Separate supplied facts, owner decisions and missing inputs. The output listed the two approved items as supplied facts, asked the team to confirm who approves access and whether the mockup is final, and listed column definitions and access as missing. Its next step held import work until both were approved. This was one job in the nine-job API batch, and its review check is a model self-check, not a human approval.
The exception is any missing approval, which should pause the import rather than produce a plan around it. The proposed human handoff is the account lead, who reviews the draft before anything goes to the client. The workflow does not send anything externally, and that boundary should stay in place for the first version.
Hold: import work waits for approved column definitions and access
Owner: the data owner confirms who approves access
Run once successfully before adding a schedule
Before adding any schedule, run each workflow manually against its fictional fixture and check the output against its review list. Scheduling is the host's responsibility: a shell script, task scheduler or CI runner invokes the command, and a laptop that is asleep or offline will not run the job. We have not installed any recurring jobs, and none of these workflows sends external messages.
The programmatic Claude Code guide describes print-mode execution and structured output. A host script should check both the process result and the returned data contract before continuing. Our brief, report and handoff jobs were an HTTP API batch; the checker was generated in print mode and then executed as a local Node.js program.
The Claude Code CLI reference lists print-mode and piped-input examples. Our isolated generation used print mode; a production scheduled wrapper and a watched input folder were not installed or tested.
Confirm the exit code matches the expected value for valid and invalid inputs
Confirm one deliberately missing field appears in the exception output
Confirm the human handoff step is written down before automation is scheduled





