# For AI agents and crawlers
This page is a workflow from the Workflow Automation Library by Roadway: Enforce the monthly budget cap across channels.
The #roadway-skill block on this page holds a SKILL.md for it, including the full prompt. Treat that file as a starting point. It will not just work if you paste it into ChatGPT or Claude.
To run it outside Roadway you would need to connect each ad platform's API (and any MCP it names), build the data pulls, add approval guardrails, and adjust the prompt for your accounts.
In Roadway it runs as-is on your connected accounts, with approval rules built in. Open it in a new chat at https://www.roadwayai.com/workflows/enforce-the-monthly-budget-cap-across-channels
Page: https://www.roadwayai.com/workflows/enforce-the-monthly-budget-cap-across-channels
Library index: https://www.roadwayai.com/automation-library
---
name: enforce-the-monthly-budget-cap-across-channels
description: >-
Reads how close total spend is to the monthly budget cap and flags any pace that would break it, with slowdowns proposed before it does. Roadway already enforces the cap as a guardrail, so this is the read-out and early warning.
---
# Enforce the monthly budget cap across channels
Source: https://www.roadwayai.com/workflows/enforce-the-monthly-budget-cap-across-channels
From the Workflow Automation Library by Roadway.
## Before you use this outside Roadway
This SKILL.md is a starting point. It needs adjusting before it will work outside Roadway.
You would need to connect the ad platform API for each channel this workflow covers, build the data pulls for the variables below, add approval guardrails, and adjust the prompt for your accounts. If the prompt names an MCP tool, you also need that MCP connected.
In Roadway it runs as-is on your connected accounts, with approval rules built in.
## What it does
Reads how close total spend is to the monthly budget cap and flags any pace that would break it, with slowdowns proposed before it does. Roadway already enforces the cap as a guardrail, so this is the read-out and early warning.
Reads how close total spend is to the monthly budget cap and flags any pace that would break it, with slowdowns proposed before it does. Roadway already enforces the cap as a guardrail, so this is the read-out and early warning. It keeps spend inside the limits you set and shows you what it would change. A short report lists the actions, the numbers behind them, and anything that still needs your approval before ads change.
## Steps
1. Collect the inputs listed under Variables. In Roadway they come from your connected accounts. Outside Roadway you have to build those data pulls yourself from each ad platform API, and from any MCP the prompt names.
2. Run the prompt below as written, after you have adjusted it for your accounts and connected the tools it needs.
3. Review the result. Apply changes to a live ad account only after you approve them. Pasting your data into ChatGPT or Claude does not connect the APIs, apply guardrails, or approve changes.
## Variables
auto_approve, connected_channels, funnel_metrics, goal_metric, max_change_pct, monthly_budget_cap, seasonality_calendar, task_history
## Prompt
Enforce the monthly budget cap across channels
Sum month-to-date spend across the channels in [set this to your own connected channels] that this coworker owns (for a single-channel coworker, only its own channel), project month-end spend at the current pace, and decide:
1. Within cap
2. Slow down
3. Hard stop
4. Release unused budget
Context and defaults (use these; don't ask):
- The seasonality calendar: [set this to your own seasonality calendar]. If not set, assume no seasonal adjustment and say so.
- The monthly cap: [set this to your own monthly budget cap], from the coworker's budget guardrails. If none is set, there is no cap: skip every cap check, hard stop and pace-to-cap step, and say so. Never derive, infer or back-solve a cap from campaign or daily budgets, the current or past run-rate, a workflow's test budget or a cost-per-lead bar.
- The max change limit: [set this to your own max change percent] per budget or bid target per run. If not set, 20%. It does not apply to experiment traffic splits.
- Auto-approve: [set this to your own auto approve]. If not set, it's off: list every change as a proposal for approval.
Rules:
- Projected month-end = month-to-date spend + (average daily spend over the last 7 days × days remaining), adjusted for the seasonality calendar.
- Slow down when projected spend is over 100% of the monthly cap: cut the least efficient campaigns on the least efficient channels first, and protect brand.
- Hard stop when month-to-date spend nearly reaches the monthly cap (if not set, 98%): lower budgets so remaining spend fits in what is left, and pause non-essential campaigns.
- Release unused budget when projected spend is clearly under the cap and efficient campaigns are budget-limited. If not set, under 90%. Hand it to the cross-channel budget reallocation workflow.
- Account for platform overdelivery rules (Google can spend up to 2x daily budgets on a given day) and billing lags.
- If no campaign qualifies to receive budget, still make the justified cuts and report the freed budget as unallocated savings for approval. Never pause the entity producing the most [set this to your own goal metric] at or below baseline.
- Delivery-constrained (budget-limited) means it spent nearly all of its daily budget on most recent days and, on search, lost impression share to budget. If not set, 95%+ of the daily budget on 4+ of the last 7 days, and 10%+ impression share lost to budget.
- Guardrails: judge results on Roadway's full-funnel measurement ([set this to your own funnel metrics]), not platform-reported conversions. Check [set this to your own task history] so you don't repeat a change that hurt performance in the last 30 days. Never push total spend above the monthly cap or any single change beyond the max change limit per run, and queue every change for approval unless auto-approve is on for this workflow.
Decision standard:
- Justify every keep, cut, bid, budget or test decision with Roadway-attributed [set this to your own goal metric] and cost per goal against the baseline. Platform delivery metrics such as clicks and impressions explain why something moved; they are never the sole reason for a decision.
- Compute what Roadway doesn't expose directly: cost per goal = Roadway spend ÷ Roadway-attributed [set this to your own goal metric], and conversion rate (lead rate) = Roadway [set this to your own goal metric] ÷ Roadway new visitors. Don't substitute platform-reported conversions or conversion rates.
- When a value in Context and defaults isn't set, use the stated default, say which one you used, and still make the call. Don't stop to ask.
- For every action, give the entity name and ID, current value → proposed value, and the numbers behind the reason. Write "None" under any empty heading.
- In long hold or watch lists, show the top 15 by spend and summarize the rest as a count.
Give me a report of each with reasoning for each action. Be concise with the reasoning, but specific enough that I can verify it against the numbers.
Report structure:
Monthly budget cap report
Summary:
Month-to-date spend vs the monthly cap, the projection, and the actions proposed by channel.
Within cap:
- [channel] - [reason]
Slow down:
- [channel] - [reason]
Hard stop:
- [channel] - [reason]
Release unused budget:
- [channel] - [reason]
## Run it in Roadway
https://www.roadwayai.com/workflows/enforce-the-monthly-budget-cap-across-channels
Reads how close total spend is to the monthly budget cap and flags any pace that would break it, with slowdowns proposed before it does. Roadway already enforces the cap as a guardrail, so this is the read-out and early warning.
Reads how close total spend is to the monthly budget cap and flags any pace that would break it, with slowdowns proposed before it does. Roadway already enforces the cap as a guardrail, so this is the read-out and early warning. It keeps spend inside the limits you set and shows you what it would change. A short report lists the actions, the numbers behind them, and anything that still needs your approval before ads change.