Below is a list of variables that can be used in the SendGrid Email templates.
| field name | example value |
|---|---|
| course__id | 1 |
| course__code | C-ND1-DDX-TUWESA-02/28/2017-2139 |
| course__template_name | Spanish 1 |
| course__cancelled | False |
| course__max_slots | 10 |
| course__price | 400.60 |
| course__is_retention | False |
| course__producer | |
| course__teacher_confirmed | False |
| course__session_count | 11 |
| course__student_list | Morty Sanchez, [email protected] |
| course__timeframe | 9:39 - 9:39PM |
| course__days | Tuesday, Wednesday and Saturday |
| course__end_date | Sat, Mar 25 |
| course__end_time | 9:39PM |
| course__start_date | Tue, Feb 28 |
| course__start_time | 9:39PM |
| course__skip_dates | Wed, Mar 01 |
| course__monday | False |
| course__tuesday | True |
| course__wednesday | True |
| course__thursday | False |
| course__friday | False |
| course__saturday | True |
| course__sunday | False |
| course__book_list | |
| course__teacher | 1 |
| course__template | 1 |
| course__venue | 1 |
| course__weekly_session_count | 3 |
| field name | example value |
|---|---|
| enrollment__id | 6 |
| enrollment__dropped | False |
| enrollment__fc_books_purchased | |
| enrollment__parent | |
| enrollment__enrolled_in | 1 |
| enrollment__student | 1 |
| field name | example value |
|---|---|
| student__id | 3 |
| student__first_name | Luke |
| student__last_name | Skywalker1 |
| student__email | [email protected] |
| student__phone_number | 78586753091 |
| student__zip_code | |
| student__credit | 0.00 |
| student__is_staff | False |
| student__is_active | True |
| student__is_corporation | False |
| student__is_superuser | False |
| student__last_login | |
| student__user_permissions | |
| student__groups |
| field name | example value |
|---|---|
| teacher__id | 1 |
| teacher__humanity_id | 1 |
| teacher__first_name | Rick |
| teacher__last_name | Smith |
| teacher__nick_name | Grandpa |
| teacher__email | [email protected] |
| teacher__staff_email | [email protected] |
| teacher__phone_number | |
| teacher__photo | |
| teacher__bio | bio text here |
| teacher__short_bio | teacher short bio |
| teacher__quote | What up my glip glops? |
| teacher__quote_photo | |
| teacher__blog_url | |
| teacher__cost | 20.00 |
| teacher__credit | 0.00 |
| teacher__notes | |
| teacher__featurable | False |
| teacher__is_active | True |
| teacher__is_staff | False |
| teacher__is_superuser | False |
| teacher__teaches_kids | False |
| teacher__languages | |
| teacher__location | 2 |
| teacher__last_login | |
| teacher__groups | |
| teacher__user_permissions |
| field name | example value |
|---|---|
| location__id | 4 |
| location__name | Fluent City |
| location__abbreviation | FC |
| location__slug | fluent-city |
| location__radius_miles | 10 |
| location__center | (0.0 0.0) |
| location__enabled | True |
| location__featured_product | |
| location__featured_product_cta | |
| location__home_product_1 | |
| location__home_product_2 | |
| location__home_product_3 | |
| location__home_product_4 | |
| location__languages | "French, Spanish, German" |
| location__weight | 0 |
| field name | example value |
|---|---|
| venue__id | 1 |
| venue__humanity_id | |
| venue__enabled | True |
| venue__name | Fluent City |
| venue__city | New York |
| venue__state | NY |
| venue__zip_code | 11211 |
| venue__street_address | 143 Skillman Ave |
| venue__neighborhood | Williamsburg |
| venue__remote_site | False |
| venue__location | 4 |
| venue__weight | 99.0 |
| venue__additional_data | You can contact the student coordinator Leia at (555) 8675309... |
| venue__additional_instructions | 143 Skillman Ave b/w Graham & Manhattan Aves (Graham Ave. L train stop) |
| venue__classroom_details | Food and Drink: No food in classrooms here... |
| venue__equipment | White Boards: The use of permanent markers and crayons on white boards... |
| field name | example value |
|---|---|
| order__id | 6 |
| order__stripe_id | |
| order__promotion | |
| order__purchaser | 1 |
| order__credit_used | 0 |
| order__method | credit_card |
| order__http_referrer | |
| order__original_http_referrer | |
| order__utm_info | {} |