A spreadsheet into the CRM, on its App Shell: upload, map columns, review problems and duplicates, set owners, confirm, then a real job with progress, a result with an error file, and an undo that tells you what it will do.
This page holds the props and the code. See the template, its screens and a live preview.
On this page
Examples
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- adapter
ImportAdapter- Default
memoryImportAdapter - Your backend: fields, members, findMatches, records, start, progress, result, cancel, previewUndo, undo.
- members / fields
Member[] / TargetField[]- Default
the demo team / CONTACT_FIELDS - Who can own contacts and what a contact has.
- country / locale
string- "VN" and "vi" for Vietnamese numbers, encodings and synonyms.
- sample
"tradeShow"|"vietnamese"- Load a built-in file on the first render.
- defaultStep
number- Default
0 - Open on a later step (with sample).
- onImported
() => void- After an import and after an undo, to refresh your list.
- onDone / onCancel
(result | null) => void / () => void- Open the contacts after the job (result.createdIds lists the new records), and Cancel before anything is written.
- CrmImportFlow
component- The same wizard without the shell, for an app that has its own. The CRM template opens it from Contacts.
- embedded / labelPrefix / layout
boolean / string / page|fill- As on the other templates.
| Prop | Type | Default | Description |
|---|---|---|---|
| adapter | ImportAdapter | memoryImportAdapter | Your backend: fields, members, findMatches, records, start, progress, result, cancel, previewUndo, undo. |
| members / fields | Member[] / TargetField[] | the demo team / CONTACT_FIELDS | Who can own contacts and what a contact has. |
| country / locale | string | - | "VN" and "vi" for Vietnamese numbers, encodings and synonyms. |
| sample | "tradeShow" | "vietnamese" | - | Load a built-in file on the first render. |
| defaultStep | number | 0 | Open on a later step (with sample). |
| onImported | () => void | - | After an import and after an undo, to refresh your list. |
| onDone / onCancel | (result | null) => void / () => void | - | Open the contacts after the job (result.createdIds lists the new records), and Cancel before anything is written. |
| CrmImportFlow | component | - | The same wizard without the shell, for an app that has its own. The CRM template opens it from Contacts. |
| embedded / labelPrefix / layout | boolean / string / page | fill | - | As on the other templates. |
When 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 Wizard to my app and wire it to my own data.
- I need the import of a CRM: upload, map, review duplicates and problems, owners, then a job with undo. Set that up with the Knowns UI Import Wizard.
- Which Import Wizard props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "template-import-wizard" }) and search_docs({ query: "import wizard" }). Pro props, full examples and source come back once your license key is in the MCP config.