Help Centre › Building Processes
A process that reads a spreadsheet breaks in confusing ways when someone renames a column or deletes a sheet. Input file validation stops that. You show Automize a good file once. From then on the bot compares every file with it and stops early, with a clear message, when the layout has changed.
Only the layout is kept: sheet names, column names, column types, tables and named ranges. The values in the file are never stored. Excel files (.xlsx) are supported.
1. Set it up
- Open the process and choose the Add step tab. Add an Input file to the map.
- Draw a line from the Input file to the step that opens the file.
- Click the Input file and choose Upload sample file. Pick a file that is right.
The popup now shows the sheets and columns it found and when it was saved. If the file's layout changes on purpose, choose Re-baseline and upload the new file.
The process's Data tab lists every input file under File inputs.
2. What the bot checks
The bot checks the file before the run starts, and again at the step that opens it. For each difference it does what you chose (see below):
- Halt run – the run stops before using the file. If it is caught before the start, the run is rejected with the reason.
- Warn – the run goes on, and the difference is noted.
- Info only – noted quietly.
- Ignore – not reported.
3. Choose what counts as breaking
In the Input file popup, open Drift gating. Each kind of change has its own setting:
| Change | Default |
|---|---|
| Sheet removed | Halt run |
| Column removed | Halt run |
| Column data type changed | Halt run |
| Header row moved | Halt run |
| Column renamed | Warn |
| New column added | Warn |
| Table removed | Warn |
| Columns reordered | Info only |
| New sheet added | Info only |
| Named range removed | Info only |
For example, if your steps find columns by name, a new column order does no harm, so leave it at Info only. If they read by position, set it to Halt run.
4. Fix a file whose layout moved
When files arrive with columns renamed or moved, add a Reshape a data file to a target layout step before the steps that read it. Give it the layout of a file that works. It writes a new file in that layout, so the rest of the process runs unchanged. It matches columns by name first, then by similar names and position, and asks AI only for what is left. By default only the column names are sent to AI, not the values. If a column cannot be placed, the step fails rather than guess.