Variables are special keywords that you can use in your emails or saved replies. Variables will be replaced by their relevant value when an email is sent.
β
For example - If you you the variable {%recipientFirstname%}
in an email, when the email is sent, the variable will be replaced with the first name of the first recipient in the "To" field of your email.
Variables are only available on certain SendBoard plans. See plans and pricing here.
Here is a complete list of all the SendBoard variables
#οΈβ£ General Variables
Variable | Description | Example |
| The name of the Mailbox | ACME support team |
| The reference number of the email conversation | REF936 |
π€ Email Contact Variables
The "Recipient" is the first email recipient in the "To" field of outgoing emails.
Variable | Description | Example |
| First Name | John |
| Last Name | Lennon |
| Full Name | John Lennon |
The "Contact" is the contact associated with the Trello card (shown on the card back).
Variable | Description | Example |
| First Name | Paul |
| Last Name | McCartney |
| Full Name | Paul McCartney |
The "Trello User" is the Trello team member who is sending the email
Variable | Description | Example |
| First Name | George |
| Last Name | Harrison |
| Full Name | George Harrison |
In case the contact or recipient doesnβt have a name set, you can use the following trick to specify alternative text to use as a fallback.
{%variable || 'fallback'%}
e.g. Hi {%contactFirstname || 'there'%}, thanks for your email.
If you use the above example in an email, when the email is sent and there is no first name for the contact, the text βHi there, thanks for your email.β will be inserted.
π Date/Time Variables
Variable | Description | Example |
| The current date | October 3, 2016 |
| The current weekday | Monday |
| The current day of the week as a number | 01 (for Monday)
|
| ISO week numbering (starts on Monday) | 40 |
| The current month | October |
| The short name of the current month | Oct |
| The current month of the year | 01 (for January) |
| The current year | 2021 |
| The current day of the month | 09 |
| The current time | 11:23 AM |
These variables can be combine to construct custom date formats.
{%date.monthOfYear%}-{%date.dayofmonth%}-{%date.year%} {%date.time%}
This would result in e.g. 01-25-2021 11:23 AM
π» Board and Card Variables
Variable | Description | Example |
| The name of the board | Project Phoenix |
| The description of the board | This board is where the magic happens. |
| A link to the open the current board | http://trello/b/eg908... |
| The name of the card | New Request |
| The card's description (not always available) | This card is about... |
| A link to the current card | http://trello/c/eg908... |
| The internal number of the card on the board. This value changes when the card is moved to another board (not always available). | 48 |
| The internal ID of the card (always constant). | FY2OWrnc |
| The internal long ID of the card (always constant). | 571d07b591c8b68aeb4f6acc |
| The list that the card is currently in | To-Do |
| The names of all the named labels in the card, comma separated | Urgent, Important |
| The due date of the card (not always available) | Jan 16, 2021 02:55 PM |
| The date the card was created | Jan 11, 2021 11:20 AM |
| The age of the card in human friendly text | a few days ago |
| The age of a card in days, with two decimals | 1.25 (for 1 day 6 h) |
| The age of a card in hours, with two decimals | 1.67 (for 1 hour 40mins) |
π©βπ» Card Member Variables
Variable | Description | Example |
| The full names of all the members of the card, comma separated | John Lennon, Paul McCartney, George Harrison and Ringo Starr |
| The full name of the first member listed on the card | John Lennon |
| The Trello user name of the first member listed on the card | johnlennon |
| The initials of the first member listed on the card | JL |
β Card Checklist Variables
Variable | Description | Example |
| The number of checklists on the card | 1 |
| The number of complete checklists on the card | 0 |
| The number of incomplete checklists on the card | 1 |
| A formatted text with the state of all the checklists in the card, useful to add a comment with a snapshot of the state of a card's checklists. | Shopping List βοΈ Bread β Milk |
π€ Custom Field Variables
You can also use variables to insert the value of Trello Custom Fields into your emails. Just use the Custom Field name (spaces replaced with underscore "_"), and SendBoard will replace the variable with the value of the custom field. Make sure to wrap the variable name in {% %}
characters, just like other variables.
For example, if you have a custom field called 'Order Number', you can insert this value into an email by using the variable name {%Order_Number%}
.
Make sure that you use the correct case for your Custom Field names. i.e. If there are capital letters in the Custom Field, the variable should have the same.
β Variable Fallbacks
In case any of the above variables have no value set, you can use the following trick to specify alternative text to use as a fallback.
{%variable || 'fallback'%}
e.g. The due date is {%card.duedate || 'not yet set'%}
If you use the above example in an email, when the email is sent and there is no due date set on the card, the text βThe due date is not yet set.β will be inserted.