# Agency ops

> Rank clients by what needs attention, watch budget pacing, check connections and audit a new account.

- Amazon: Reads: yes · Writes: yes

## What you get

Run many client accounts from one place. These four cover the daily look, the pacing check, the connection check and the pitch. The result is a ranked client board, one pacing line per client, an alert when a connection lapses, and an audit sheet for a new account.

_To write: the output mock for this recipe: a screenshot or sample of the real result, with numbers blurred_

## The prompt

Paste a prompt into your AI tool. Each one points the tool at the docs and at your key, which stays in `BUILD_API_KEY`.

### What is on fire board

For Claude Code. Schedule: Every morning at 7.

Prompt for claude-code:

```
Read https://build.sellermate.ai/SKILL.md. My key is in BUILD_API_KEY. Every morning, read ACoS, spend and sales for every client and rank them worst first by ACoS drift, spend spike and sales drop in the Google Sheet client-board.
```

### Budget pacing alert

For n8n. Schedule: Weekdays at 9.

Prompt for n8n:

```
Read https://build.sellermate.ai/SKILL.md. My key is in BUILD_API_KEY. Every weekday at 9, project month-end Amazon Ads spend for every client against their monthly budget and post one line each to Slack #pacing, flagging any client projected over 105%.
```

### Connection health alert

For n8n. Schedule: Every hour.

Prompt for n8n:

```
Read https://build.sellermate.ai/SKILL.md. My key is in BUILD_API_KEY. Every hour, check each client’s Amazon connection in Build and post a Slack alert to #client-alerts when data is more than 24 hours old or access has lapsed.
```

### 30-day account audit

For Claude Code. Schedule: Whenever you have a pitch.

Prompt for claude-code:

```
Read https://build.sellermate.ai/SKILL.md. My key is in BUILD_API_KEY. Audit the Amazon account I just connected: read the last 30 days of ads, inventory and costs, score waste, structure, inventory and margin out of 100, and write the biggest fixes to the Google Sheet audit.
```

## Steps

1. **Get a key**

   Create a key in the console and save it as `BUILD_API_KEY` in your tool's secrets. See [Get a key](https://build.sellermate.ai/docs/get-started/get-a-key.md).
2. **Paste the prompt**

   Pick the prompt above for your tool and paste it. Change the names in it, such as the channel or the Sheet, to yours.
3. **Run it once**

   Check the first result against your own numbers before you schedule it.
4. **Schedule it**

   Ask your tool to run it on the schedule shown with the prompt.

## Calls it makes

_To write: the sequence of Build calls this recipe makes, with one real request and response in CodeTabs_

## Data used

- [`get_campaign_performance`](https://build.sellermate.ai/docs/api-reference/get-campaign-performance.md)
- [`get_inventory`](https://build.sellermate.ai/docs/api-reference/get-inventory.md)

## Variants

Add one of these to the prompt:

- Add Google Ads to the board.
- Only flag a drift over 3 points.
- Send the top three to Slack.
- Use your agency name in the audit header.
