{"id":25461,"date":"2025-11-20T10:43:41","date_gmt":"2025-11-20T09:43:41","guid":{"rendered":"https:\/\/support.serviceprotokoll.se\/?p=25461"},"modified":"2025-11-21T15:25:55","modified_gmt":"2025-11-21T14:25:55","slug":"25-11-20-use-tags-in-email-standard-templates","status":"publish","type":"post","link":"https:\/\/support.serviceprotokoll.se\/en\/25-11-20-use-tags-in-email-standard-templates\/","title":{"rendered":"25-11-20 \u2013 Use tags in Email standard templates"},"content":{"rendered":"\n<p>Now you can insert tags to create e-mail messages specially adapted for your business.<\/p>\n\n<p><a class=\"heroickb_exit_link\" href=\"?hkb-redirect&#038;nonce=1e5874b6da&#038;check=6hjfe&#038;redirect=https%3A%2F%2Fsupport.serviceprotokoll.se%2Fen%2Fkb%2Femail-and-text-messages%2F%23skapa-egna-mallar-for-att-e-posta-protokoll-och-orderbekraftelser&#038;otype=unknown&#038;oid=0&#038;source=block-content\">Learn more how to create standard email templates.<\/a><\/p>\n\n<p>Use these tags:<\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Tag<\/th><th>Gives this information<\/th><\/tr><\/thead><tbody><tr><td><strong>{company}<\/strong><\/td><td>Group\/ your company name<\/td><\/tr><tr><td><strong>{customer}<\/strong><\/td><td>Name of the customer<\/td><\/tr><tr><td><strong>{facility}<\/strong><\/td><td>{facility} = Facility name<\/td><\/tr><tr><td><strong>{address}<\/strong><\/td><td>{address} = Facility address, if none exists, visitor address is retrieved and if none of these exist, it takes the invoice address<\/td><\/tr><tr><td><strong>{futureBookings}<\/strong><\/td><td>List of futurer bookings (line separated)<\/td><\/tr><tr><td><strong>{orderRef}<\/strong><\/td><td>Order reference<\/td><\/tr><tr><td><strong>{nextBooking}<\/strong><\/td><td>Next booking (as text)<\/td><\/tr><tr><td><strong>{nextBookingName}<\/strong><\/td><td>The name of the person performing the next booking<\/td><\/tr><tr><td><strong>{nextBookingDate}<\/strong><\/td><td>Date of next booking (eg <em>Thursday 28 August<\/em>)<\/td><\/tr><tr><td><strong>{nextBookingTime}<\/strong><\/td><td>Time interval (hours) for the next booking<\/td><\/tr><tr><td><strong>{facilityOrCustomer}<\/strong><\/td><td>FacilityName if exists, otherwise CustomerName<\/td><\/tr><tr><td><strong>{customerOrderNumber}<\/strong><\/td><td>Order number from customer. If number is not available, the text &#8220;missing&#8221; is printed.<\/td><\/tr><tr><td><strong>{contactName}<\/strong><\/td><td>Contact person&#8217;s name (default \u201cNN\u201d)<\/td><\/tr><tr><td><strong>{nextBookingEstimate}<\/strong><\/td><td>Either date+time or start\u2013end date depending on whether the same day.<br\/>Example with several days booked: &#8220;We will come to you between {nextBookingEstimate}&#8221; then becomes &#8220;<em>We will come to you between Thursday 28 August and Friday 29 August<\/em>&#8220;.<br\/>Example with a day: We will come to you between {nextBookingEstimate}&#8221; then becomes <em>&#8220;We will come to you between 10am-2pm Thursday 28 August&#8221;.<\/em><\/td><\/tr><tr><td><strong>{serviceObjects}<\/strong><\/td><td>List of service objects, separated by , (comma)<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Now you can insert tags to create e-mail messages specially adapted for your business. Learn more how to create standard email templates. Use these tags: Tag Gives this information {company} Group\/ your company name {customer} Name of the customer {facility} {facility} = Facility name {address} {address} = Facility address, if&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[466],"tags":[],"class_list":["post-25461","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/posts\/25461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/comments?post=25461"}],"version-history":[{"count":2,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/posts\/25461\/revisions"}],"predecessor-version":[{"id":25465,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/posts\/25461\/revisions\/25465"}],"wp:attachment":[{"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/media?parent=25461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/categories?post=25461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.serviceprotokoll.se\/en\/wp-json\/wp\/v2\/tags?post=25461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}