Skip to main content
DocsAutomator enables grouping of line items by specified variables to create structured tables. Groups can be customized with styling options and calculations.

General Setup

Configure grouping in automation settings by selecting a placeholder/variable as the grouping key. The system then organizes line items according to values for that variable. Example: Grouping by “Status” variable creates separate sections for each status value.
Merged cells will be unmerged when grouping is active.

Styling Options

Group headers support customization via a gear icon menu:
OptionDescription
Background ColorCustomize header background
Text ColorAdjust text appearance
Headline FormatChoose “Placeholder — Value” or “Value only”
Text AlignmentLeft, center, or right positioning
BoldEnable/disable bold formatting
Hide Grouping Key ColumnRemove the grouping variable column
Sort OrderAscending, descending, or manual ordering

Manual Sorting

When selecting manual sort order, you can specify group values and their sequence. Unmentioned values appear afterward in alphabetical order.

Group Calculations

Calculations generate summary rows below each group for numeric/currency columns.

Supported Operations

OperationDescription
SumTotal of all values
AverageMean of all values
MinSmallest value
MaxLargest value
MedianMiddle value
CountNumber of items

Configuration Options

OptionDescription
Column CalculationsSelect columns and calculation types by line item key
Background ColorStyling for calculation row
Text ColorText appearance
Row TextLabel preceding calculations
Text AlignmentPosition of row text
BoldApply bold formatting
Merge CellsConsolidate preceding cells
Group calculations only work for number or currency number columns. Number format is automatically detected and maintained.

FAQ

Groups sort alphabetically, reverse alphabetically, or manually per configuration.
Yes, you can configure multiple calculations (e.g., both Sum and Average) for each column.