Getting Started
First Time Setup
Getting Started With Jobs
Getting Started with Ticketing
Setting Sonar up for Billing
Getting Started with Accounts
Getting Started with Inventory
Baseline Configuration
User Specific Resources
How To: Using Sonar's Customer Portal
Accounts
Account Types: Overview & Example Use Cases
Account Statuses: Overview & Example Use Cases
Account Management View: Overview
Scheduled Events: Overview & Use Cases
Notes & Tasks: Best Practices & Use Cases
Child Accounts: Best Practices & How Tos
Disconnecting an Account
FCC Broadband Data Collection (BDC) Filings: How Sonar Can Help
Account List View: Overview
Specify Account ID upon Creation
Lead Intake Form Processing
Account Groups: Overview & Example Use Cases
CPUC Fixed Broadband Deployment by Address
Serviceable Addresses: Overview and Usage
FCC Data Exports: General Overview and Usage
Creating a New Account
Billing
Setting up Bank Account & Credit Card Processors
Billing Settings
Billing Defaults
Taxes Setup
General Ledger Codes: Overview
Services: Overview
Building a Data Service
Building Packages
Delinquency Billing Best Practices
Accounts in Vacation Mode
Batch Payments & Deposit Slips: Overview
Creating Discounts for Services and Packages
Setting Up Payment Methods and Taking Payments
Canadian ACH tool
Printed Invoice Batches: Overview
Delinquency Exclusions: Overview and Use Cases
Multi-Month Billing & Multi-Month Services
How to Take Bank Account Payments
Email Invoice Batch: Overview
Manual Transactions
ACH Batching: Overview
Billing Calculator
General Transactions: Best Practices
Usage Based Billing Policies: Overview and Usage
How to: Adding a Service to an Account
Usage Based Billing Policy Free Periods: Overview and Usage
Using Tax Exemptions - How To
Avalara: Overview & Setup
Print to Mail
Communication
Setting up an Outbound Email Domain
Triggered Messages: Setup
Call Logs: General Best Practices
Using the Mass Message Tool
Saved Messages: Overview
Message Categories: Overview & Use Cases
Phone Number Types: Overview and Use Cases
Email Variables & Conditions
Communication Tools: Overview
Trigger Explanations
Companies
How to: Setting Up a Company in Sonar
Managing Multiple Companies in Sonar: Best Practices
Rebranding your Sonar Instance
Financial
Contract Templates
Invoice Attachment Use Cases & PDF Examples
Invoice Messages: Overview & Use Cases
Invoices in Sonar: Examples, Creation & Contents
Integrations
Calix Integration: Overview
GPS Tracking Providers: Overview
Webhooks in Sonar: Basic PHP Example
How to Connect Cambium to your Sonar Instance
iCalendar Integration
External Marketing Providers
The Sonar Field Tech App
How to Connect Preseem to your Sonar System
Tower Coverage Integration: Overview
GoCardless Integration: Overview & Setup
Vetro FiberMap Integration: Overview
How to: Using Webhooks in Sonar
Inventory
Setup of Inventory: Manufacturers, Categories, and Assignees
Inventory List View: Overview
Inventory Model Management: General Overview
Tracking and Using Consumable Inventory
Jobs
Job Types: Best Practices
Setting Up Schedules General Overview
Applying Task Templates to Jobs
Scheduling Week View: Overview
Example Jobs & Templates
Scheduling How-to: Creating and Booking a Job
Geofences: Overview
Edit Job Options
Jobs and Scheduling: Overview
Mapping
Misc.
Monitoring
Building a Monitoring Template
Pollers: General Overview, Deployment Strategy, Build Out & Setup
Building Alerting Rotations
Poller Troubleshooting
Networking
IP Assignments & Sonar
MikroTik: Setting Up a Sonar Controlled DHCP Server
IPAM: Basic Setup
MikroTik as an Inline Device: Integration With Sonar
MikroTik: Controlling Speeds
MikroTik: Controlling Access
Setting Up CoA Proxy
RADIUS: Building Reply Attributes
Data Usage Available Methods
Pulse, Polling, and PHP
Using Multiple Network Devices in Sonar
IPAM: Overview
Cable Modem Provisioning
LTE Integration
Assigning RADIUS Addresses
Controlling Customer Speeds with Sonar: General Overview
Sonar Flow
RADIUS: Build-Out & Integration with Sonar
Network Dashboard: Overview
Being Cloud Native
Netflow Integration: Overview
Building a Device Mapper
Sonar IP Addressing
Automating IP Assignments, Data Rates, and Network Access in Sonar
DHCP Delivery
Assigning an IP Address Using Sonar's IPAM: How to
Network Sites: Management View Overview
Building RADIUS Groups
Building Address Lists
Finding your OIDs
Purchase Orders
Security
User Role Creation & Best Practices
Removing a Terminated Employee In Sonar
Password Policy In Depth
Application Firewall: General Overview and Best Practices
Users: Overview
Role Creation using GraphiQL
System
How to Best Use Global Search
How Your Data is Backed Up
How To Use GraphiQL to Understand the Sonar API
Frequently Used Terms
Sonar's Rich Text Editor
Mutations in the Sonar API
Notification Preferences
API Calls Using Third Party Applications: Personal Access Tokens
Auth0: Overview
The New Sonar API
Introducing the New Sidebar
Upgrading your Ubuntu OS - Customer Portal Upgrades
A Deeper Dive into the New Sonar API
Consuming the Sonar API
Filtering: Simple vs Advanced
Browser Compatibility and Minimum Hardware Requirements for Sonar
REST API Wrappers for V1 Compatibility
User Profile: Your Personal User Settings
SMS Notifications
Dynamic Time Zones in Sonar
System Settings: Overview
Troubleshooting the Customer Portal
Controlling Your Landing Page: Personal Preferences
Interacting with Files via the API
Getting Your Data into Sonar
Customizing Your Customer Portal
Release Notes
Reporting
Understanding Sonar Reports
How To Enhance Your Reporting With Custom Field Data
Report Licenses
Sonar's Business Intelligence: Overview
Ticketing
Ticketing: Overview
Canned Replies Examples & Templates
Canned Reply Categories
Inbound Mailboxes Example Build
Ticket Categories Best Practices & Example Build
Exploring Ticket Groups
Using Parent Tickets
How to Integrate Inbound Mailboxes with Slack
Advanced Ticketing Features
Working With the Sonar Team & Additional Resources
Sonar's Security Practices & Certifications
Sonar and General Data Protection Regulation (GDPR)
Technical Security Overview
CyberSecure Canada Certification
Sonar's Security Strategies
Best Practices for Fast Tracking a Support Request
How Sonar Bills Your Instance
The Sonar Status Page
The Sonar Community Forum
Feedback Portal / Suggest a Feature
Sonar Casts Table of Contents
How to Request Termination of your Sonar Instance
Submitting Bugs vs. Feature Requests
Third Party Customer Support Referrals
Learning with Sonar: Tools and Resources
Voice
Sonar Billing
Table of Contents
- All Categories
- Communication
- Email Variables & Conditions
Email Variables & Conditions
Updated
by Morgan Wynnes
Read Time: 5 mins
Below are all of the available variables that can be used to display data within various areas of Sonar, or that can be used as part of a conditional statement. It is important to note that the variables that will be available to you will depend on where in Sonar you are accessing them from. For example, the variables available when creating a contract template will differ from the ones available when creating an email message for a particular trigger.

Temporary Workaround for Preserving Variables When Pasting into the Editor

Temporary Workaround:
1. Click the { } button within the text editor

2. Paste the content that contains variables

3. Click the { } button again

A
Variable | What It Displays | Where It's Accessible |
*|ACCOUNT_ADDRESS|* | Account address | |
*|ACCOUNT_NAME|* | Account name | |
*|ACCOUNT_NUMBER|* | Account number | Canned Replies, Contract Templates, Email Messages, Mass Email |
*|AMOUNT|* | Amount | |
*|AMOUNT_DUE|* | Amount due | |
*|AMOUNT_DUE_ON_INVOICE|* | Amount due on invoice | |
*|AMOUNT_DUE_ON_INVOICE_RAW|* | Unformatted total amount due on this invoice | |
*|AMOUNT_DUE_RAW|* | Unformatted amount due | |
*|AUTO_PAY_DATE|* | Autopay date | |
*|IF:AUTOPAY_ENABLED|* | CONDITION: Whether autopay is enabled or not | |
*|IF:AUTOPAY_RUNS_ENTIRE_AMOUNT_DUE|* | CONDITION: Whether or not autopay runs the entire amount due |
B
Variable | What It Displays | Where It's Accessible |
*|BAD_ITEMS|* | Inventory items that are in a "Down" or "Warning" state |
C
Variable | What It Displays | Where It's Accessible |
*|COMPANY_NAME|* | Company name | |
*|CONTACT_EMAIL_ADDRESS|* | Contact email address | |
*|CONTACT_NAME|* | Contact name | |
*|CONTACT_ROLE|* | Contact role | |
*|CONTRACT_SIGNING_URL|* | URL to sign contract | |
*|CUSTOM_MESSAGE|* | Custom message (i.e. contracts, invoices) | |
*|CUSTOMER_PORTAL_URL|* | Customer portal URL | |
*|IF:CUSTOMER_PORTAL_URL|* | CONDITION: If the customer portal is enabled in the instance |
D
Variable | What It Displays | Where It's Accessible |
*|DATE|* | Date |
E
Variable | What It Displays | Where It's Accessible |
*|EXPIRING_SERVICE_LIST|* | Expiring service list | |
*|EXPIRING_SERVICE_LIST_WITH_PRICES|* | Expiring service list with prices |
F
Variable | What It Displays | Where It's Accessible |
*|FLAPPING|* | Inventory items that are flapping | |
*|FNAME|* | First name |
G
Variable | What It Displays | Where It's Accessible |
*|GOOD_ITEMS|* | Inventory items that are healthy (in a "Good" state) |
I
Variable | What It Displays | Where It's Accessible |
*|INSTANCE_URL|* | Instance URL | |
*|INVOICE_DUE_DATE|* | Invoice due date | |
*|INVOICE_NUMBER|* | Invoice number |
J
Variable | What It Displays | Where It's Accessible |
*|JOB_SCHEDULED_DATETIME|* | Job scheduled date and time | |
*|JOB_TYPE|* | Job type |
L
Variable | What It Displays | Where It's Accessible |
*|LAST_4_DIGITS|* | Last 4 digits of payment method | |
*|LATE_FEE_AMOUNT|* | Late fee amount | |
*|LATE_FEE_AMOUNT_RAW|* | Unformatted late fee amount | |
*|LNAME|* | Last name |
N
Variable | What It Displays | Where It's Accessible |
*|NEXT_BILL_DATE|* | Next bill date |
P
Variable | What It Displays | Where It's Accessible |
*|PASSWORD_CREATION_TOKEN|* | Password creation token | |
*|PASSWORD_RESET_TOKEN|* | Password reset token | |
*|PHYSICAL_ADDRESS|* | Physical address |
R
Variable | What It Displays | Where It's Accessible |
*|RECURRING_SERVICE_LIST|* | Recurring service list | |
*|RECURRING_SERVICE_LIST_WITH_PRICES|* | Recurring service list with prices |
S
Variable | What It Displays | Where It's Accessible |
*|STILL_FLAPPING|* | Inventory items that are still flapping |
T
Variable | What It Displays | Where It's Accessible |
*|TOTAL_AMOUNT_DUE_PRIOR_INCLUDING_THIS_INVOICE|* | Total amount due prior to and including this invoice | |
*|TOTAL_AMOUNT_DUE_PRIOR_INCLUDING_THIS_INVOICE_RAW|* | Unformatted total amount due prior to and including this invoice |
U
Variable | What It Displays | Where It's Accessible |
*|USAGE_CAP_IN_GIGABYTES|* | Usage cap in gigabytes | |
*|USAGE_IN_GIGABYTES|* | Usage in gigabytes | |
*|USER_EMAIL_ADDRESS|* | User email address | |
*|USER_IS_SUPER_ADMIN|* | User is a super admin | |
*|USER_LANGUAGE|* | User language | |
*|USER_MOBILE_NUMBER|* | User mobile phone number | |
*|USER_REAL_NAME|* | User real name | |
*|USER_ROLE_ID|* | User role ID | |
*|USER_USERNAME|* | User username |