Skip to main content
DocsAutomator enables you to apply text styles conditionally based on specific values within documents.

How It Works

The feature operates in two steps:
1

Define the Condition

Choose an operator (text, numeric, date, or checkbox, depending on the field type) and what to compare against: a literal value, another placeholder, or a source field
2

Apply Styling

Select the desired text formatting to apply when the condition is met

Available Styling Options

StyleDescription
Background ColorHighlight color behind text
Foreground ColorText color
Font SizeSize of the text
LinkMake text a clickable link
BoldBold formatting
ItalicItalic formatting
UnderlineUnderlined text
StrikethroughStrikethrough text
Small CapsSmall capital letters
Baseline OffsetSuperscript or subscript positioning

Example: Status-Based Coloring

Scenario: Color the status field based on its value
Status ValueApplied Style
”Completed”Green text
”Pending”Orange text
”Overdue”Red text, Bold

Row Background Colors for Line Items

For tabular data presentation, DocsAutomator provides a specialized feature allowing background colors to be applied to alternating rows in line items—either on even or odd rows, creating a striped table appearance commonly used in professional documents.
Apply background color to rows 2, 4, 6, 8, etc.

Configuration

1

Open Placeholder Settings

Click the gear/settings icon next to the placeholder
2

Enable Conditional Styling

Select “Style Conditionally” option
3

Add Condition

Click “Add Condition” and configure the comparison
4

Select Styles

Choose which styles to apply when condition is met
5

Add More Conditions (Optional)

Add additional conditions for different style variations

Conditional Show/Hide

Show or hide values based on conditions

Sections

Control entire section visibility
Last modified on June 1, 2026