Overview
Shortcodes automatically insert quote and lead information into your contracts. They ensure accurate, personalized contracts without manual data entry. Shortcodes are formatted as{{entity.attribute}} and appear as highlighted tags in the editor.
Available Shortcodes
Contracts support the same shortcodes available in workflow emails for the Quote Sent trigger.Lead Information
| Shortcode | Description | Example |
|---|---|---|
{{lead.first_name}} | Lead’s first name | John |
{{lead.last_name}} | Lead’s last name | Doe |
{{lead.full_name}} | Lead’s full name | John Doe |
{{lead.email}} | Lead’s email address | [email protected] |
{{lead.company_name}} | Lead’s company name | Acme Inc |
{{lead.phone}} | Lead’s phone number | +1 234-567-890 |
{{lead.city}} | Lead’s city | New York |
Company Information
| Shortcode | Description | Example |
|---|---|---|
{{company.name}} | Your company name | Bean Scene Coffee |
{{company.contact_email}} | Your contact email | [email protected] |
{{company.contact_phone}} | Your contact phone | +1 234-567-890 |
Quote Information
| Shortcode | Description | Example |
|---|---|---|
{{quote.event_start_date}} | Event start date | May 1, 2025 |
{{quote.event_start_time}} | Event start time | 10:00 AM |
{{quote.event_end_date}} | Event end date | May 2, 2025 |
{{quote.event_end_time}} | Event end time | 10:00 PM |
{{quote.event_address}} | Event location | 123 Main St, Anytown, USA |
{{quote.guest_count}} | Number of guests | 150 |
{{quote.number_of_days}} | Number of days | 2 |
{{quote.number_of_staff}} | Number of staff | 3 |
{{quote.service_duration_hours}} | Service duration | 4 |
Using Shortcodes
- Position your cursor where you want the shortcode
- Type the shortcode exactly as shown (case-sensitive)
- The shortcode highlights automatically when recognized
- Preview your contract to verify shortcodes render correctly
Common Use Cases
Party Identification
Party Identification
Identify the parties entering the agreement:Renders as:
“This agreement is made between Bean Scene Coffee (“Service Provider”) and John Smith (“Client”) on this date.”
Event Details
Event Details
Reference specific event dates and times:Renders as:
“Services will be provided on May 1, 2025 from 10:00 AM to 4:00 PM at 123 Main St, Anytown, USA.”
Service Scope
Service Scope
Describe the scope of services:Renders as:
“Service Provider will provide coffee catering services for 150 guests with 3 staff members for 4 hours.”
Contact Information
Contact Information
Include contact details for both parties:
Sample Contract with Shortcodes
Here’s a basic service agreement structure using shortcodes:Shortcode Best Practices
Always preview
Always preview
Use the preview feature to verify shortcodes render correctly before assigning the contract to quotes.
Use full names in formal sections
Use full names in formal sections
Use
{{lead.full_name}} instead of {{lead.first_name}} in legal text and signature sections.Include complete addresses
Include complete addresses
Use
{{quote.event_address}} for the full address rather than just city.Show both start and end times
Show both start and end times
Include both
{{quote.event_start_time}} and {{quote.event_end_time}} to clarify the service window.Handle missing data
Handle missing data
Some shortcodes may be empty if that information wasn’t collected. Test with various quote types to ensure your contract reads well even with missing optional fields.
Troubleshooting
Shortcode not highlighting?
Shortcode not highlighting?
- Check spelling and capitalization (they’re case-sensitive)
- Ensure you have both opening
{{and closing}} - Verify you’re using a valid shortcode from the tables above
Shortcode shows as text in preview?
Shortcode shows as text in preview?
- The shortcode may not be recognized - check the spelling
- Some fields may be empty if data wasn’t collected
- Verify you’re using quote-level shortcodes (contracts don’t support booking-level shortcodes)
Need shortcodes that aren't listed?
Need shortcodes that aren't listed?
Contracts support the same shortcodes as Quote Sent workflow emails. Check the workflow shortcodes documentation for the complete list.

