Introduction
Introduction
Before adding a default value to a creator automation, distinguish a missing field, null, an empty string, zero and false. They answer different questions. Replacing them all with one fallback can erase information a reviewer needs.
This official-source evergreen guide provides an original caption-intake worksheet and a five-record tabletop exercise. It is not a current trend report, a connected-platform test or a claim that an automation has been deployed.
Write the meaning of each field before choosing a fallback
Imagine a creator collecting requests for a draft caption. For this fictional intake, title is required text; revisionCount is a required non-negative whole number; approved is a required yes-or-no value. The workflow may prepare an internal draft when the fields are acceptable. It may not send anything to a client or publish it merely because the record is structurally valid.
Agree what a missing response means with the person who owns the intake. A missing approval answer is unresolved, while an explicit false is a recorded refusal or not-yet-approved state under this proposed contract. Neither is permission to publish. A count of zero means no revisions in this example; it is not a blank cell waiting for a replacement number.
This contract is our proposed design. If your form uses different meanings, write those meanings down first. A checkbox that was never shown to a respondent should not silently become evidence that they actively selected no. Preserve the distinction in the handoff if it matters to the decision.
Five states that should survive the handoff
The following values can look similar in a compact automation preview. Inspect the actual field and its type before applying a fallback. These rows are examples, not observations from a connected account.
Original field-state worksheet for the fictional caption intake.
| State | Example | Decision in this contract |
|---|---|---|
| Missing | No title key in the object | Hold; ask for the required title. |
| Null | title: null | Hold; this contract requires text. |
| Empty string | title: "" | Hold; there is no title text. |
| Zero | revisionCount: 0 | Accept the count; keep zero. |
| False | approved: false | Accept the Boolean; keep publishing blocked. |
Keep presence, type and useful content as separate checks
JSON Schema distinguishes declaring a property from requiring it. Listing title under properties describes how to validate it when present; required is the separate keyword for demanding its presence. A key with null as its value is present, but it does not satisfy a string-only type rule.
For the title field, a string rule with minLength set to 1 rejects an empty string. That is still only a length test. A single space has length, and a title such as three spaces is not useful editorial input. Our proposed workflow additionally checks a trimmed copy for non-whitespace text and retains the original value for the correction note. Do not claim that minLength performs this cleanup.
Use three separate questions in the review note: Was the key supplied? Is the value the expected type? Does it meet the task-specific rule? Those questions explain the repair more precisely than one label saying invalid. The distinction is especially useful when an upstream form changes its export format.
Do not confuse a documented default with an executed transformation
The JSON Schema default annotation describes a default; validation does not automatically write that value into a missing field. A tool may implement its own behavior around defaults. Check that tool and the actual resulting record before assuming the annotation changed anything.
In this proposed intake, required title, revisionCount and approved never receive automatic fallback values. That choice makes an incomplete request visible. An optional internal review label could receive a documented fallback such as needs review, but the record should identify that it was supplied by the workflow, not by the requester.
Before using any fallback expression, ask exactly which conditions trigger it. An expression that replaces every broadly false-like value may also replace a meaningful zero or false in some environments. This article makes no claim about the syntax or behavior of a particular automation platform. Use synthetic values to check your chosen tool instead of copying an expression from another system.
Run the five-record tabletop exercise
Assume the three required fields and the rules described above. The table gives expected decisions for invented records. No platform was connected, no message was sent and these are not measured production test results.
Fictional records and expected decisions; acceptance here means internal draft eligibility only.
| Record | Input | Expected result | Reason |
|---|---|---|---|
| A | title omitted; revisionCount 0; approved false | Hold | Required title absent. Preserve both supplied values. |
| B | title null; revisionCount 0; approved false | Hold | Title present, wrong type. |
| C | title ""; revisionCount 0; approved false | Hold | Text has zero length. |
| D | title "Autumn outline"; revisionCount 0; approved false | Internal draft only | Title and count accepted; false still blocks publishing. |
| E | title "Autumn outline"; revisionCount 0; approved true | Internal draft eligible | Structural acceptance does not prove permission for this exact final draft. |
Add two boundary cases before you trust a preview
First, replace the title with three spaces. Our content rule holds the request after inspecting a trimmed copy. Record that decision separately from a schema length result, which may still pass. The repair is to obtain a meaningful title, not to manufacture one and attribute it to the requester.
Second, change revisionCount from the number 0 to the string "0". Under this contract, hold it as the wrong type instead of silently converting it. If you later choose to normalize numeric text, define the allowed format and retain before-and-after values in a synthetic test. Do not generalize that change to approval text: the string "false" is not a Boolean false.
These two cases reveal where a visually plausible preview can hide a different value. Add any additional business boundary you actually need, such as a maximum revision count, as an explicit rule. Do not invent a universal maximum or infer one from the examples here.
Make the handoff explain the action, not just the error
Use a small review record: request identifier, field name, supplied state, expected state, action taken, unresolved question and ruleset version. For record B, that could read: Demo-B; title; null supplied; non-blank text required; held without replacement; what title should the draft use?; intake-rules-v1. Demo-B is an invented identifier.
Keep source data and normalized data distinguishable when normalization is authorized. A reviewer should be able to see whether a value came from the request, a documented transformation or a default. Use only synthetic material for the initial test; a public troubleshooting worksheet should not contain client contact details, private brief text or access credentials.
If a test shows the connector omits keys that were blank in the form, document that observed mapping. Do not assume the form screen, exported file and automation step preserve the same representation. Capture the expected result before the test, the observed result after it and any mismatch. Until that comparison is done, platform behavior remains unverified.
Answer key and a stopping rule
Records A, B and C require correction before internal drafting. Record D preserves zero and false; it may enter the internal draft queue while publishing stays blocked. Record E passes this limited intake contract, but a true flag does not identify which version was approved. A separate review must connect permission to the exact final draft and intended destination.
For the two boundary cases, whitespace-only title text is held by the proposed content rule, and the string "0" is held by the strict count-type rule. Those are deliberate choices in this worksheet, not claims that every creator system must use the same normalization policy.
Stop and repair the handoff if your tool converts an unanswered approval into true, loses a meaningful zero, or collapses distinct errors into an unexplained replacement. Save the synthetic mismatch and revisit the contract. A workflow is easier to review when it preserves uncertainty instead of making incomplete input look finished.
