Notification Channel Setup TPP VCC
Objective
Prerequisites:
- Notification rules already set and ready to use
- Notification Channels are Edited based on the Templated they inherited. The look and feel and sections Of the Email template are configured on the Channel template
Gotchas:
- Note that built-in templates imported from earlier versions of TPP cannot be modified directly because their layout structure is hidden; a new template must be created instead.
- Variables with spaces in the name are not accepted and will cause the SMTP to fail.
- Variable names are Cases Sensitive.
- Failing Macros inside Variables would also Cause TPP not to send the SMTP
Environment
TPP/TLSPDC TLSPDC
Procedure
Step1 Accessing the Configuration Console
- Open the Venafi Configuration Console / Idira Configuration Console (VCC / CCC )
- Navigate to Tools and expand Login, then Channel.
- Expand the folder where custom channels are located (e.g., "CustomEmails").
Step2: Creating an Email Templates
- Click on Manage template on "Action Menu" Top right corner
- Click New
- Enter the name for the template in the template name field.
- There will be a basic HTML which can be edited
- Instead of writing the full HTML template, copy and existing HTML from another Channel Template to edit. Or screenshot an existing email and ask an AI chat to create an HTML based on it.
Example
- Paste the HTML to the HTML and Plaintext fields of the Template Editors
- To Add Images example for logo and Banner or for anything else to the Template
- First add the image in Manage Image Then in Template Editor bottom section >> Available Images, double click on the required image ( ensure to the curser is to the correct section of the HTML).
- The image will show as {{{<imageName}}} in the HTML. So instead of doubleclicking the image it is possible to simply reference the image name inside curly brackets.
- Save and close the Template Editor.
Step3: Understanding Variables and Macros
- Use Macro and Variables as much as possible to make the template dynamic so that it is shared by many Email Channels. Text wrapped in triple dollar signs (e.g., $$$title$$$, $$$description$$$) represents variables and text in single $ are Macros that are dynamically modified later inside individual channel definitions.
example $$$Title$$$ is a variable and $Event.Component$ is a Macro - Note variable capitalization (e.g., title vs Title). Discrepancies in case structure will generate entirely separate variables, which might result in missing fields in the final sent email if they aren't filled out exactly.
Example if you use $$$Title$$$ in your Template. But within your channel Edit the Value is added to $$$title$$$ will cause the value in the email to be Empty
Step 4: Edit Notification channel
- To Edit a Notification channel, Select the Notification Channel from the list >> click Edit Message
- Ensure to Select the right Template.
- The Variable are on the left,
- The ones inside the red square > are built in Venafi ones
- The ones on purple square for example are new variables ie. anything inside the curly bracket {{{ }}}, the folder represent the template it comes from.
- The ones with the green tick suggest that The variable has some contents within them. - Double click the Variable to Update the value, Use Macros inside the variables to ensure the information sent correspond to the actual object the notification is sent for.
- Example: The following show the content of the "CallToAction" : which will be a Button labelled "View Certificate" in the email which when clicked on, opens the Certificate page on TPP Aperture.
<a href="https://$ApertureFQDN$/aperture/certificate/$GUID[$Event.Component$]$" target="_blank" style="display: block; width: 100%; padding: 16px 0; font-size: 18px; font-weight: 700; color: #ffffff; text-decoration: none; text-align: center; border-radius: 6px;">
View Certificate
</a>
Step 4 Bis: Create Notification channel
- On the Right hand Action Menu
- Click Add Channel and select SMTP Channel.
- Provide a descriptive name for the channel and click Add.
- Configure basic fields like Recipient, CC, BCC, and the Subject line. These fields can be filled using raw text or dynamic Contents via macros. which pull data from the Object.
- Click Apply to confirm and save changes.
- The Next is as for Edit Previously described on Step4
Step 6: Mapping the Channel to a Notification Rule
- Navigate to the Notification folder >> select a notification rule >> click on Properties
- Select your target SMTP channel from the menu list.