Skip to main content

Table Fields

Table fields capture repeating sets of related data in a document — typically one row per item, each containing the same set of fields (e.g. description, quantity, amount). Affinda supports both classic grid-style tables and more irregular or nested layouts. Clean, column-based tables are handled using Grid mode, while stacked or semi-structured rows are handled using Freeform mode.

You don’t need perfectly aligned layouts; as long as each row follows a consistent pattern, a table field can extract it effectively.

Creating tables

The most efficient way of creating tables is to draw a box around a table on the document (excluding any header rows) when in Field Configuration. Affinda will instantly recognise the table structure, as well as the child fields or columns within the table, and create these fields for you. You can add, remove, and edit table columns the same way you would regular fields. Alternatively, you can create a table manually by:
1

Navigate to Field Configuration

From within the document validation interface, select ‘Configure Fields’ in the top right corner
2

Create the parent field

Select ‘Add Field’ in the left panel
3

Select Table data type

4

Add column fields

Once the data type has been configured to a table on the parent field, an option to add column fields will be provided in the left panel.

Reviewing extracted data from tables

To understand how to use our table editor, see Table Editor Tutorial.

Group Fields

Group fields in Affinda are dynamic objects that can include any other data type as children. They help organize related fields under one umbrella, allowing for more structured data extraction and processing. This is ideal when dealing with complex documents where related data points need to be grouped. Examples of group fields include:
  • Resumes: Group fields to structure work experience entries with job title, company name, and employment dates
  • Legal Documents: Group party details such as name, role, and contact information for each party involved
  • Forms: Organize repeated information blocks like references or emergency contacts.
Tip: Only use a group field when you expect several different versions of the same set of fields and need to keep the data from each version together.If the related fields appear only once, leave them as regular fields and place them under a header instead. Group fields should always be multiple.

Creating Group Fields

The process for creating Group fields is simple.
1

Navigate to Field Configuration

From within the document validation interface, select ‘Configure Fields’ in the top right corner
2

Create the parent field

Either draw a box around an entire group on the document or select ‘Add Field’ in the left panel
3

Select Group data type

4

Add child fields

Once the data type has been configured to Group on the parent field, an option to add Child fields will be provided in the left panel. Users can then add any child fields and configure their settings.