If your Salesforce registration automation keeps failing on “invalid country” or “invalid state,” the fix is almost always the same: normalize incoming values before you create records (and, when possible, lock your form down to a dropdown so bad values never enter the system).
Salesforce registration automation: validating state and country fields before record creation. Photo by Stephen Dawson on Unsplash.
What breaks most Salesforce registration automations
When a registration or warranty form (often in Jotform) feeds records into Salesforce, the automation usually fails at one of these points:
Country validation: the form submits “USA”, “US”, or a misspelling, but Salesforce expects “United States” (or a specific picklist option).
State validation: the form submits “NY” but Salesforce expects “New York” (or a specific picklist option).
Text fields where you needed picklists: a free-text “State” field allows anything, but your downstream Salesforce field is a picklist (or a state/territory selector).
Mixed contractor vs. customer data: both are present in one submission, but the fields aren’t mapped to a stable data model, so you end up with everything in one long note field.
Unvalidated product/model numbers: submissions include models you don’t support, and the automation doesn’t know whether to reject the entire submission or just exclude certain items.
A practical checklist: form → Salesforce registration automation
Use this checklist to harden your workflow. The goal is simple: every field you send into Salesforce must match Salesforce’s expected values.
1) Decide what you’re optimizing for: block bad submissions or “fix them in automation”
You have two valid approaches:
Prevent bad data at the source (recommended): use dropdowns + constraints in your form so users can’t submit invalid values.
Accept anything, then normalize: allow free text, then add a transformation step before record creation.
Most teams end up doing both: strict where it matters, flexible where it’s safer.
2) Fix country validation (pick one standard and enforce it)
Pick the exact country value your Salesforce fields expect (often United States) and make everything map to it.
Common inputs to normalize:
USA → United States
U.S. → United States
US → United States
United States of America → United States
Implementation options:
Form dropdown: only allow “United States” (and nothing else).
Automation transform step: map variants to the canonical value before creating the Salesforce record.
3) Fix state validation (abbreviation vs. full name vs. picklist)
This is the most common failure point.
Decide which of these your Salesforce field requires:
Full state name (e.g., New York)
Abbreviation (e.g., NY)
A strict picklist option name
Then enforce it.
Implementation options:
Form dropdown: provide only the allowed US states as options.
Transform step: convert NY → New York (or vice versa), then pass the corrected value forward.
If you currently collect “State” as a free-text field, switching it to a dropdown prevents the majority of registration failures.
4) Separate contractor vs. customer data in your Salesforce model
If your registration flow includes both:
Contractor company + contractor contact, and
End customer details
…don’t store it in one “registration notes” blob.
Instead, decide upfront:
Which object represents the contractor (Account? Contact? both?)
Which object represents the customer (a second Contact? a related custom object?)
Which object represents the registration “job” / “opportunity” / “case”
Then map each incoming field into its own destination field. This makes the automation more reliable and makes reporting usable later.
5) Make field requirements explicit (so automations don’t silently fail)
Before you turn the automation on, list:
Required fields for Account creation
Required fields for Contact creation
Required fields for Opportunity (or whichever object holds the registration)
Then test a “minimum viable submission” that includes only those fields. If it succeeds, add optional fields back in one by one.
6) Handle unsupported model numbers (reject, flag, or partially process)
If some models should not be processed:
Decide whether you want to reject the entire submission, or
Process the rest and remove unsupported items
The right choice depends on your operations:
If unsupported models invalidate the whole registration, reject.
If the rest can proceed, strip unsupported items and flag the record for review.
Either way, make the rule visible:
Add helper text under the model number field in your form
Add a validation step in the automation
Log a clear reason when a submission is rejected or flagged
7) Run a test plan (don’t rely on one “happy path”)
Your test plan should include at least:
Valid US address, full state name
Valid US address, state abbreviation
Country submitted as USA / US / United States
A state value that is not a real state (should be blocked or normalized)
A submission with unsupported model numbers (should follow your chosen rule)
Common patterns we implement (so this stays maintainable)
A resilient registration automation usually has these building blocks:
Form constraints (dropdowns for country/state)
Normalization layer (transform step that outputs canonical values)
Create/update records (Accounts/Contacts/Opportunities)
A review path for edge cases (unsupported models, partial data, duplicates)
Ready to build your Salesforce registration automation?
If you want this built end-to-end — field mapping, state/country validation, error handling, and a test plan — Connex builds it for you. We've set up Salesforce registration automations for product companies, warranty programs, and contractor networks. Book a free discovery call to walk through your current flow.
Power Automate email trigger not firing? Use this checklist to fix shared mailbox folders, permissions, filters, and SharePoint invoice dedup so intake won’t stop.