Training · Lesson 3

Which Data To Collect And Where It Should Sit

Collecting data looks easy: add one more column, ask one more question. The problem arrives later. Fixing wrongly collected data costs far more than fixing a wrongly written rule, because a rule sits in one place while data accumulates everywhere.

What you will learn in this lesson

This lesson takes on the ground automation is built upon: customer data. In the previous lesson you saw that a large part of faults come out of the input side. Here we set that side up correctly from the start, which means which fields get collected, how they get written and where they live.

When data is collected wrongly the problem does not show at once. It comes out months later, in bulk, and calls for cleaning up backwards. The aim of this lesson is that you build the order that makes such a cleanup unnecessary in the first place.

Lesson objectives

  • Pick the fields to collect according to how they get used
  • Write a name, type, obligation and format definition for each field
  • Pick the key that keeps one customer as one row
  • Validate data at the moment it is entered
  • Decide on a single source of truth and manage the copies
  • Set up the upkeep that keeps data clean over time

No prerequisites, though having the process map from lesson one at hand makes it easier to see which field is genuinely used.

Why is data the ground of automation?

An automation runs on the data reaching it. However correctly the rule is written, if the incoming data is broken the outgoing result is broken too. That is why data collection is not a part of the automation but the ground it stands on.

The cost of broken data grows with time. When one record goes in wrong in the first week, correcting it takes a moment. When the same mistake carries on for a year, correcting it calls for reviewing every record, and that work often goes undone while trust in the data falls.

Wrong data spreads quietly

When a field goes in wrong, every flow running on that field is touched. Messages, reports, invoices and reminders all feed from the same source.

Missing data stops the flow

When a mandatory field arrives empty, the flow either stops or skips that step quietly. The second is the more dangerous, because nobody notices.

Scattered data produces no decisions

If the same information sits in three places in three shapes, which one is right stays arguable. No report can be pulled, and one that is pulled cannot be trusted.

The three rules

The whole of a data order rests on three rules. Where these three hold, the remaining detail stays manageable; where they do not, swapping tools rescues nothing.

1 One row

A customer wants to be one row in the system. Once the same person is opened twice, the history splits, which record is current becomes unclear, and messages go out twice.

2 One format

The same information wants to be written the same way everywhere. A single spelling is chosen for phone, date, city name and currency, and applied at every point of entry.

3 One source

Each field wants one correct place. If the same information is held in two systems, which one gets updated is written down, and the other feeds from it.

The three rules hold each other up. Without one format, deduplication does not work, because the same person looks like two people under two spellings. Without one source, one row is not kept either, because every system updates its own copy.

Which fields to collect, where they live

The measure in choosing fields is use, not curiosity. Before collecting a field, ask this: in which task, at which step, will this information be used? Fields with no answer do not get collected. Fields collected in case they come in handy usually stay empty, and where they do not stay empty they turn unreliable.

Every field collected brings a load: it has to be filled, it has to be validated, it has to be kept current, and holding it creates a responsibility. That is why the field list stays short and grows as the need appears.

Before putting a field on the list

  • In which flow, at which step, will this field be read?
  • Does it have to appear in a report even though it is not read?
  • Is it mandatory, or can it stay empty?
  • Who fills it: the customer, an employee, or the system?
  • What breaks when it goes in wrong?
  • Does holding it create a responsibility?

The last question matters. Fields such as identity, health or financial information get collected only where they are genuinely needed; where they are not, leaving them out may lighten both the responsibility and the upkeep.

Step 1: Build a field dictionary

A field dictionary is the list where every field you collect is defined in one place. Its purpose is to keep the same field from meaning two things to two people. If some write a full name and others only a first name into customer name, that field no longer measures one thing.

The dictionary is not a technical document. A table or a single page is enough. What matters is that each field is defined under six headings and that this definition is open to everyone who enters data.

Six headings to write for each field

  • Name: the single name everyone uses for the field
  • Meaning: what exactly this field holds and what it does not
  • Type: text, number, date, list of options
  • Obligation: can it stay empty, and in which case is it mandatory
  • Format: how it gets written, together with an example value
  • Source: who fills it, which system it comes from

For fields with a list of options, write the options too. Where free text is left, the same thing gets written ten different ways and the field becomes impossible to report on.

Step 2: Write the format rules

The one format rule can only be applied once the format is written. For the same spelling to be used at every point of entry, what that spelling is gets decided first and worked into the field dictionary along with an example.

Format decisions look small, yet most silent faults come out of them. Details such as the leading zero of a phone number, the order of day and month in a date, or a city written in capitals, break matching.

Typical fields calling for a format decision

  • Phone: is the country code included, are spaces and brackets used
  • Date: order and separator, is a time zone needed
  • Name and surname: one field or two, capitalisation
  • Address: do city and district come from a list of options
  • Money: unit and decimal separator
  • Identity and tax numbers: length and check

Leave the format to the form rather than to the user. A list of options, a date picker and a masked field can stop the difference at entry; it comes cheaper than cleaning up afterwards.

Step 3: Choose the deduplication key

To apply the one row rule, a key that answers are these two records the same person is needed. The key is a field that separates the person from others and does not change over time.

A good key stands on its own. Where none can be found, two fields get combined. Name and surname alone do not make a key, because the same name can belong to several people and its spelling shifts.

Key candidates

Phone number, mail address, customer number, tax or identity number. Whichever is filled for every customer in your business is the candidate.

How a key is chosen

It has to be filled for every customer, be unique, stay unchanged over time and be written in one format. The field holding all four is the key.

How a clash is resolved

When a second record arrives with the same key, the system updates the existing record instead of opening a new one and writes the touched fields into the history.

Decide here as well what happens when the same customer writes through two channels. If the channel is held in a separate field, the customer stays one row and the history does not split.

Step 4: Validate the data as it is entered

The cheapest place for cleanliness is the point of entry. Correcting a field after it went in wrong comes dearer than stopping it at entry. That is why validation moves into the form.

Validation works in two layers: format validation and meaning validation. Format probes that the spelling follows the rule; meaning probes that the value makes sense. With both in place, the records left to clean up later drop sharply.

What can be done at the point of entry

  • Do not accept the record while a mandatory field is empty
  • Give a list of options, cut down on free text
  • Use a masked field for phone and date
  • If the key field already exists, show a warning and open the existing record
  • Probe values that make no sense: a birthday in the future, for instance
  • Write automatically who entered the record and when

Step 5: Decide on a single source of truth

If the same information sits in more than one place, which one counts as correct has to be written. Without that decision, every system updates its own copy and after a while which one is current stays unknown.

A single source does not mean the information sits in one place. It means it is updated in one place and flows from there to the others. Copies get read, not updated.

When writing the single source decision

  • The source system is named for each field
  • Which screen the update is made from gets set
  • How often the copies get refreshed is decided
  • What happens to a change made on a copy is defined
  • Which record wins in case of a clash is written

This decision fits into one table and sits beside the field dictionary. When it is unwritten, the argument gets had from scratch each time.

Step 6: Set up the upkeep

Data is not something cleaned once and left. People move, change numbers, company names change. That is why cleaning is not a project but a small and regular piece of upkeep.

You can have the automation do the upkeep itself. A simple check that lists mandatory fields left empty, warns when two records open under the same key, and marks values that break the format is enough in most businesses.

Regular upkeep list

  • List records with an empty mandatory field
  • Probe records opened under the same key
  • Mark values that break the format
  • Review records untouched for a long stretch
  • Gather the free text added into a list of options afterwards
  • Check whether a new field was opened without being in the dictionary

Consent, retention and access

Collecting customer data is not only a technical decision. The customer wants to be informed about what is collected, what it will be used for and how long it will be held. This lesson gives no legal advice; its aim is to help you place the subject inside the process.

In practice three things make the work easier: the purpose of collection being written, where and how consent was taken sitting in the record, and the retention period being decided up front. All three can be kept beside the field dictionary.

To place inside the process

  • Let the purpose of collection be written for each field
  • Let the moment, channel and text of consent sit in the record
  • Set a retention period and write what happens to a record once it expires
  • Define who can reach the data
  • Make the path clear for when a deletion or correction request arrives
  • If data goes outside, write where it goes and why

The details can differ by country and by sector. Keeping the number of collected fields limited to those genuinely used may lighten the load under this heading as well.

A worked example: an enquiry form

Let us work the method through a single form from end to end. The example goes through the enquiry form of a service business.

From field selection to upkeep

Field selection: the business is thinking of putting seven fields on the form. For each field the question at which step will this be read gets asked. The date of birth and occupation fields turn out to be read in none of the flows and come off the list. What remains: name, phone, mail, district, enquiry subject and description.

Field dictionary: each field is defined under six headings. The enquiry subject stops being free text and turns into a list of options, because it has to be reported on.

Format: a single spelling is chosen for the phone and a masked field goes on the form. The district comes from a list of options. Name and surname are held in one field and corrected to capitalised initials.

Key: the phone number is chosen as the key, because it is filled on every enquiry and held in one format. When a second enquiry arrives from the same number, no new record opens and the new enquiry is added to the existing one.

Validation: the form cannot be sent while mandatory fields are empty. If the number is already on file, the existing customer is shown on screen.

Single source: one system is chosen as the source of customer information. The other screens read from it, and updating happens only at the source.

Upkeep: a simple check running once a week lists records with an empty mandatory field and pairs opened under the same key.

Exercise: your own field dictionary

The return of this lesson comes from building your own field dictionary. It is short enough to finish in one sitting, and afterwards it makes every automation decision easier.

To do this week

  • Write every field you currently collect into a single list
  • Write which flow each field is read in, and mark the ones that are not read
  • Fill the six headings: name, meaning, type, obligation, format, source
  • Choose your deduplication key and write it down
  • Decide which of the free text fields could turn into a list of options
  • List records with an empty mandatory field once, and note the count

The list in the last item is the photograph of your data order today. Once the upkeep is set up, you can pull the same list again and compare.

Download the data inventory (xlsx) · which field, what it means, who enters it, where it lives and how long it is kept; format rules and deduplication are in it too.

Common mistakes

Collecting in case it comes in handy

An unused field does not get filled, and where it does, its accuracy goes unchecked. What remains is a field both empty and unreliable, while the responsibility for holding it carries on.

Leaving it to free text

Every field left as free text scatters into different spellings over time. No report can be pulled and matching does not work.

Working without a key

Where no deduplication key is chosen, the same customer opens more than once. The history splits, messages repeat, and the customer notices.

Renaming a field quietly

When a field name changes, the flows tied to it quietly start reading an empty value. The change gets made in the dictionary first, then the flows get updated.

Updating the copy

An update made on the copy instead of the source disappears at the next refresh. The user sees the change vanish and trust in the system falls.

Treating cleanup as a one off

Data cleaned once scatters again over time. Small and regular upkeep runs more easily than a large and postponed cleanup project.

Checklist

Before opening a new form or a new field, you want to be able to say yes to the items below.

Data order checklist

  • A field dictionary exists and is open to everyone who enters data
  • The purpose of use is written for each field
  • Format rules are defined together with examples
  • A deduplication key was chosen and is held in one format
  • Mandatory fields are validated at entry
  • A single source of truth was set for each field
  • A regular upkeep list is running
  • Purpose of collection, retention period and access rights are written

Glossary

The terms that come up in data conversations. Once the team shares this language, field arguments get shorter.

What comes next

In this lesson you built the field dictionary and decided where the data lives. What you hold now is a measurable task, a written process and defined fields. The next lesson deals with which tool it gets built with.

In the fourth lesson, off the shelf, no-code and custom builds get scored against seven criteria; the field dictionary from here becomes the ground of the data ownership criterion.

Lesson 4: Choosing a tool

Scoring off the shelf, no-code and custom builds against seven criteria. With a downloadable comparison table.

Lesson 2: Writing a process down

Boundary, steps, decision points and exceptions. The fields in this lesson get marked on that map.

All lessons

The whole training section and the modules added since.

We can review together whether the fields you collect are earning their place. Writing to us is enough.

Get a Quote on WhatsApp

Frequently Asked Questions

Should I collect it now in case I need it later?
Usually not a good idea. A field you will need later covers only the period after the day it is added; collecting from today does not fill the past either. Meanwhile collecting from today starts the filling burden and the keeping responsibility right away.
What happens if the same customer writes from two channels?
Without a stable field that identifies the person, two separate records appear and the report shows two customers. If the channel is kept in its own field and the record updates in a single row, that inflation does not happen.
What should I do if I have to rename a field?
First produce the list of places that read that name: reports, automation steps, exports. A rename done without that list can produce a result that returns empty without raising an error.
What about old records in a different shape?
Two routes: convert the old records to the new shape, or make the report recognise both shapes. While record counts are low the first may fit; once they have grown, the second can carry less risk.
Does a small business need this much discipline?
The right time is the start, because while record counts are low the cost is low too. Building the same order later means correcting the accumulated records as well.