Workflows need a recovery path
mateworkshoppoppios.lol

Messy inputs need clear treatment

An automated workflow cannot repair every ambiguity by reading more carefully. A blank reference, an unexpected date format and two records describing the same customer need different responses. Before asking a consultant to connect systems, define what counts as an acceptable input and what staff should do when an input fails that definition.

Separate structure from meaning

CSV, short for comma-separated values, is useful for moving tabular data. It does not enforce a business meaning for each column. Quoted commas, character encoding, blank cells and embedded line breaks all need consistent parsing. A column headed “ID” is not enough: specify which system issued that identifier and whether leading zeros matter.

Microsoft Excel is widely used to inspect and edit spreadsheets. Its automatic interpretation of values can change how identifiers or dates appear. Treat account references as text where appropriate, and compare exported values with the original records rather than relying on the displayed cell format. Google Sheets is another common collaborative spreadsheet environment; shared editing makes a controlled export and a documented owner especially important.

JSON represents structured data using objects, arrays and values. JSON Schema describes expectations such as required properties and permitted types. It can catch an absent field or an unexpected array, but a structurally valid address can still belong to the wrong customer. Keep structural validation distinct from business checks.

Give each defect a treatment

Input conditions and explicit responses
ConditionTreatmentEvidence to retain
Required reference missingHold the item and request the referenceMissing field and originating record
Format cannot be parsedReject or route for correctionOriginal value and failed rule
Possible duplicateCompare against the source of truthCandidate matches and match reason
Unexpected document categorySend to a defined review queueDocument source and unresolved category

Rejecting an input means it did not enter the workflow. Holding it means the business still has unfinished work. Make that distinction visible so staff do not mistake a validation message for a completed task.

Normalize without inventing values

Normalization makes equivalent representations comparable: trimming unwanted spaces, agreeing on capitalization for a category, or converting a documented date format. It should not guess a missing postcode, choose a currency or replace an unknown supplier with the nearest-looking name. Preserve the original alongside any transformed value so a reviewer can understand the change.

ISO 8601 provides conventions for representing dates and times. An agreed date representation avoids the ambiguity of a value such as “03/04” across regional formats. For events that depend on time, include the relevant offset or time-zone context instead of treating a local clock reading as universally meaningful.

Match duplicates against a defined identity

Two records with the same name are not necessarily duplicates. Two different names can refer to the same organization. Prefer stable identifiers from the authoritative system, and specify which combinations of fields justify a possible-match flag rather than automatic merging.

Salesforce is known for customer relationship management, including customer and activity records. QuickBooks is associated with business accounting records. A customer identifier from one is not automatically a valid accounting reference in the other. An integration needs an explicit mapping and a treatment for missing or conflicting matches; matching by display name alone can conceal the difference.

Keep merge decisions separate from duplicate detection. A reviewer should see the candidate records and understand which fields would survive a merge. Do not overwrite conflicting details merely because one record was encountered first.

Make the input contract reviewable

Ask for a field dictionary that names the source, meaning, type, required status and permitted transformations of each important value. Pair it with examples of rejected inputs, not just a clean template. This gives staff something concrete to use when a new export breaks an existing assumption.

Input rules should be tested again when a source system or export format changes. A workflow that accepts a file successfully has not necessarily interpreted that file correctly.