Getting Started with DeskDirector
Pricing & Subscription Plans
Deskdirector - Sign up walk through
Managing your DeskDirector Subscription
Logging in to DeskDirector
Automatic Contact Creation
What is the DeskDirector Admin Portal?
What is the DeskDirector Tech Portal?
What is the DeskDirector Client Portal?
DeskDirector Roles and Permissions
Feature Configuration for PSA Integrations
Tickets & Chats
A walk through all the fields available in DeskDirector forms
Getting Started with Custom Branding
Getting Started with Custom Email Templates
Getting Started with Surveys
Notifications & Broadcasts
Getting Started with the Menu System
BiggerBrains & Learning Center
The Developer Corner
Embedding Help Page Media
Permissions in DeskDirector
Managing Contacts
Tickets Access
Profile Pictures
Office Hours
How User Authentication works in DeskDirector
Managing Members/Resources Profile
Enabling Master Admin
Get started with the DeskDirector Power Automate Connector
Top 10 Request Types
Using Markdown
Desktop Portal (Installed client) Vs. Web Portal (Web Client)
Managing Company Accounts
Monitoring Portal Usage
Service Radar
DeskDirector Desktop Portal
Main Tabs vs Ticket Tabs
Auditing and Analytics
Tech Portal Board/Queue Access Configuration
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
Login & Authentication
User Groups
Approvals
Task Lists
Easy Integrations
Analytics
Dynamic Ticket Contents
The Learning Center
Webhooks
Events & Workflows
Group Tags
Custom Domains
File Storage
Integrations
ConnectWise
ConnectWise
ConnectWise Quotes & Invoices
StreamlineIT for DeskDirector Tech Portal
ConnectBooster
ConnectWise Sell
ConnectWise - Avoid Aggressive Notifications
Logging the ConnectWise API
AutoTask
QuoteWerks
Wise-Pay
TimeZest
BiggerBrains
OneNote Notebooks
Integrations - Frequently Asked Questions
Microsoft Teams App
Introducing the DeskDirector for Microsoft Team App
Setting up Content Security Policy (CSP)
Installing the Microsoft Teams App (Tech)
Setting up Tags for Teams Discussions (Tech)
Setting up DeskDirector for Microsoft Teams for your clients (Client mode)
Branding the DeskDirector Teams App
DeskDirector Teams App Notifications
User Groups Integration with Microsoft Teams
Troubleshooting
Advanced topic: Setting up Tech & Client Mode in the same tenancy
Integrating Microsoft Teams with DeskDirector Tech Portal
Smart Alerts for Tech Users
Release Notes - DeskDirector Teams App
Contact Support
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
Desktop Portal
Diagnosing DeskDirector Desktop Portal Issues
DD Portal for Mac: Labtech Deployment Guide
DDPortal removal tool - uninstalling Windows portals
Deploying DD Desktop Portal v5 via PowerShell
Desktop Portal v5 Installation & Common Issues
Instance & Account Queries
Contact Limits FAQs
Finding out what server your DeskDirector instance is on.
How search works in DeskDirector products
Portal and User Issues
User can't log in
DeskDirector Portal Browser Support
Contact can't login portal, the contact is missing in admin console but it is in ConnectWise
DeskDirector Tech Portal - How to take advantage of browser tabs
Add DeskDirector Tech Portal as a Custom Menu item inside ConnectWise Manage
Sign in with Microsoft Issue in Tech or Admin Console - "Need Admin Approval"
How do I add Tech Members/Contacts/Companies to my DeskDirector instance?
Time Stamps in DeskDirector Portal
Missing contacts or companies in DeskDirector but they are in my PSA
User Group FAQs
Chat permission granted but "Chat" option is missing on "Contact Support" page
How do we set a landing page for the client portal?
Troubleshooting via Web Developer Tools
Contact & Service Agent Impersonation
Diagnose Entities Tool
Login & Authentication - Common Issues
DeskDirector Desktop App - Installation Issues
Tickets & Chats - Common Issues
Approvals - Common Issues
Email & Email Delivery - Common Issues
PSA Integration - Common Issues
ConnectWise Integration - Common Issues
Autotask Integration - Common Issues
Switching PSA or merging with another CW/AT instance
Advanced Use
DeskDirector API
Subscribing to Chat Webhooks
Portal Deep Linking
Webhook Example with Zapier
Chat Session Payload
Get started with portal extension page demo
Dynamic content based on logged in user
Clean Tickets
Exporting Portal Usage
Security
Glossary
Release Notes
Client Portal
Server
Tech Portal
Portal Release Notes - Windows/macOS
Differences Between different Desktop Portal version
Portal Release Notes - Web Client
Release Notes in the Admin Portal
Archived
Table of Contents
- All Categories
- Microsoft Power Automate
- Actions
- Action: Create an email from template
Action: Create an email from template
Templated Email Flow
This article explores the "Create an email from template" action from our Power Automate Connector.

Intro
This action generates HTML for an email body based on a chosen template from the "Flow template" section in your DeskDirector admin console. It does not have any send functionality, so needs to be used in tandem with a send action from another connector e.g Outlook.
The advantages of using this action are:
- Styling: you can easily craft good looking, responsive emails instead of sending plain HTML. If you've used Outlook's "Send an email" action in Power Automate, you are likely sending emails without any styling. It is possible to add inline styling but this is hard to do within the small text box.
- Dynamic Content: you can leverage Liquid template language to process input tokens or customise email content before sending.
See these related articles if you are unfamiliar with our email template engine.
- Getting Started with Email Template Engine
- Creating Custom Email Template
- Template language for DeskDirector Email Templates
Usage
- In admin console, have an existing custom email template in the "Flow template" section. If your template is not in this section, it will not appear in the Power Automate action.

- In Power Automate, add the "Create an email from template" action and select your template from the dropdown.
- If your template has any custom tokens, they will appear as inputs so you can enter values for them.
- Use a send action from another connector e.g Office 365 Outlook - Send an email. For the email body, select the output of "Create an email from template". If you are using the Outlook action, switch the body input to Code View (</> button).
- Your flow should look like the following. ContactName is a custom token specified in the template.

Implementation Example
In this example, we will be extending the "Unassigned open tickets digest" flow to use a custom email template. The flow template can be downloaded from our Template Gallery.
Create the email template
Firstly, create the email template we have prepared. There are two ways to do this:
- Import via your DeskDirector instance's Swagger UI
- Navigate to
https://{subdomain}.deskdirector.com/swagger - Find this API under v3, Email Templates:
POSTÂ /api/v3/email/types/{type}/templates. You won't need an API key if you are already logged in to your instance as an admin. - Enter the following:
- type: dynamic
- req: paste the contents of this file: UnassignedTicketsDigestEmail.json
- Parameter content type: application/json
- Press Try it out! button. This will create the email template in your instance.
- Navigate to
- Or, manually create the template
- Create a new custom template under the Flow template section. Call it "Unassigned Tickets Digest Email Template"
- In the Code tab, replace the sample code with the contents of this file: UnassignedTicketsDigestEmailMjml.txt
- There will be some errors because some tokens have not been created yet. In the Tokens tab, create three custom tokens:
- totalCount: number. Sample: 50
- resultsCount: number. Sample: 20
- htmlTableString: string. Sample: <table><tr><th>col1</th><th>col2</th></tr></table>
- The template should now be error free, save
The template is now ready to use in Power Automate.
Use in Power Automate Flow
- Add the Create an email from template action between Create HTML table and Send an email (V2) actions.
- Configure the Create an email from template action:
- Template: select the template we just created: Unassigned Tickets Digest Email Template
- totalCount: total from Find tickets
- resultsCount: resultsCount from Find tickets
- htmlTableString: Output from Create HTML table
- Configure the Send an email (V2) action:
- Body
- Delete all existing content
- Switch to Code View, </> button
- Content from Create an email from template
- Body
- The final result will look like the following image. Run the flow to see the email template in action.
