Dynamic variables let you insert placeholders into contract models, email templates, and documents that automatically populate with real data when you generate or send them. You can reference customer details, quote totals, product names, and custom fields.Documentation Index
Fetch the complete documentation index at: https://docs.qwoty.io/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Dynamic variables use double curly braces:{{variable.name}}. They pull data from the customer record, quote, or line items associated with the document.
Common variable categories:
{{customer.*}}— Customer information (name, email, address, custom fields){{quote.*}}— Quote details (number, total, subtotal, status, dates){{product.*}}— Product line item details (name, quantity, price, discount){{user.*}}— Sales rep or owner information (name, email, title, phone){{company.*}}— Your company details (name, address, logo URL)
Variable names are case-sensitive. Use the exact format shown in the variable reference panel.
Insert a variable into a contract model
Open the contract model editor
In the left side menu, click Content → Contract Models, then select the contract model you want to edit, or create a new one.
Insert the variable
Type
{{ to open the variable picker, or manually type the full variable name like {{customer.name}}. Select the variable from the list or press Enter to confirm.Format variables
You can apply formatting modifiers to control how variables display.Date formatting
Add a format modifier after the variable name:{{quote.created_date | date: "MM/DD/YYYY"}}→ 12/31/2024{{quote.expiry_date | date: "MMMM D, YYYY"}}→ December 31, 2024
Number formatting
Format currency and decimal values:{{quote.total | currency}}→ $10,000.00{{product.quantity | number: 2}}→ 1,234.56
Conditional logic
Show or hide content based on variable values:Advanced conditional logic and loops require specific syntax. Contact support for custom formatting requirements.
Use variables in email templates
You can insert dynamic variables into email subject lines and body text when configuring automated notifications or quote emails. Navigate to [MENU PATH] and select the email template. Use the same{{variable.name}} syntax in the subject or body fields.
Common variables reference
| Variable | Description | Example output |
|---|---|---|
{{customer.name}} | Customer full name | Acme Corporation |
{{customer.email}} | Customer email address | contact@acme.com |
{{quote.number}} | Quote reference number | Q-2024-00123 |
{{quote.total}} | Quote total amount | 10000.00 |
{{quote.created_date}} | Quote creation date | 2024-01-15 |
{{user.name}} | Sales rep full name | John Smith |
{{user.email}} | Sales rep email | john@company.com |
{{company.name}} | Your company name | Your Company Inc. |
What happens next
When you publish a quote or generate a contract, Qwoty replaces all variables with actual data from the associated records. If a variable references a field with no value, it displays as blank unless you configure a fallback.Troubleshooting
Variable displays as {{customer.name}} instead of the actual value
Variable displays as {{customer.name}} instead of the actual value
The variable name may be misspelled or the field does not exist. Check the variable reference panel for the correct syntax. Verify the customer record contains data in that field.
Date displays in the wrong format
Date displays in the wrong format
Add a date format modifier:
{{quote.created_date | date: "MM/DD/YYYY"}}. Verify the format string matches the supported date tokens.Variable shows blank in the generated document
Variable shows blank in the generated document
The referenced field is empty in the source record. Add a default value using conditional syntax or populate the field before generating the document.
Custom field variables don't work
Custom field variables don't work
Custom field variables may use a different syntax like
{{custom.field_name}} or {{customer.custom_field_name}}. Check with your admin or the variable reference panel for custom field naming conventions. Related
Create a contract model
Build contract templates with variables and formatting
Configure email templates
Set up automated emails with dynamic content
Custom fields
Add custom fields to quotes and customers
Generate contracts
Create final contracts from approved quotes

