Define columns
At the beginning of the AI execution phase you define what happens to the columns of your Excel file and which columns the result contains. There are four sections for this, one below the other:
- Output schema – first you decide whether the result follows a saved output schema.
- Columns of the Excel file – the Handling for each column: does the AI edit it, does it stay unchanged, does the AI only read it or is it omitted?
- New columns (AI fills) – columns that do not yet exist in the Excel file, such as a salutation.
- Result columns – a preview of which columns the result contains and in which order.
You reach the configuration via the cog Configure phases & start of a pending execution (see Upload a job).
Output schema
Section titled “Output schema”At the very top you choose whether an output schema specifies the result columns. Neither option is preselected: as long as you have not decided, the phase cannot be saved.
| Selection | Effect |
|---|---|
| With output schema | Opens the selection of output schemas. The chosen schema brings its columns, including descriptions and rules, as new columns; its name then appears in the section. With Apply another output schema you add a further one. |
| Without output schema | You determine the result columns yourself – via the handling of the Excel columns and Add column. |
If you later switch to Without output schema, the general instructions of the schema no longer apply. The columns already applied remain and can be edited or removed.
Applying an output schema
Section titled “Applying an output schema”An output schema usually describes the whole finished list. If Excel columns are already in the result, PrintReady therefore asks after applying it: Output only the columns of the output schema?
- Yes, output schema only sets all Excel columns (except those with Omit) to Context only. The AI still reads them, but the result contains only the columns of the schema.
- No, keep Excel columns leaves the handlings as they are; the schema’s columns are added.
Columns of the schema that already exist with the same name in the result are not created twice. If the schema contains rules that do not exist in the workspace, PrintReady reports “Rules skipped”. The schema’s general instructions also apply to the execution.
If the schema was modified after an execution applied it, PrintReady asks when copying this execution whether the modifications should be applied (see Copy and compare executions).
Columns of the Excel file
Section titled “Columns of the Excel file”The table lists each column of the file in its original order. The section description shows in brackets how many rows and columns the file contains; above the table, badges show how many columns have which handling.
| Table column | Meaning |
|---|---|
| Column | The column name from the first row of the Excel file. |
| Example | A value from the file, so that you can see what the column contains. |
| Handling | What happens to the column (see below). Next to it, an eye shows whether the column is sent to the AI: grey Sent or red Not sent. |
| Content & rules | For columns with the handling “AI edits”, the Define column content button. |
The four handlings
Section titled “The four handlings”| Handling | The AI reads the column | The AI may change it | In the result |
|---|---|---|---|
| AI edits | yes | yes | yes |
| Unchanged | yes, as context | no | yes, exactly as in the file |
| Context only | yes, as context | no | no |
| Omit | no | no | no |
- AI edits is the handling for everything that should be cleaned: names, addresses, phone numbers.
- Unchanged is suitable for columns that must be in the result but must not be touched, such as a customer or membership number.
- Context only gives the AI additional information without the column appearing in the result. For example, the AI can fill a new column “Anrede” (salutation) from a column “Name”.
- Omit is for columns that neither the AI nor the result needs, such as internal remarks. Their content is not sent to the AI. So that this stands out, the row is highlighted in red and marked with Not sent (crossed-out eye); the “Omit” badge above the table is also red.
With All: AI edits, All: Unchanged and All: Context only you set the handling for all columns at once and then adjust individual columns.
Defining column content
Section titled “Defining column content”For columns with the handling AI edits, Define column content opens a dialog in which you describe what the column should contain and assign rules. Once details are stored, the button shows “Content defined” with the number of rules. The details are described in Column content and rules.
New columns (AI fills)
Section titled “New columns (AI fills)”New columns do not yet exist in the Excel file. The AI fills them from the other data in the row – for example the salutation from the first name or a letter line from the salutation and surname. So that the AI knows what belongs in them, describe the content of each new column with Define column content.
| Button | Effect |
|---|---|
| Add column | Creates an empty new column; you enter the name directly in the field. |
| Reset | Removes all new columns after a confirmation prompt. |
Use the handle on the left to drag a new column to another position; the cross on the right removes it. Each new column needs a unique name that is not already in the result as an Excel column. You apply the columns of an output schema at the top in the Output schema section.
Result columns
Section titled “Result columns”The preview shows the columns of the result, numbered in their order: first the Excel columns with AI edits or Unchanged in the order of the file, then the new columns. An icon shows for each whether the AI edits the column, whether it stays unchanged or whether it is a new column.
Red notices below the preview show what is still missing:
- At least one column must be “AI edits” or a new column must be added.
- Each new column needs a unique name.
Typical workflow
Section titled “Typical workflow”- Under Output schema, choose whether the result follows a schema – load, for example, “Mailing Standard” with With output schema, otherwise choose Without output schema.
- In the Columns of the Excel file table, choose the Handling for each column based on the Example values – often All: AI edits first and then adjust individual columns.
- For the most important columns with AI edits, define the description and rules via Define column content.
- Add missing columns with Add column.
- In the Result columns, check whether the result contains the desired columns.
- Save with Save phase at the bottom of the configuration.
It is quicker with the automatic configuration: the AI suggests the handlings, new columns if needed, the model and the instructions in one go.
Existing configurations
Section titled “Existing configurations”Executions that were set up with the earlier free column mapping are automatically converted by PrintReady to the new form:
| Before | Now |
|---|---|
| Excel column mapped to a target column and visible to the AI | AI edits, under the name of the Excel column |
| Excel column mapped, but deactivated or hidden from the AI | Unchanged |
| Excel column not mapped, but active and visible to the AI | Context only |
| Excel column not mapped and deactivated or hidden | Omit |
| Further target columns from the same Excel column | New columns with the description “Content from “…”” |
| Target columns without an Excel column | New columns |
Renamings from the earlier mapping are now done on export. Briefly check a converted configuration in the Result columns before the next start.