Skip to content

Import Review

What will happen to every row before anything is written: problems fixed once per value, the same person combined inside the file, possible duplicates listed but never merged, and one policy for contacts that are already there.

On this page

Examples

Accents and phone numbers

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

validated
Validated
From validateRows(table, mapping, fields, { country, fixes }).
fixes / onFix
ValueFixes / (key, value) => void
A value for every row with that field and value; null skips those rows; undefined clears the fix.
clusters / possible
Cluster[] / PossibleGroup[]
From clusterRows(rows, [...DEFAULT_MATCH_RULES, ...POSSIBLE_RULES]).
decisions / onDecide
Record<id, combine | apart>
Defaultcombine clusters, keep possible apart
Per group.
existing / records
ExistingMatch[] / Record<id, Rec>
From your adapter's findMatches and records.
policy / onPolicyChange
fill-empty | overwrite | skip | create
Default"fill-empty"
What happens to contacts already there.
picks / onPick
Record<line, recordId>
The contact a row updates when several match.
overrides / onOverride
Record<line, Record<field, file | existing>>
Sides picked in the compare sheet.
checking / checkError / onRetry
boolean / string / () => void
The match lookup's state.
country
string
"VN" shows phones as 0xx.

Accessibility

  • Each section is a heading with a disclosure button that says how many items it holds.
  • Combine or keep apart and the policy are segmented controls with labels; possible duplicates are radio groups.
  • The compare sheet traps focus, names each field, and returns focus to the Compare button.

When to use

When to use

  • The check before an import: problems per value, duplicates in the file and contacts already there.
  • Deduplicating a list before it is written.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Import Review to my app and wire it to my own data.
  • I need the check before an import: problems per value, duplicates in the file and contacts already there. Set that up with the Knowns UI Import Review.
  • Which Import Review props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "import-review" }) and search_docs({ query: "import review" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Import Review, or found something off? We read every message.