Merge Fields in templates
Merge fields can be included in your template using the double flower brackets. To include a merge field in a template, {{
mergefield }}
- where mergefield
is the field that you would like to refer in a template.
Eg:
The previous example could be written as follows
Hi {{name}}, This is a gentle reminder about
income tax filing for your employment in {{company}} due on {{duedate}}.
Note
To make it consistent with templates, Fridgedoor doesn't allow merge fields with Uppercase, spaces, special charaters and camelcase.
Reserved Merge fields
Fridgedoor automatically assigns a value to few reserved merge fields that are added to your template text content.
Reserved Field | Description |
---|---|
phonenumber | Mobile phone number from csv file |
location | When you assign a location to a message, the name is automatically included |
bookingurl | Fridgedoor generates a secure unique url for every sms or email which can be viewed in browser |
eventdate | Booking event date from CSV file format: DD/MM/YYYY |
eventtime | Booking event time from CSV file format: HH:mm 24 hours |
There are some reserved fields for using different date formats on templates where date and time are used
Reserved Field | Description |
---|---|
eventdatedayab | Sun, Mon, …, Sat (en_US); So, Mo, …, Sa (de_DE) |
eventdatedayfull | Sunday, Monday, …, Saturday (en_US); |
eventdateweekdayd | Day of the month as a decimal number [01,31]. |
eventdateweeknumberu | Week number of the year (Sunday as the first day of the week) as a decimal number [00,53]. All days in a new year preceding the first Sunday are considered to be in week 0. |
eventdateweeknumberw | Weekday as a decimal number, where 0 is Sunday and 6 is Saturday. |
eventdatedayofmonth | Day of the month as a zero-padded decimal number. 01,02,,31 |
eventdatemonthab | Month as locale’s abbreviated name.Jan, Feb, …, Dec (en_US); |
eventdatemonthfull | Month as locale’s full name. January, February, …, December (en_US); |
eventdatemonthd | Month as a zero-padded decimal number. 01, 02, …, 12 |
eventdateyeard | Year without century as a zero-padded decimal number. 00, 01, …, 99 |
eventdateyearfull | Year with century as a decimal number. 1970, 1988, 2001, 2013 |
eventtimehour | Hour (24-hour clock) as a decimal number [00,23]. |
eventtimehourc | Hour (12-hour clock) as a zero-padded decimal number. 01, 02, …, 12 |
eventtimelocale | Locale’s equivalent of either AM or PM. |
eventimemin | Minute as a decimal number [00,59]. |
eventtimesec | Second as a decimal number [00,61]. |
eventtimeutc | Time zone offset indicating a positive or negative time difference from UTC/GMT of the form +HHMM or -HHMM, where H represents decimal hour digits and M represents decimal minute digits [-23:59, +23:59]. |
eventtimezone | Time zone name (no characters if no time zone exists). |
*Above configuration is same as python strftime docs.