All Collections
Apps
Communication
Denied Entry Host Alerts
Denied Entry Host Alerts

An integration the allows a visitor's host to be notified—by email and SMS—if the visitor is denied entry due to a conditional rule.

Updated over a week ago

The core Envoy system allows for notifying specific employees when a visitor is denied entry due to a rule. This integration allows you to extend that functionality to also notify the visitor's host.

Requirements

In order for the integration to work, your employees—possible hosts—must have an email address listed on their employee record. Additionally, for SMS notifications, they must have a phone number listed that is capable of receiving SMS messages.

How to enable the app

  1. Search for Denied Entry Host Alerts > Click on it > Click Install.

  2. Accept the needed permissions.

How to customize the SMS

On the "Customize SMS" page, you can change the message that is sent to the host when their visitor is denied. You can use any of the variables listed on this page in the message. The default message is:

Your visitor {{VISITOR_NAME}} was just denied entry at {{LOCATION_NAME}} due to a rule.

How to customize the email

On the "Customize Email" page, you can change the message and subject line of the email that is sent to the host when their visitor is denied. Again, you can use any of the variables listed on the page in the subject and/or the email body.

Note: You can use HTML in the email body, but it must be minified before being inserted/pasted into the body field.

The default subject line is:

{{VISITOR_NAME}} was denied entry

and the default email body, which mimics the look and feel of the email Envoy sends the designated employees, is (note: you don't have to use HTML—you can use just text if you like):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="date=no" />
<meta name="format-detection" content="address=no" />
<meta name="format-detection" content="telephone=no" />
<meta name="x-apple-disable-message-reformatting" />
<title>Denied Visitor</title>
<!--[if gte mso 9]>
<style type="text/css" media="all">sup{font-size:100% !important}table,tr,th,td,div,p,a,strong,span{font-family:Arial,sans-serif !important}</style>
<![endif]-->
<style type="text/css" media="screen">@font-face{font-family:'Cera Pro';src:url('https://envoy-fonts.s3.amazonaws.com/cera-pro/316471_9_0.woff') format('woff');font-weight:normal;font-style:normal}@font-face{font-family:'Cera Pro Bold';src:url('https://envoy-fonts.s3.amazonaws.com/cera-pro/316471_5_0.woff') format('woff');font-weight:bold;font-style:normal}</style>
<style type="text/css" media="screen">body{padding:0 !important;margin:0 auto !important;display:block !important;min-width:100% !important;width:100% !important;background:#fff;-webkit-text-size-adjust:none}a{color:#282c36;text-decoration:none}p{padding:0 !important;margin:0 !important}img{-ms-interpolation-mode:bicubic}.mcnPreviewText{display:none !important}.btn-1 a{display:block;padding:7px 16px;border-radius:50px;color:#fff;text-decoration:none}.btn-2 a{display:block;padding:12px 24px;border-radius:4px;color:#fff;text-decoration:none}.red a{color:#ef3934}.gray a{color:#73767c}.white a{color:#fff}@media only screen and (max-device-width: 480px), only screen and (max-width: 480px){u + .body .gwfw{width:100% !important;width:100vw !important}.td,.m-shell{width:100% !important;min-width:100% !important}.mt-center{text-align:center !important}.center{margin:0 auto !important}.hauto{height:auto !important}.wauto{width:auto !important}.m-td,.m-hide{display:none !important;width:0 !important;height:0 !important;font-size:0 !important;line-height:0 !important;min-height:0 !important}.m-block{display:block !important}.fluid-img img{width:100% !important;max-width:100% !important;height:auto !important}.column,.column-dir,.column-top{float:left !important;width:100% !important;display:block !important}.content-spacing{width:15px !important}.mp-0{padding:0 !important}.mp-15{padding:15px !important}.mp-20{padding:20px !important}.mpt-20{padding-top:20px !important}.mpb-5{padding-bottom:5px !important}.mpb-10{padding-bottom:10px !important}.mpb-15{padding-bottom:15px !important}.mpb-20{padding-bottom:20px !important}.mpb-25{padding-bottom:25px !important}.mpb-30{padding-bottom:30px !important}.mpb-35{padding-bottom:35px !important}.mpb-40{padding-bottom:40px !important}.mpb-50{padding-bottom:50px !important}.mplr-15{padding-left:15px !important;padding-right:15px !important}.mp20-15{padding:20px 15px !important}.mp30-15{padding:30px 15px !important}.mp40-15{padding:40px 15px !important}}@media only screen and (max-device-width: 360px), only screen and (max-width: 360px){.h2{font-size:22px !important;line-height:26px !important}.h3{font-size:15px !important;line-height:19px !important}.text-2{font-size:16px !important;line-height:20px !important}.text-2.lh-27{font-size:16px !important;line-height:25px !important}.text-3{font-size:14px !important;line-height:18px !important}.text-3.lh-24{font-size:14px !important;line-height:22px !important}}</style>
</head>
<body class="body" style="padding:0 !important; margin:0 auto !important; display:block !important; min-width:100% !important; width:100% !important; background:#ffffff; -webkit-text-size-adjust:none;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff" class="gwfw">
<tr>
<td align="center">
<table width="550" border="0" cellspacing="0" cellpadding="0" class="m-shell" style="max-width: 550px !important;">
<tr>
<td class="td" style="width:550px; min-width:550px; font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
<table width="550" border="0" cellspacing="0" cellpadding="0" style="max-width: 550px !important; margin: 0 auto !important;">
<tr>
<td class="py-20 px-15" style="padding-top: 20px; padding-bottom: 20px; padding-left: 15px; padding-right: 15px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="pt-60 pb-64 mpb-30 mpt-20" style="padding-top: 60px; padding-bottom: 64px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="img" width="102" style="font-size:0pt; line-height:0pt; text-align:left;"> <a href="https://envoy.com" target="_blank"> <img src="https://envoy-plugin-host-notify-rule.herokuapp.com/envoy_logo.png" width="137" height="43" alt="" border="0" style="-ms-interpolation-mode:bicubic"> </a></td>
<td class="img" width="10" style="font-size:0pt; line-height:0pt; text-align:left;"></td>
<td align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="h2 pb-8" style="color:#282c36; font-family:'Cera Pro Bold', Arial, sans-serif; font-size:24px; line-height:28px; text-align:left; font-weight:normal; min-width:auto !important; padding-bottom: 8px;"> <strong style="font-family: 'Cera Pro Bold',Arial,sans-serif;">{{VISITOR_NAME}} was denied entry</strong></td>
</tr>
<tr>
<td class="text-3 lh-24 pb-30" style="color:#282c36; font-family:'Cera Pro', Arial, sans-serif; font-size:16px; text-align:left; min-width:auto !important; line-height:24px; padding-bottom: 30px;"> Your visitor was just denied entry due to a rule.</td>
</tr>
<tr>
<td class="pb-55 mpb-40" style="padding-bottom: 55px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="border-radius: 5px; border: 1px solid #e9e9ea; padding-left: 15px; padding-right: 15px;" class="px-15">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="py-16" valign="bottom" style="padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid #e9e9ea;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text-1 gray" style="padding-bottom: 1px; font-family:'Cera Pro', Arial, sans-serif; font-size:12px; line-height:16px; text-align:left; min-width:auto !important; color:#73767c;"> <strong style="font-family: 'Cera Pro',Arial,sans-serif;"> FULL NAME </strong></td>
</tr>
<tr>
<td class="text-2" style="color:#282c36; font-family:'Cera Pro', Arial, sans-serif; font-size:18px; line-height:22px; text-align:left; min-width:auto !important;"> {{VISITOR_NAME}}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="py-16" valign="bottom" style="padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid #e9e9ea;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text-1 gray" style="padding-bottom: 1px; font-family:'Cera Pro', Arial, sans-serif; font-size:12px; line-height:16px; text-align:left; min-width:auto !important; color:#73767c;"> <strong style="font-family: 'Cera Pro',Arial,sans-serif;">EMAIL ADDRESS</strong></td>
</tr>
<tr>
<td class="text-2" style="color:#282c36; font-family:'Cera Pro', Arial, sans-serif; font-size:18px; line-height:22px; text-align:left; min-width:auto !important;"> {{VISITOR_EMAIL}}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="py-16" valign="bottom" style="padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid #e9e9ea;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text-1 gray" style="padding-bottom: 1px; font-family:'Cera Pro', Arial, sans-serif; font-size:12px; line-height:16px; text-align:left; min-width:auto !important; color:#73767c;"> <strong style="font-family: 'Cera Pro',Arial,sans-serif;">OCCURRED</strong></td>
</tr>
<tr>
<td class="text-2" style="color:#282c36; font-family:'Cera Pro', Arial, sans-serif; font-size:18px; line-height:22px; text-align:left; min-width:auto !important;"> {{DENY_TIME}}, on {{DENY_DATE}}, at {{LOCATION_NAME}}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="py-16" valign="bottom" style="padding-top: 16px; padding-bottom: 16px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text-1 gray" style="padding-bottom: 1px; font-family:'Cera Pro', Arial, sans-serif; font-size:12px; line-height:16px; text-align:left; min-width:auto !important; color:#73767c;"> <strong style="font-family: 'Cera Pro',Arial,sans-serif;">REASON FOR NOTIFICATION</strong></td>
</tr>
<tr>
<td class="text-2" style="color:#282c36; font-family:'Cera Pro', Arial, sans-serif; font-size:18px; line-height:22px; text-align:left; min-width:auto !important;"> Denied due to a rule</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="pb-30" align="left" style="padding-bottom: 30px;">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="btn-2" bgcolor="#ef3934" style="mso-padding-alt:12px 24px; border-radius:4px; color:#ffffff; font-family:'Cera Pro Bold', Arial, sans-serif; font-size:16px; line-height:20px; text-align:center; min-width:auto !important;"><a href="https://dashboard.envoy.com" target="_blank" class="link white" style="display: block; padding: 12px 24px; text-decoration:none; color:#ffffff;"><span class="link white" style="text-decoration:none; color:#ffffff;"><strong style="font-family: 'Cera Pro Bold',Arial,sans-serif;">View dashboard</strong></span></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="footer-text gray" style="padding: 16px 0 40px; border-top: 1px solid #e9e9ea; font-family:'Cera Pro', Arial, sans-serif; font-size:14px; line-height:21px; text-align:left; min-width:auto !important; color:#73767c;"> Questions or concerns? Visit our <a href="https://help.envoy.com/" target="_blank" class="link-u gray" style="text-decoration:underline; color:#73767c;">help center</a> or <a href="https://envoy.com/contact" target="_blank" class="link-u gray" style="text-decoration:underline; color:#73767c;">contact&nbsp;us</a>.</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

What the host will receive

Based on the defaults shown above, the host will receive an SMS that looks like the following:

and an email that looks like this:

Did this answer your question?