A variable is a placeholder you put in an email or SMS that Content Snare swaps for real detail when the message sends, such as your client's first name or a link to their request. You add one from the Variables menu while you edit a template, and it shows as a labeled bubble. Your client gets the finished text with their own details filled in.
Email and SMS templates covers creating and changing the templates themselves.
Which messages can use each variable
The email body can use every variable. An email subject line and any SMS use a smaller set, because they are plain text with no formatting.
The email body adds the picture and logo variables, plus Request link button and Comment link button. Those only show inside an HTML email, so you will find them only when you edit an email body.
The variables you can insert
The client variables always fill in the client's details and the owner variables always fill in the request ownerThe one team member assigned to a request.'s, whoever the message is addressed to. So use the owner variables when you're writing to the owner.
These can be used in an email body, an email subject line, or an SMS:
| Variable | What it inserts |
|---|---|
| Request owner | The request owner's name |
| Request owner first name | The owner's first name |
| Request owner last name | The owner's last name |
| Request owner email | The owner's email address |
| Request name | The name of the request |
| Folder name | The folder the request is in |
| Request % completed | How far through the request the client is, as a percent |
| Request days remaining | Days left before the due date |
| Request due date | The date the request is due |
| Request link URL | The link the client opens to work on the request |
| Request download button | A download button in an email body, and a plain link where there is no styling |
| Request unanswered question list | A bulleted list of the questions still unanswered (see below) |
| Client name | The client's name |
| Client first name | The client's first name |
| Client last name | The client's last name |
| Client company | The client's company name |
| Client salutation | The client's salutation |
| Client email | The client's email address |
| Client password reset link | A link for the client to set or reset their password |
| Your company name | Your organization's name |
| Your company contact | Your organization's contact name |
| Current date | Today's date |
| Comment text | The text of the comment (comment messages only) |
| Comment author name | Who wrote the comment (comment messages only) |
Scroll sideways to see the whole table
The email body adds these, which need HTML to display:
- Pictures: Request owner image, Request owner image URL, Client image, Client image URL, Comment author image
- Logos: Your company avatar, Your company avatar URL, Your company logo (branding), Your company logo URL (branding)
- Buttons: Request link button, Comment link button
The unanswered-questions list
The Request unanswered question list variable builds a bulleted list of the questions your client can see and hasn't answered yet, which makes it useful in a reminder email. It shows the first ten, then a line such as "+ 34 other questions" when more are left. You can't change how many it shows.
When a variable comes out blank
If you misspell a variable, or use one that isn't available for that type of message, it fills in as nothing. There is no error and no warning, and the message still sends with an empty space where the detail belonged.
To avoid this, add variables from the menu instead of typing them, so each one is spelled the way the system expects. The Preview Email button shows how the message reads, though a preview can fill in a tag that a real send leaves blank.
Variables in SMS messages
In an SMS, the request link comes through as a short link rather than the full address an email shows. It is the same destination, shortened to save characters.
Variables also affect what an SMS costs. The character count under the box can't include the real length of a variable, because the value isn't added until the message sends, so a variable-heavy template can run longer than the counter suggests and cost more credits. Email and SMS templates covers how SMS is billed.