Hands holding a tablet beside an open laptop at a round table, banner image on the Dataset cleanup page

Template - Automation starter - About 45 minutes

Dataset cleanup

Automation starter: profiling: missing values, duplicates, type errors

What ships inside

1

Profiling: missing values, duplicates, type errors

2

Documented cleaning steps in a repeatable order

3

Distribution charts before any aggregate

4

A cleaned export alongside the audit trail

Install

Step 1

State the analysis question before cleaning anything.

Step 2

Profile first and read the report; clean what is actually broken.

Step 3

Keep the audit trail so the cleaning is defensible.

A worked example

An ops analyst gets a 4,000-row orders CSV and the question 'which region has the slowest delivery?' Sample profile findings (example).

FindingCountCleaning step
Missing delivery_date212 rowsDrop for this question, note in the audit trail
Duplicate order_id37 rowsKeep the latest, log the rest
'12/31/26' vs '2026-12-31'Mixed formatsParse to one format
Region typed 'Eastern', 'east', 'EAST'3 spellingsMap to one value

The numbers shown are examples. Swap in your own.

Done looks like

  • The analysis question is written before cleaning
  • Every changed row is explained in the audit trail
  • Distribution charts come before any average

Mistakes to avoid

  • Cleaning columns the question never uses
  • Dropping outliers silently
  • Exporting without the audit trail

What it connects

Bigquery

Each connector page describes what it does.

Get this template

Download the workflow definition (json) - the full trigger, steps and connector requirements as a workflow file, ready to import when Automate opens. Every step is readable on this page and in the linked playbook today.

Related playbook: Clean and analyze a dataset visually

All templates

Questions about this template

How long does Dataset cleanup take to set up?

Plan for about 45 minutes for the first run. The install steps above are in order, and the worked example shows what a finished setup looks like with example data.

How does it work?

The workflow file will be importable when Automate opens. Every step is readable on this page and in the linked playbook, and the Bigquery connector pages cover the services involved.

What should I do first?

State the analysis question before cleaning anything.

The playbook behind this template

This template follows Clean and analyze a dataset visually. The same steps, with the free tool that does each one.

Step 1 of 5

State the question before opening the file; analysis without a question produces charts about nothing.

Step 2 of 5

Profile the mess first: missing values, dupes, type errors. Clean in a documented order so it is repeatable.

Step 3 of 5

Chart the distribution before the aggregates - averages lie, distributions confess.

Step 4 of 5

Build the one chart that answers the question and resist adding five more that decorate it.

Step 5 of 5

Export the cleaned dataset alongside the chart so the next analysis starts clean.

Free tools you can use with it

These run in your browser with no account.

Data Dedupe Cleaner

Paste a CSV, a spreadsheet selection or a plain list. Pick the columns that decide whether two rows are the same, how forgiving the match is, and which row survives. Optionally fill the survivor's empty cells from the rows you drop, and review near-duplicates such as "Jon Smith" and "John Smith" before anything is removed. A report lists every drop with its line number. Everything runs in your browser. Nothing is uploaded.

    CSV to Chart

    Paste data or open a file. The tool reads numbers, dates and text, including currency signs, percentages, brackets for negatives and comma-or-point decimals, and shows you what it understood for every column before it draws. Choose bar, horizontal bar, stacked bar, line, area, scatter or pie with one or more series. Anything it could not read is listed by line number instead of being drawn as zero. Everything runs in your browser. Nothing is uploaded.

      JSON Data Studio

      Paste JSON and learn what is wrong with it, down to the line and column. Repair the usual mistakes with a visible list of every change. Then query it, browse it as a tree or a table, infer a schema, flatten it for a spreadsheet or a config file, and export. Everything runs in your browser. Nothing is uploaded or saved.

        Services this template touches

        Each connector page shows whether it is available yet.

        BigQuery

        Uses:

        • Nightly rollup queries write results to the reporting dataset.
        • Bytes-processed per query tracks against budget.
        • Scheduled query failures alert with the SQL attached.

        Until it ships, set this part up by hand in BigQuery.

        What is in the workflow file

        The download is a workflow file. These are its fields.

        Kindautomation-workflow
        Statusdraft-definition
        Connectorsbigquery
        Linked playbookclean-and-analyze-a-dataset-visually
        Install steps3
        Included parts4
        A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the Dataset cleanup page

        Start from working, not from blank.

        Each template lists what ships inside and the install steps.