Crove Docs
Crove Docs
Crove Documentation

Getting Started

IntroductionQuick StartKey Concepts

Templates

Templates OverviewTemplate EditorVariablesExpressionsForm Builder

Documents

Documents OverviewCreating DocumentsFilling DocumentsE-SignaturesPDF Generation

API Reference

API OverviewAuthenticationTemplates APIDocuments APIRate Limits

Webhooks

Webhooks OverviewOutgoing WebhooksIncoming WebhooksWebhook Events

Integrations

Integrations OverviewZapier IntegrationAPI Keys

Account & Billing

Account OverviewTeam ManagementBilling & PlansWorkspace Settings

Variables

Add dynamic content to your templates with variables — the building blocks of document automation.

Variables

Variables are dynamic placeholders in your document that get replaced with real data when someone fills the form. They're the core building block of document automation in Crove.

Adding a variable

  1. Place your cursor where you want the variable to appear
  2. Click the Variable button in the toolbar
  3. Enter a name for the variable (e.g., "Client Name")
  4. Select the variable type
  5. The variable appears as a highlighted tag in your document

Variables appear inline in your text, like this:

Dear {{Client Name}},

Thank you for your order of {{Quantity}} units of {{Product Name}}
at {{Unit Price}} each. Your total is {{Total Amount}}.

Variable types

Choose the right type for each variable to get proper form fields and validation:

Text

Single-line text input. Use for names, addresses, titles, and short text.

Sub-types available:

  • Email — Validates email format
  • Phone — Phone number formatting
  • URL — Validates web address format

Text Area

Multi-line text input. Use for descriptions, comments, notes, and longer content.

Number

Numeric input with optional decimal places. Use for amounts, quantities, percentages.

Date

Date picker field. Use for deadlines, start dates, birthdates.

Dropdown

Single-select from a predefined list. Use for categories, countries, status.

Configure options in the form builder:

Options: ["Option A", "Option B", "Option C"]

Multi-Select

Choose multiple options from a list. Use for skills, services, features.

Checkbox

Simple yes/no toggle. Use for consent, opt-ins, boolean flags.

Radio

Choose one option from visible buttons. Use when there are 2-5 options and you want all visible.

File Upload

Allow the respondent to upload files. Use for ID documents, certificates, photos.

Signature

Captures an e-signature. Respondents can draw, type, or upload their signature. See E-Signatures for details.

Computed

Auto-calculated from other variables using JEXL expressions. See Expressions.

Variable properties

Each variable has configurable properties:

PropertyDescription
NameDisplay name shown in the form and document
TypeData type (text, number, date, etc.)
RequiredWhether the field must be filled
Default valuePre-filled value
PlaceholderHint text shown in the empty field
Help textDescription shown below the field
ValidationRules like min/max length, pattern, min/max value
RoleWhich respondent role fills this variable

Variable validation

Add validation rules to ensure data quality:

RuleApplies toExample
RequiredAll typesField cannot be left empty
Min lengthText, Text AreaMinimum 3 characters
Max lengthText, Text AreaMaximum 100 characters
Min valueNumberMust be at least 0
Max valueNumberCannot exceed 1,000,000
PatternTextCustom regex pattern

Assigning variables to roles

In multi-party documents, different people fill different fields. Assign each variable to a role to control who fills it:

  1. Create roles in the template settings (e.g., "Sales Rep", "Client")
  2. Assign each variable to a role
  3. When the document is sent, each recipient only sees the fields assigned to their role
Role: Sales Rep
  - Company Name
  - Unit Price
  - Payment Terms

Role: Client
  - Client Name
  - Client Address
  - Client Signature

Variable usage tracking

Crove tracks where each variable is used in your document. If you try to delete a variable that's still referenced in the document or form, you'll be warned. Remove all references first, then delete the variable.

Best practices

  1. Use descriptive names — "Client Full Name" is better than "name1"
  2. Choose the right type — Use Number for amounts (enables calculations), Date for dates (enables date formatting)
  3. Set validation — Required fields and format validation prevent incomplete submissions
  4. Group by role — Organize variables by who fills them for cleaner multi-party workflows
  5. Use defaults — Pre-fill common values to speed up form completion

Template Editor

Master the Crove rich text editor for designing professional document templates.

Expressions

Create computed fields and conditional logic with JEXL expressions in Crove templates.

On this page

VariablesAdding a variableVariable typesTextText AreaNumberDateDropdownMulti-SelectCheckboxRadioFile UploadSignatureComputedVariable propertiesVariable validationAssigning variables to rolesVariable usage trackingBest practices