Ad budget rebalancer within a daily cap
The agent ranks campaigns by cost per result and proposes budget moves within a hard daily cap. Moves are applied only after you approve, and every change is logged.
What the agent does
- 1
Read campaign results.
- 2
Rank by cost per result.
- 3
Propose budget moves within the cap.
- 4
Apply them after approval.
- 5
Log the changes. → marketer approves moves
Enough to decide?
Proposed pattern- Required input
- No example input written yet
- Example output
- No example output written yet
- Stop condition
- overspend; hard daily cap and approval
- Reviewer
- Not yet independently reviewed
- Last run
- Not run by us yet
What it costs to run
A rough range per run, from the cheapest to the dearest of the paid models we checked. Your real cost depends on how much text you send.
Checked 2026-11-25 source
$0.001 to $0.22 per run · $0.011 per run with a mid-priced model
- Small, cheap model
- $0.001 per runPer 100 runs: $0.08
- Typical
- $0.011 per runPer 100 runs: $1.13
- Large model
- $0.22 per runPer 100 runs: $22.00
Free tiers and local models can bring this to zero while you test.
How we worked this out
- 5 model calls, one per step (at least 2)
- 2,000 input tokens per call
- 500 output tokens per call
- each call re-reads the earlier outputs
- no retries, no loops, no cached-input discount
- Longer inputs cost more; agents that retry or loop use more calls.
- Free tiers may cover small volumes: see free AI tokens.
- Local models have no per-token price but need your own hardware.
Works with
Tags
Before you start
- Access the agent needs
- analytics-sw, payments
- Who approves
- marketer approves moves
- What to log
- every action it proposes and the decision taken
- When to stop
- overspend; hard daily cap and approval
Why it is worth it
Money sitting in a weak campaign is money not spent on a strong one. Weekly rebalancing usually beats a set-and-forget budget.
Start this week
- Set a hard daily cap that no change can exceed.
- Let the agent rank campaigns by cost per result and propose moves within the cap.
- Approve the moves, and read the log of every change.
Watch out for
Overspend is the risk. The cap must be enforced in the ad platform itself, not only in the agent.
Measure this
Cost per result over a month.
About this entry
Proposed pattern Checked 2026-11-27 Next check 2026-12-25 v2026-11-26.1
What we checked
| Item | Result | Date | By | Source and note |
|---|---|---|---|---|
| Text and steps | Checked | 2026-11-25 | — | — |
| Human checkpoint and risks | Checked | 2026-11-25 | Reviewer to be named | — |
| Workflow run | Not checked yet | — | — | — |
| Cost estimate | Checked | 2026-11-25 | — | source · mid-priced model assumed |
| Tool links | Not checked yet | — | — | — |
| Outside evidence | Not checked yet | — | — | — |
Limitations
- This is a pattern written from how the job is usually done. We have not run it.
- Steps, tools and risks are general. Your systems and rules will differ.
- Test it with made-up or public data before using real data.
- Not checked yet: workflow run, tool links, outside evidence.
Change history
- Long text added: why it is worth it, how to start, what to watch out for, how to measure it spec v2026-11-26.1
- Added to the catalogue spec v2026-11-25.1
Evidence
- No outside evidence yet; this is our own analysis.
Spec versions
- v2026-11-26.1 · Long text added: why it is worth it, how to start, what to watch out for, how to measure it
- v2026-11-25.1 · Added to the catalogue
Run it with AI
Pick the AI you already use.
You are helping marketer. Goal: Ad budget rebalancer within a daily cap. The agent ranks campaigns by cost per result and proposes budget moves within a hard daily cap. Moves are applied only after you approve, and every change is logged. Work through these steps and show your result for each: 1. Read campaign results. 2. Rank by cost per result. 3. Propose budget moves within the cap. 4. Apply them after approval. 5. Log the changes. Tools or data I can give you: analytics-sw, payments. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: marketer approves moves. Watch for: overspend; hard daily cap and approval.
Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
Nothing happened? The Claude Desktop app (Mac, Windows, or Linux, where it is still in beta) may not be installed. Use the copy button instead.
ROLE: Assistant for marketer. TASK: Ad budget rebalancer within a daily cap. SUMMARY: The agent ranks campaigns by cost per result and proposes budget moves within a hard daily cap. Moves are applied only after you approve, and every change is logged. PROCEDURE: 1. Read campaign results. 2. Rank by cost per result. 3. Propose budget moves within the cap. 4. Apply them after approval. 5. Log the changes. HUMAN CHECKPOINT: marketer approves moves GUARDRAILS: overspend; hard daily cap and approval RULES: ask when inputs are missing; never invent facts; cite where each fact came from.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "ad-budget-rebalancer-0601",
"goal": "Ad budget rebalancer within a daily cap",
"persona": [
"marketer"
],
"autonomy": "supervised",
"tools": [
"analytics-sw",
"payments"
],
"plan": [
"Read campaign results.",
"Rank by cost per result.",
"Propose budget moves within the cap.",
"Apply them after approval.",
"Log the changes."
],
"human_in_the_loop": "marketer approves moves",
"guardrails": "overspend; hard daily cap and approval",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"trigger": "On a schedule",
"steps": [
{
"n": 1,
"do": "Read campaign results."
},
{
"n": 2,
"do": "Rank by cost per result."
},
{
"n": 3,
"do": "Propose budget moves within the cap."
},
{
"n": 4,
"do": "Apply them after approval."
},
{
"n": 5,
"do": "Log the changes."
}
],
"connects": [
"analytics-sw",
"payments"
],
"approval": "marketer approves moves",
"stop_on": "overspend; hard daily cap and approval"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "ad-budget-rebalancer-0601",
"goal": "Ad budget rebalancer within a daily cap",
"persona": [
"marketer"
],
"autonomy": "supervised",
"tools": [
"analytics-sw",
"payments"
],
"plan": [
"Read campaign results.",
"Rank by cost per result.",
"Propose budget moves within the cap.",
"Apply them after approval.",
"Log the changes."
],
"human_in_the_loop": "marketer approves moves",
"guardrails": "overspend; hard daily cap and approval",
"output": "a draft for human review"
}Opens the tool with your prompt already filled in. Review it there before you send.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping marketer. Goal: Ad budget rebalancer within a daily cap. The agent ranks campaigns by cost per result and proposes budget moves within a hard daily cap. Moves are applied only after you approve, and every change is logged. Work through these steps and show your result for each: 1. Read campaign results. 2. Rank by cost per result. 3. Propose budget moves within the cap. 4. Apply them after approval. 5. Log the changes. Tools or data I can give you: analytics-sw, payments. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: marketer approves moves. Watch for: overspend; hard daily cap and approval.
Copies the prompt, then opens the tool. Paste it in to start.
You are helping marketer. Goal: Ad budget rebalancer within a daily cap. The agent ranks campaigns by cost per result and proposes budget moves within a hard daily cap. Moves are applied only after you approve, and every change is logged. Work through these steps and show your result for each: 1. Read campaign results. 2. Rank by cost per result. 3. Propose budget moves within the cap. 4. Apply them after approval. 5. Log the changes. Tools or data I can give you: analytics-sw, payments. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: marketer approves moves. Watch for: overspend; hard daily cap and approval.
Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "ad-budget-rebalancer-0601",
"goal": "Ad budget rebalancer within a daily cap",
"persona": [
"marketer"
],
"autonomy": "supervised",
"tools": [
"analytics-sw",
"payments"
],
"plan": [
"Read campaign results.",
"Rank by cost per result.",
"Propose budget moves within the cap.",
"Apply them after approval.",
"Log the changes."
],
"human_in_the_loop": "marketer approves moves",
"guardrails": "overspend; hard daily cap and approval",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
{
"name": "ad-budget-rebalancer-0601",
"goal": "Ad budget rebalancer within a daily cap",
"persona": [
"marketer"
],
"autonomy": "supervised",
"tools": [
"analytics-sw",
"payments"
],
"plan": [
"Read campaign results.",
"Rank by cost per result.",
"Propose budget moves within the cap.",
"Apply them after approval.",
"Log the changes."
],
"human_in_the_loop": "marketer approves moves",
"guardrails": "overspend; hard daily cap and approval",
"output": "a draft for human review"
}Copies the prompt, then opens the tool. Paste it in to start.
At a glance
- For
- marketer
- Industry
- retail
- Autonomy
- supervised
- Difficulty
- Works with
- Steps
- 5 · 1 human checkpoint
- Runs as
- scheduled
- Data touched
- financial
- Needs approval
- marketer approves moves
- What it costs to run
- $0.011 per run with a mid-priced model
- Evidence
- ID
UC-0601
Compare routes for this job
Share this comparison| For this job | n8n | Claude | ChatGPT | CrewAI |
|---|---|---|---|---|
| What you do by hand | Build and test the workflow once. After that it runs on each new item, and you do the human checkpoint this use case names (approve, edit or decide) before anything goes out. | Paste or attach the input each time, check the answer, and carry the result to where it goes yourself. | Set up the assistant once with your instructions and files. Then paste or attach each new input, check the answer and carry the result on. | Build and test the agent once. Then do the human checkpoint this use case names (approve, edit or decide) and check its work regularly. |
| Human checkpoint | marketer approves moves | |||
| Typical API cost (same for every route) | $0.011 per run with a mid-priced model checked 2026-11-25 · pricing source | |||
| Learning curve | Terminal | Point and click | Point and click | Code |
| Price model | free | free tier | free tier | free |
| Where your data goes | It runs where you install it. Your workflow data goes to the apps and models it connects to. By default n8n also sends anonymous usage data to its makers; our beginner guide switches that off. | What you type and upload goes to Anthropic's servers and is handled under its terms. Check its data settings before you use real work data. | What you type and upload goes to OpenAI's servers and is handled under its terms. Check its data settings before you use real work data. | Your code decides: your data goes to the models and services you connect, so a local model keeps it on your machine. It may also send anonymous usage data to its makers by default; check its docs to turn that off. |
| Before you start | Docker or a similar tool on your computer, or a server. Our tested examples have a beginner guide. | An account on the website. The free plan is enough to try it. | An account on the website. The free plan is enough to try it. | Python on your computer, basic coding, and access to a model (an API key or a local model). |
| Evidence for this route | Proposed pattern | Proposed pattern | Proposed pattern | Proposed pattern |
| Open | Open in run panel Tool page | Open in run panel Tool page | Open in run panel Tool page | Open in run panel Tool page |
Where to go from here
All marketer use casesSimilar work
These use cases do the same kinds of work as this one. Each card shows what they have in common.
Keyword gaps against competitors
The agent finds search terms competitors rank for and you do not, groups them by topic and scores them by volume and difficulty. It proposes a content list with sample results. You pick topics.
Why two tables don't join
The agent compares key formats in two tables, finds mismatches, proposes normalisation rules and tests the join rate. You review a sample and approve the rules.
Alert thresholds from history and seasonality
The agent models seasonality in a metric's history, proposes alert thresholds and backtests them for false alarms before publishing. The owner approves.