Getting Started with DeskDirector
DeskDirector Portals
Browser Support
What is the DeskDirector Admin Portal?
What is the DeskDirector TECH Portal?
What is the DeskDirector Client Portal?
Desktop Portal
Managing Your Account
Pricing & Subscription Plans
Deskdirector - Sign up walk through
Managing your DeskDirector Subscription
Admin Essentials
Release Notes
Enabling Master Admin
Permissions & Feature Configuration (Tokity)
Permissions & Feature Configuration (ConnectWise/Autotask Partners)
Automatic Contact Creation
The Developer Corner
Monitoring Portal Usage
DeskDirector Features Overview
Desktop Portal Version Differences
Logging in to DeskDirector
User Profiles & Profile Pictures
Office Hours
Using Markdown
How Searching Works
Embedding Help Page Media
Get started with the DeskDirector Power Automate Connector
Features
Portal Customization
Service Catalogue
Forms
Getting started with DeskDirector Forms
DeskDirector Forms - Question Types in Detail
Dynamic Form Content
Communication
Actionable Messages for Emails
Real-Time Chats
Notifications
Email Notifications
Email Template Engine
Surveys
Broadcasts
Generative AI
DeskDirector with Generative AI
Setting up AI Service Providers
AI Assistants in DeskDirector
Custom Tools for AI Assistants
Knowledge Bases for AI Assistants
Ticket Summary for Tech Portal
Advanced
Login & Authentication
Contact & User Groups
Approvals
Task Lists
The Learning Center
Group Tags
Custom Domains
File Storage
Portal Deep Linking
Clean Tickets
Contacts
Accounts
Service Dashboard
Auditing and Analytics
Integrations
ConnectWise
ConnectWise Custom Menu Item for DeskDirector
ConnectWise
ConnectWise Quotes & Invoices
ConnectBooster
ConnectWise Sell
ConnectWise - Avoid Aggressive Notifications
AutoTask
Switching or Merging PSAs
QuoteWerks
Wise-Pay
TimeZest
BiggerBrains
OneNote Notebooks
Integrations - Frequently Asked Questions
IT Glue
Microsoft Teams App
Introducing the DeskDirector for Microsoft Team App
Installing the Microsoft Teams App (Client Mode)
Installing the Microsoft Teams App (Tech Mode)
Setting up Tags for Teams Discussions (Tech)
Branding the DeskDirector Teams App
DeskDirector Teams App Notifications
User Groups Integration with Microsoft Teams
Setting up Content Security Policy (CSP)
Advanced topic: Setting up Tech & Client Mode in the same tenancy
Integrating Microsoft Teams with DeskDirector Tech Portal
Smart Alerts for Tech Users
Microsoft Power Automate
Actions
Solutions
Power Automate Template Gallery
Featured Solution: Teams Ticket Discussion
Featured Solution: Ticket Briefing
Introduction to Power Automate
Power Automate Connector - Setting up your first flow
DeskDirector Power Platform Connector Reference
DeskDirector Connector Triggers
Troubleshooting
Troubleshooting via Web Developer Tools
Desktop Portal - Common Issues
Contact & Service Agent Impersonation
Diagnose Entities Tool
DeskDirector Desktop App - Installation Issues
Troubleshooting DeskDirector Connection Issues
Login & Authentication - Common Issues
Permissions & Access - Common Issues
Tickets & Chats - Common Issues
Approvals - Common Issues
Email & Email Delivery - Common Issues
PSA Entity Syncing - Common Issues
PSA Integration - Common Issues
ConnectWise Integration - Common Issues
Autotask Integration - Common Issues
ConnectWise Audit Trail - Exporting API Logs
Microsoft Teams App - Common Issues
Contact DeskDirector Support
Security
Glossary
Archived
- All Categories
- Archived
- Integrating Ticket Surveys into an Email Template
Integrating Ticket Surveys into an Email Template
The default DeskDirector system email template already contains logic to display a survey button to the email sent when a ticket is closed (this is assuming ticket survey is activated for the board. This means that if you are using the system email template on your board's ticket closed notification event, no change is needed from your end.
How do we know if we are using the system template for the ticket closed event of a board?
You can easily identify this from the admin console, via Email > Notification Events > Ticket Board Events then select the board you want to check and look for the Ticket Closed section. An event using the system email template will look like this:

An event using a custom email template will look like this:

For Ticket Closed events that use a custom template, surveys must be manually integrated into your template code.
How do we integrate surveys into our custom email templates?
DeskDirector email template utilizes both MJML markup language and Liquid template engine to allow user to easily code dynamic email content. This also makes it easy to integrate surveys into your custom email templates.
To get started, you can read this articles to give you an idea of how our templates work:
- Getting Started with Email Template Engine - DeskDirector
- Template language for DeskDirector Email Template
The logic for the ticket surveys can called via the Survey tag. e.g.
<mj-raw>
{% if Survey %}
</mj-raw>
<mj-text font-size="14px" line-height="1.5">
Your feedback helps us improve the process where needed, and recognize those doing a great job. I know you are busy but, if you can, please take a moment and fill out this survey for us:
</mj-text>
<mj-raw>
{% endif %}
</mj-raw>
This code snippet will check if Surveys are enabled for the board where this email template is assigned to. If yes, it will display the block of text. Here's a sample code snippet adding a "Take the Survey" button into the email template:
<mj-raw>
{% if Survey %}
</mj-raw>
<mj-column>
<mj-button font-family="Helvetica" background-color="#2e86ab" color="white" font-size="16px" font-weight="bold" href="{{ Survey.Link }}" target="_blank">
Take the Survey
</mj-button>
</mj-column>
<mj-raw>
{% endif %}
</mj-raw>
What if I am not using the Ticket Closed event but want to use a Ticket Survey?
If you are not using DeskDirector email event, the survey link can be added into your PSA's email template by using portal deep link. You can read more about deeplinking to specific tickets
Survey deeplinking can be referenced as &action=survey appended to a deeplink to a specific ticket.
For example:
https://[your-hostname].deskdirector.com/portal/deeplink?name=ticket&ticket_id=1713798&action=survey