Data Cleaning Automation in Google Sheets

On This Page

Introduction

Data Cleaning Automation automates Flookup's core data cleaning operations so it runs in the background without your supervision. This is ideal for keeping large datasets consistently clean as new data arrives. You can schedule tasks at intervals ranging from every 15 minutes to once a day, with intervals up to 7 days.

If you only need a one-off lookup or spot check without scheduling, the Data Cleaning Spreadsheet Formulas may be simpler.

To open the scheduling sidebar, navigate to Extensions > Flookup Data Wrangler > Data Cleaning Automation in your Google Sheets menu.

Data Nova required. Data Cleaning Automation is available on the Data Nova plan. It does not consume AI credits. See pricing for details.


How to Schedule a Function

  1. Select the function mode. Choose the operation you want to automate from the top dropdown. The form updates to show only the relevant options for that function.
  2. Choose the processing mode. Select whether to process data to the end once or loop continuously. See Processing Modes below.
  3. Configure the data ranges. Define your data sources. Highlight the range in your sheet and click the corresponding Grab selected range button to populate each field.
  4. Set the output position. Results are written starting from the active cell at the moment you click Schedule. Select the correct starting cell before scheduling.
  5. Adjust parameters. Set the threshold, column indexes and operation type. See Function Modes for details on each.
  6. Choose a frequency mode. Select how often the task should run. See Frequency Modes.
  7. Click Schedule. A status indicator at the top of the sidebar confirms the schedule has been created.

Tip: Before scheduling, run the function manually on a small sample of your data using Data Cleaning Tools to identify the best parameters.


Function Modes

Four function modes are available for scheduling. Each requires different inputs.

Fuzzy Match by Percentage

Performs percentage-based fuzzy lookups on a schedule. Each lookup value is compared against a table column and the best match is returned.

Required inputs: Lookup values range, Table values range, Lookup column, Return column and a Threshold.

Get Unique Values by Percentage

Extracts unique rows from a data range across scheduled runs by grouping near-duplicates using percentage similarity. Only one representative entry per group is returned.

Required inputs: Data range and a Threshold.

Standardize Text Entries

Cleans text on a schedule using the same operations available in Data Cleaning Tools: remove diacritics, filter stop words, strip punctuation, extract URL domains or paths or learn transformation patterns from examples.

Required inputs: Input range and an Operation type. For text and punctuation operations, provide a Stop array range. For pattern learning, provide dirty and clean example ranges. See Pattern Training for Standardize.

Compare String Similarity

Computes percentage similarity scores between two string columns on a scheduled interval.

Required inputs: Left range, Right range and Comparison mode (by word or by phrase).


Processing Modes

Processing mode determines what happens after the function finishes a full pass over your data.


Frequency Modes

Three frequency modes control how often your scheduled tasks execute.


How Auto-Chaining Works

Minutes mode uses auto-chaining to handle datasets larger than what can be processed in a single execution. Instead of trying to process everything at once, the system works in manageable chunks.

Here is what happens during each chain link:

  1. The scheduled function wakes up at its appointed interval.
  2. It picks up from the last row it completed, using saved progress from the previous run.
  3. It processes as many rows as it can within the available time.
  4. It writes the results to the sheet so you can see progress.
  5. It schedules a one-time trigger for the next link in the chain.

This cycle repeats until one of the following occurs:

How processing modes interact with auto-chaining:
Process to the end + Minutes mode: The chain runs until every row has been processed once, then stops automatically. This is the most common combination for large one-off jobs.
Loop + Minutes mode: The chain runs indefinitely, restarting from the beginning after each full pass. Use this for datasets that are continuously updated.


Pattern Training for Standardize

When scheduling a Standardize Text Entries function with the pattern operation, you can teach the system transformation rules by providing example pairs instead of choosing from predefined operations.

Select Learn from examples from the operation dropdown. Two additional fields appear: Dirty values range and Clean values range. These are your example pairs.

Click Test pattern to preview the detected transformation. The sidebar shows a table comparing each dirty value with its expected clean result. Matching rows appear in green; mismatches indicate you may need to provide more diverse examples.

For detailed guidance on preparing example pairs and best practices, see the Learn from Examples guide.


Managing Schedules


Email Notifications

Flookup sends email notifications for key events so you are always aware of your scheduled tasks:

Notifications are sent to the email address associated with your Google account. If you do not receive emails, check that messages from our support address are not being filtered by your email provider.


Important Notes


Frequently Asked Questions

When should I use Data Cleaning Automation instead of Data Cleaning Tools?

Use Data Cleaning Automation for recurring jobs, large datasets and long-running operations. Use Data Cleaning Tools for quick interactive processing where you want to see results immediately and stay in control.

Can I stop a running schedule without losing progress?

Yes. Click Stop Chain to halt processing while preserving progress. You can resume later by scheduling the same function mode again with the same parameters.

How often can I run scheduled tasks?

You can schedule tasks from every 15 minutes up to daily, with a maximum interval of 7 days. More frequent schedules process data faster but consume your daily execution quota more quickly.

What happens during auto-chaining if the system encounters an error?

The system retries automatically a few times. If the error persists after repeated attempts, the chain stops permanently and you receive an email with the details. You can then investigate and reschedule if needed.

Can I schedule multiple functions at the same time?

Yes. Each function mode runs independently. You can have Fuzzy Match, Standardize and Compare Similarity all running simultaneously on the same spreadsheet.


You Might Also Like