Skip to content
Tutorials

Spreadsheets & workflows

Create a reusable CSV cleanup app

Use an interactive Artifact to turn recurring spreadsheet cleanup tasks into a reusable app.

When to use this

Useful when repeated CSV exports contain inconsistent formatting, duplicate records, or empty fields and you want a reviewable cleanup process.

What you’ll need

  • A Claude account with access to interactive Artifacts
  • A representative CSV export that is appropriate to upload
  • Defined rules for formatting, duplicates, and missing data
Open Claude
  1. 1. Describe the cleanup task

    Start a fresh Claude conversation and request an interactive Artifact for processing CSV files. Explain where your exports come from and which recurring errors the app should address.

  2. 2. Specify safe transformations

    Ask for duplicate removal, elimination of empty records, whitespace trimming, and consistent text and date formatting. Require the app to identify missing information without filling it with guesses.

  3. 3. Add a reviewable interface

    Request a file picker, a data preview, a cleanup action, a change report, and an export option. Make clear that the interface should be understandable without programming knowledge.

    Starter request

    Create an interactive Artifact that processes [type of CSV export] according to [cleanup rules]. Include file import, a preview table, a cleanup button, a report of modifications, and CSV export. Eliminate repeated records and empty records, remove unnecessary whitespace, and normalize capitalization and dates using [preferred conventions]. Mark absent values without generating replacements. Preserve information unless a specified rule authorizes its removal, and explain changes in language suitable for someone without technical training.

  4. 4. Test a representative file

    Upload a suitable sample containing the problems you normally encounter. Run the cleaning process and inspect both the reported changes and the resulting data.

  5. 5. Correct edge cases

    Compare the output with the original, checking that legitimate records and values remain intact. Describe any incorrect transformations to Claude and repeat the test after it updates the app.

  6. 6. Keep the app for future exports

    Save the Artifact once its results meet your requirements. Reuse it for subsequent files, or use the available sharing controls if colleagues need the same workflow.

AI-generated results need independent checking before use.