QuvanticBook free audit

ZapierChecked blueprint5 nodes

Log paid WooCommerce orders and flag the odd ones

Log each paid WooCommerce order and write a private order note on the risky ones, so the hold shows up right where the packer works.

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

Pain

Kills the CSV between the store, the sheet, accounting, and the VIP Slack alert.

Solution

Log each paid WooCommerce order and write a private order note on the risky ones, so the hold shows up right where the packer works.

Impact · From the blueprint

About 15 minutes a day of scanning orders, and holds that the packer actually sees.

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

Log paid WooCommerce orders and flag the odd ones 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: E-commerce
Difficulty: intermediate
Apps: WooCommerce, Code by Zapier, Google Sheets, Filter by Zapier
Zapier plan: Professional (multi-step Zap: 4 steps after the trigger; Filter by Zapier; premium app: WooCommerce)
Tasks per run: 2 typical, 3 at most
Test status: passing (schema, mapping scope, task count, Code step unit tests)

Problem

The WooCommerce packer works straight from the order screen, so a Slack warning gets missed. Risky orders (big totals, billing and shipping in different countries, stacked coupons) ship before anyone reads the alert.

Who it's for

WooCommerce shops where one or two people pack orders from wp-admin and need any warning to appear on the order itself.

How the Zap runs

flowchart TD
  s1["1. WooCommerce: Order Paid<br/>Order paid"]
  s2["2. Code by Zapier<br/>Check the order for odd signals"]
  s1 --> s2
  s3["3. Google Sheets<br/>Log the order"]
  s2 --> s3
  s4{{"4. Filter by Zapier<br/>Only orders with at least one flag"}}
  s3 --> s4
  s5["5. WooCommerce<br/>Write a private note on the order"]
  s4 -->|"passes"| s5

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

  • Create the sheet Store orders › WooCommerce paid with these headers in row 1: paid_at, order_number, email, total, currency, payment_method, flags.
  • Install and connect the WooCommerce Zapier plugin on the store. Zapier cannot see WooCommerce orders without it.
  • Have these ready from your own accounts: YOUR_WOOCOMMERCE_STORE.

Steps

1. Trigger: Order paid

App: WooCommerce · Event: Order Paid · instant (the app pushes each event to Zapier) · Tasks: 0

Fires when WooCommerce records payment for an order. Cash-on-delivery and bank-transfer orders arrive later, when they are marked paid.

FieldValue
StoreYOUR_WOOCOMMERCE_STORE

Fields this library maps from the trigger: id, number, billing_email, billing_first_name, total, currency, shipping_country, billing_country, line_items_count, line_item_names, coupon_codes, payment_method_title, date_paid. Zapier shows them with its own labels; pick the one with the same meaning.

2. Action: Check the order for odd signals

App: Code by Zapier · Event: Run JavaScript · Tasks: 1

Same rules as the Shopify template. WooCommerce's order payload has no lifetime order count, so customer_order_count is fixed at 2 to switch the first-order rule off instead of flagging every new customer.

Paste the whole of code/order-flags.js into the code box. Source: content/code/order-flags.cjs. Unit tests: content/code/order-flags.test.cjs.

Input Data keyValue
total[1. total]
currency[1. currency]
shipping_country[1. shipping_country]
billing_country[1. billing_country]
item_count[1. line_items_count]
customer_order_count2
discount_codes[1. coupon_codes]
email[1. billing_email]
high_value_threshold600

Returns: flags, flag_count, is_odd, summary.

3. Action: Log the order

App: Google Sheets · Event: Create Spreadsheet Row · Tasks: 1

Keeps a running record of every paid order and what the check found.

FieldValue
DriveMy Google Drive
SpreadsheetStore orders
WorksheetWooCommerce paid
Columns › paid_at[1. date_paid]
Columns › order_number[1. number]
Columns › email[1. billing_email]
Columns › total[1. total]
Columns › currency[1. currency]
Columns › payment_method[1. payment_method_title]
Columns › flags[2. flags]

Later steps can map: id, row_number.

4. Filter: Only orders with at least one flag

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

Clean orders stop here.

Only continue if: [2. is_odd] (Boolean) Is true.

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

5. Action: Write a private note on the order

App: WooCommerce · Event: Create Order Note · Tasks: 1

The note sits on the order screen the packer already has open. Private notes are not emailed to the customer.

FieldValue
Order[1. id]
NoteHOLD before shipping. Automatic check: [2. summary]. Logged in the Store orders sheet, row [3. row_number].
Customer Note?No

Later steps can map: id.

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.

{
  "id": "20417",
  "number": "20417",
  "billing_email": "oskar.lind@nordvik-home.example",
  "billing_first_name": "Oskar",
  "total": "742.50",
  "currency": "EUR",
  "shipping_country": "DE",
  "billing_country": "SE",
  "line_items_count": "2",
  "line_item_names": "Merino throw blanket,Wool cushion cover",
  "coupon_codes": "NEWSLETTER15",
  "payment_method_title": "Credit card (Stripe)",
  "date_paid": "2026-11-24T20:05:44Z"
}

Plan and task usage

StepAppTasks
1. Order paidWooCommerce0
2. Check the order for odd signalsCode by Zapier1
3. Log the orderGoogle Sheets1
4. Only orders with at least one flagFilter by Zapier0
5. Write a private note on the orderWooCommerce1

A typical run uses 2 tasks; the upper bound is 3, 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: 4 steps after the trigger; Filter by Zapier; premium app: WooCommerce. 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

  • Set high_value_threshold to your own level; 600 suits a shop with a 120 average order.
  • Change the order status to on-hold with a WooCommerce Update Order step after the note, if your packers only ship processing orders.

Limits

  • WooCommerce needs the store's Zapier plugin (sold by WooCommerce), and WooCommerce is a premium app on Zapier.
  • The first-order rule is off because WooCommerce does not send a lifetime order count. A customer search step could supply it, at one more task per order.

Time saved

About 15 minutes a day of scanning orders, and holds that the packer actually sees.

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.
code/order-flags.jsPaste-ready Code by Zapier step.