Format
Matches `/^[+]?[\d\s().-]{7,20}$/`. Optional leading `+`, then 7–20 chars of digits, spaces, parens, dots, or hyphens.
Examples
- +41 79 123 45 67
- (415) 555-2671
- +1.415.555.2671
Matches `/^[+]?[\d\s().-]{7,20}$/`. Optional leading `+`, then 7–20 chars of digits, spaces, parens, dots, or hyphens.
Faithful summary of lib/validators.ts. Validators are pure functions and run identically in the worker, the Workbench, and the MCP server.
function validPhone(value) {
// Lightweight check. Production swaps libphonenumber-js behind the same shape.
return /^[+]?[\d\s().-]{7,20}$/.test(value)
? OK
: fail('phone_invalid', 'not a valid phone')
}Validators attach to a field on a custom template. The cascade runs them after mapping but before commit; failures surface in the per-row validation report.
fields:
- column: phone
type: phone
validators:
- type: phonepatient_demographics_v1Patient identity. Emits FHIR Patient.
Fields: phone
leads_v1Sales leads: contact, source, status, and creation metadata.
Fields: phone
contacts_v1People at named accounts: identity, contact details, role, decision-maker flag.
Fields: phone
customers_v1Repeat e-commerce buyers: identity, contact, default shipping, lifetime stats.
Fields: phone
Pricing
Schema-only mode (headers + ≤3 sample rows) is free and unlimited; full-data commits are metered. See plans →