Preflight required columns before you call the API
The CRM sync ran fine for weeks. Then one row had a blank email, the API answered 400 Bad Request: invalid_parameter, and the job stopped…
Preflight required columns before you call the API
The CRM sync ran fine for weeks. Then one row had a blank email, the API answered 400 Bad Request: invalid_parameter, and the job stopped…
Test Regex Samples
testRegexSamples(pattern, samples) runs a regular expression against a list of sample strings and returns rows you can paste into a sheet…
Normalize Phone
Sheet phones arrive as (555) 123-4567, 555-123-4567, +1 555 123 4567, or 0071…. APIs and SMS gateways want E.164. normalizePhone(raw…
Validate Form answers before they hit your master sheet
Linked Forms feel convenient until one typo in “Email” breaks every nightly job that trusts the master tab. The fix isn’t a sterner form…
Assert Required Keys
The API call failed because row 37 had no email. Worse, it succeeded with an empty amount. assertRequiredKeys(obj, requiredKeys, opts…
Normalize an Email Address
Upserts and sheet lookups miss rows when one person typed Ada@Example.com and another stored ada@example.com. normalizeEmail trims…
Sanitize a Sheet Tab Name
setName and insertSheet reject characters Sheets reserves (: \ / ? * [ ]), and long client names blow past the 100-character tab limit…