QuvanticBook free audit

ZapierChecked blueprint4 nodes

Flag a day's ad spend that runs 20% over budget

When the daily ad spend export adds a row, compute the percent over budget with Formatter and alert Slack if it is more than 20.

Portfolio reference build with demo data and placeholder credentials, not a client deployment.

Pain

Ends the Friday spreadsheet pull. The blueprint reads the sheet or API and drafts a Monday brief.

Solution

When the daily ad spend export adds a row, compute the percent over budget with Formatter and alert Slack if it is more than 20.

Impact · From the blueprint

Catches overspend the next morning instead of at month end; a single runaway campaign can cost more than a year of the plan.

Library status: passing. Schema, field mapping, task count, and Code-step unit tests pass. Not built in a live Zapier account.

Flag a day's ad spend that runs 20% over budget step list
Step list

Step inspector

The first step shows the checked-in sample payload.Later steps name the node. They are not a live execution.

Guardrails

  • Filter by Zapier · Only continue if...

Credential ids in the JSON are placeholders. These files are portfolio demos.

Deploy this for your business

Tell us this slug and what still happens by hand. We will map it onto your accounts. This page is not a claim that the blueprint already runs for a customer.

README

Portfolio demo by Mustafa (mustafaautomation). Not client work. The people, companies, and numbers in it are made up. Rebuild it in your own Zapier account. Nothing here is connected to anyone's account.

Category: Reporting
Difficulty: beginner
Apps: Google Sheets, Formatter by Zapier, Filter by Zapier, Slack
Zapier plan: Professional (multi-step Zap: 3 steps after the trigger; Filter by Zapier; Formatter by Zapier)
Tasks per run: 0 on most runs (a filter stops them), 1 when it passes
Test status: passing (schema, mapping scope, task count)

Problem

A campaign with a broken bid cap spends three times its daily budget, and nobody sees it until the card statement. Ad platforms email about it, but those emails go to whoever set up the account years ago.

Who it's for

Marketing teams and agencies that export daily spend per campaign into a Google Sheet (from a connector or a scheduled export).

How the Zap runs

flowchart TD
  s1["1. Google Sheets: New Spreadsheet Row<br/>New daily spend row"]
  s2["2. Formatter by Zapier<br/>Work out the percent over budget"]
  s1 --> s2
  s3{{"3. Filter by Zapier<br/>Only campaigns more than 20% over"}}
  s2 --> s3
  s4["4. Slack<br/>Alert the marketing channel"]
  s3 -->|"passes"| s4

Build it in the Zapier editor

Zapier has no import file for a Zap like this one, so it is built by hand from the steps below. zap.json is the same Zap in a machine-readable form (schema), and zap.yaml is the same document in YAML.

A value like [2. vendor] means: click the field, open step 2 in the data picker, and choose vendor. Plain text is typed as shown. YOUR_... is a value from your own account.

Before you start

  • The sheet the trigger watches Ad spend › Daily with these headers in row 1: date, channel, campaign, spend, daily_budget.

Steps

1. Trigger: New daily spend row

App: Google Sheets · Event: New Spreadsheet Row · polling (Zapier checks on your plan's update interval) · Tasks: 0

Fires for each new row the daily export appends: one per campaign per day.

FieldValue
DriveMy Google Drive
SpreadsheetAd spend
WorksheetDaily

Fields this library maps from the trigger: row_number, date, channel, campaign, spend, daily_budget. Zapier shows them with its own labels; pick the one with the same meaning.

2. Action: Work out the percent over budget

App: Formatter by Zapier · Event: Numbers · Tasks: 0

A spreadsheet-style formula in Formatter avoids a Code step and costs no task.

FieldValue
TransformSpreadsheet-Style Formula
FormulaROUND(([1. spend] - [1. daily_budget]) / [1. daily_budget] * 100, 1)

Later steps can map: output.

3. Filter: Only campaigns more than 20% over

App: Filter by Zapier · Event: Only continue if... · Tasks: 0

Most days most campaigns are on budget, so most rows stop here.

Only continue if: [2. output] (Number) Greater than 20.

Most runs stop here, which is the point: the steps below are the exception path.

4. Action: Alert the marketing channel

App: Slack · Event: Send Channel Message · Tasks: 1

Names the campaign, the channel, and the overspend so the owner can pause it.

FieldValue
Channel#marketing
Message Text:chart_with_upwards_trend: [1. campaign] on [1. channel] spent [1. spend] against a [1. daily_budget] budget on [1. date] ([2. output]% over).
Send as a bot?Yes
Bot NameZap alerts
Include a link to this Zap?No

Later steps can map: ts, permalink.

Test it

Use sample-trigger.json as the test record. For an instant or webhook trigger, send it to the trigger once; for a polling trigger, create a matching record in the app and click Test trigger. Then test each step in order and read its output before you turn the Zap on.

{
  "row_number": 87,
  "date": "2026-11-24",
  "channel": "Meta Ads",
  "campaign": "BFCM retargeting - mugs",
  "spend": "182.40",
  "daily_budget": "120"
}

Plan and task usage

StepAppTasks
1. New daily spend rowGoogle Sheets0
2. Work out the percent over budgetFormatter by Zapier0
3. Only campaigns more than 20% overFilter by Zapier0
4. Alert the marketing channelSlack1

Most runs stop at a filter before any task-using step, so they use 0 tasks; the upper bound is 1, when every filter passes and the costliest paths run. Zapier does not charge tasks for triggers, Filter, Paths, Formatter, Delay, Looping, Digest, Storage, or Zapier Tables steps. AI by Zapier is counted here as 1 task; Zapier prices it by model tier, so a larger model can cost more.

Minimum plan: Professional, because of: multi-step Zap: 3 steps after the trigger; Filter by Zapier; Formatter by Zapier. The Free plan only runs two-step Zaps (a trigger and one action) and leaves out Filters, Paths, Formatter, webhooks, AI by Zapier, and premium apps.

Customize

  • Change 20 to the tolerance you accept; 50 suits campaigns with volatile delivery.
  • Add the campaign owner as a column and send a Slack DM to that person instead.

Limits

  • A campaign with a daily budget of 0 makes the formula divide by zero; Formatter then returns an error text and the filter stops the run.

Time saved

Catches overspend the next morning instead of at month end; a single runaway campaign can cost more than a year of the plan.

Files

FileWhat it is
zap.jsonThe Zap, step by step, in schema 1.0.0.
zap.yamlThe same document in YAML.
sample-trigger.jsonFictional trigger record for the first test.
diagram.pngThe step list, drawn like the Zapier editor.