> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contentwrap.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 4: Import & Verify

> Execute your migration, monitor progress, and verify imported content in Sanity Studio before publishing.

## Final Review

Before starting the import, review your configuration:

<Steps>
  <Step title="Check the preview">
    MigrateKit shows sample documents in Sanity format:

    * Review 3-5 sample documents
    * Check Portable Text rendering
    * Verify image references
    * Confirm field mappings look correct
  </Step>

  <Step title="Review import summary">
    Confirm:

    * Total documents to import
    * Number of assets to upload
    * Target Sanity project and dataset
    * Any validation warnings
  </Step>

  <Step title="Check for warnings">
    Address any yellow warning indicators:

    * Missing recommended fields
    * Potential data type issues
    * Large file sizes
  </Step>
</Steps>

<Warning>
  **Address errors before importing**

  Red error messages will block the import. Fix these issues before proceeding:

  * Required fields with missing data
  * Invalid field types
  * Malformed HTML
  * Connection issues

  See [Troubleshooting](/troubleshooting/common-issues) for help.
</Warning>

## Execute the Import

<Steps>
  <Step title="Click 'Import to Sanity'">
    Start the migration process

    <Info>
      All documents are created as **drafts** (with `drafts.` prefix). Your published content stays safe.
    </Info>
  </Step>

  <Step title="Monitor progress">
    Watch real-time updates:

    * Documents created: XX / YY
    * Assets uploaded: XX / YY
    * Processing time estimate
    * Current operation status
  </Step>

  <Step title="Review results">
    When complete, you'll see:

    * Total documents imported
    * Assets uploaded vs. reused
    * Any warnings or errors
    * Link to view drafts in Sanity
  </Step>
</Steps>

## Understanding Import Status

<Tabs>
  <Tab title="Success">
    **Green checkmark** - Document imported successfully

    The document is now a draft in your Sanity project, ready for review.
  </Tab>

  <Tab title="Warning">
    **Yellow triangle** - Imported with warnings

    Document was created but has potential issues:

    * Some HTML didn't convert perfectly
    * Optional fields were empty
    * Asset upload was slow

    Review these documents in Sanity to ensure they look correct.
  </Tab>

  <Tab title="Error">
    **Red X** - Import failed

    Common causes:

    * Required field had empty value
    * Data type mismatch
    * Invalid Portable Text
    * Asset download failed

    See the error details and fix the issue before re-importing.
  </Tab>
</Tabs>

## Asset Upload Details

MigrateKit handles image and file uploads automatically:

### How Assets Are Processed

<Steps>
  <Step title="Download from Webflow">
    Fetches assets from Webflow CDN URLs in your CSV
  </Step>

  <Step title="Check for duplicates">
    Uses image hash to detect if asset already exists in your Sanity project
  </Step>

  <Step title="Upload or reuse">
    * **Upload**: New assets are uploaded to Sanity
    * **Reuse**: Existing assets are referenced (saves time and space)
  </Step>

  <Step title="Create references">
    Links uploaded assets to the appropriate document fields
  </Step>
</Steps>

### Asset Upload Statuses

* **Uploaded** - New asset uploaded to Sanity
* **Reused** - Existing asset found and referenced
* **Failed** - Upload failed (network error, quota exceeded, invalid URL)

<Info>
  Failed asset uploads don't block the document import. Documents import with missing image references, and you can manually upload assets later.
</Info>

## Verify in Sanity Studio

<Steps>
  <Step title="Open Sanity Studio">
    Navigate to your Sanity Studio (usually `yourproject.sanity.studio`)
  </Step>

  <Step title="View drafts">
    Click the **Drafts** filter to see imported documents
  </Step>

  <Step title="Check random samples">
    Review several documents for:

    * **Content accuracy** - Text matches Webflow source
    * **Formatting** - Portable Text looks correct (headings, lists, bold/italic)
    * **Images** - All images loaded and display properly
    * **Links** - Links are clickable and point to correct URLs
  </Step>

  <Step title="Test Portable Text">
    Open documents with rich text content:

    * Headings render at correct levels
    * Paragraph spacing looks natural
    * Lists are formatted properly
    * Bold, italic, underline preserved
  </Step>
</Steps>

## Common Post-Import Tasks

<AccordionGroup>
  <Accordion title="Fix embed code blocks">
    Webflow embeds import as code blocks for safety. Review and replace with Sanity-compatible alternatives:

    * YouTube embeds → Sanity YouTube plugin
    * Custom scripts → Sanity-safe implementations
    * Iframes → Appropriate Sanity component

    Learn more: [HTML Conversion](/concepts/html-conversion)
  </Accordion>

  <Accordion title="Recreate references">
    Since reference fields aren't migrated automatically:

    1. Note which documents should reference others
    2. Manually link references in Sanity Studio
    3. Consider creating a checklist before migration
  </Accordion>

  <Accordion title="Adjust formatting">
    Fine-tune Portable Text if needed:

    * Adjust heading levels
    * Add spacing between sections
    * Clean up formatting quirks from HTML conversion
  </Accordion>

  <Accordion title="Optimize images">
    Consider:

    * Adding alt text for accessibility
    * Cropping or resizing images
    * Adding captions or credits
  </Accordion>
</AccordionGroup>

## Publish Your Content

Once you've verified everything looks correct:

<Steps>
  <Step title="Select documents to publish">
    In Sanity Studio, choose documents from the drafts section
  </Step>

  <Step title="Publish individually">
    Click **Publish** on each document

    Or:
  </Step>

  <Step title="Bulk publish">
    Select multiple documents and publish in batch

    <Tip>
      Start with a small batch to ensure everything works before publishing all content
    </Tip>
  </Step>
</Steps>

<Check>
  Published documents are now live in your Sanity dataset!
</Check>

## If Something Went Wrong

<AccordionGroup>
  <Accordion title="Some documents didn't import">
    Check the import report for specific errors:

    * Fix issues in original CSV
    * Adjust field mappings if needed
    * Re-upload and import just the failed rows

    See [Troubleshooting: Import Errors](/troubleshooting/common-issues#import-errors)
  </Accordion>

  <Accordion title="Portable Text looks wrong">
    Common causes:

    * Complex HTML structures MigrateKit couldn't convert
    * Nested formatting that doesn't map to Portable Text
    * Custom Webflow elements

    **Fix:** Manually edit in Sanity Studio or see [HTML Conversion Issues](/troubleshooting/common-issues#html-conversion-errors)
  </Accordion>

  <Accordion title="Images are missing">
    Check:

    * Asset upload report for failures
    * Original Webflow CSV has valid image URLs
    * Sanity asset quota not exceeded

    You can manually upload missing images in Sanity Studio.
  </Accordion>

  <Accordion title="Need to re-import">
    To start over:

    1. Delete drafts in Sanity Studio (select all → delete)
    2. Adjust your field mappings in MigrateKit
    3. Re-import the CSV

    MigrateKit uses `Item ID` to update existing documents instead of creating duplicates.
  </Accordion>
</AccordionGroup>
