Prepare data for import into an app with ChatGPT

The struggle: Your import file keeps failing or loads half-broken, because dates, phone numbers and names are in every format.

What you end up with: A cleaned import file that matches the app's format, a report of what changed and a small test import before the full one.

Data analysis checks your file against the format the app expects, fixes what it can and lists what it cannot. You import a small test batch first, so nothing breaks the real data.

Tools: ChatGPT. Level: Free to start. Time: 1 hour.

Use it if

  • Your app or tool rejects your CSV or sheet
  • You are moving data from old sheets into a new app
  • You want a record of every change made to the data

Skip it if

  • The file holds data you may not upload to ChatGPT
  • You need an auditor-grade data migration

What you need first

  • Any ChatGPT plan with file uploads
  • Your file as CSV or Excel
  • The format the app expects, such as its import template
  • A backup copy of the original file and of the app data

The method

  1. Backs up and prepares (ChatGPT: Chat)

    Save a copy of your original file and make a backup of the data already in the app. Delete columns you do not need to import, including personal data the app does not need and any column holding passwords or keys.

    You get: An untouched original and a smaller working file.

    Tip: Work only on a copy; keep the original unchanged.

  2. Checks the file against the format (ChatGPT: Data analysis)

    Upload the working file and the app's import template or format description. Send the prompt and read the report before you accept any change.

    Prompt to copy:

    I am importing the attached file into an app. The required format is: [paste template or column rules]. Do not change anything yet. Report: columns that do not match, empty required values, duplicate rows, inconsistent date and phone formats, text where numbers should be, and odd values. Give counts and 3 example rows for each problem. If the format is unclear, ask me.

    You get: A report of every problem, with counts and example rows.

    Tip: Ask for the examples, not just the totals; you need to see the pattern.

  3. Fixes the file and logs the changes (ChatGPT: Data analysis)

    Approve the fixes one group at a time, then ask for the cleaned file and a change log. Open the file in your spreadsheet and spot-check at least 20 rows against the original.

    Prompt to copy:

    Apply these fixes only: [list the ones you approve]. Write the result to a new file in the exact column order and format required. Create a second file listing every row you changed, the old value and the new value, and a third listing rows you could not fix and why. Do not guess missing values or delete rows without telling me.

    You get: A cleaned file and a log of every change.

    Tip: Rows it cannot fix should go on a separate list for you, not be guessed.

  4. Plans a test import (ChatGPT: Chat)

    Cut 5 to 10 rows from the cleaned file and import only those. Paste any error message into the chat and ask what it means. Fix the file, then import in batches.

    Prompt to copy:

    I imported a 10 row test file into [app] and got this message: [paste]. Explain it in plain words, name which column or rows likely cause it, and say what to change in the file. If you cannot tell from the message, say what I should check in the app's import help.

    You get: A tested import path and a clear read of any error.

    Tip: Test with rows that include your ugliest cases, not your cleanest.

Where this goes wrong

  • Back up the app data and the original file before any import; an import can overwrite or duplicate records.
  • Check the cleaned file yourself: totals, row counts and a sample of rows should match the original.
  • Do not upload personal data you are not allowed to share with ChatGPT, and never put passwords or keys in the file; check your own data rules first.

Sources

More like this

Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.