Adding the survey to HaloPSA e-mails
Build the row of faces that goes into a HaloPSA e-mail template, check that a ticket's survey link will open, place the snippet in HaloPSA and fix survey links that fail.
Last updated About 1 month ago
The e-mail snippet is a block of HTML that shows a row of faces in an e-mail. You paste it into a HaloPSA e-mail template. When a customer selects a face, the survey opens with that face already chosen. The Email Snippets tab of CSAT Administration builds the snippet and checks that it will work. Administrators use it.
QuantumOps does not send a survey when a ticket closes. The snippet in your HaloPSA template is what reaches customers. The Trigger Rules tab sends nothing.
This page is for HaloPSA. On Autotask and ConnectWise PSA there is no template to edit, because neither has an e-mail template variable that carries a ticket id into a link. QuantumOps sends a survey from the Customer Success Center instead (Send CSAT), as a customer-visible note that your PSA e-mails to the ticket's contact. See Customer e-mail on Autotask and ConnectWise.
Before you start: you need the Administrator role, and the CSAT & Surveys module must be on. You also need permission in HaloPSA to edit e-mail templates. Check the CSAT Surveys and On-Demand Generation settings on the Survey Config tab, because a snippet cannot start a survey while either is off. See Survey settings, tags and the survey page.
Check that links will open
The Readiness panel lists everything that decides whether a click on a face opens a survey. Next to its heading, a label reads Ready, or the number of things to fix. Anything that stops links working is listed at the top in red. Select Recheck to read the settings again after you change something.
Test a ticket
Test a ticket tells you whether the survey link of a real ticket would open, and if not, why. It runs the same check as a customer's click and creates nothing.
- In Test a ticket, enter the HaloPSA ticket number. Use digits only.
- Select Test, or press Enter.
- Read the result:
- A survey would open. The ticket either has an open survey that the link reuses, or the first click creates a new one.
- The customer would see Already Submitted. The ticket's survey has been answered.
- No survey would open. The result names the problem, shows what the customer would see and says how to fix it.
Below the headline, a list of notes explains each step of the check. Use Test a ticket on a real closed ticket after you place the snippet.
Choose the faces
Under Faces, set what customers see.
- Next to Faces shown, select 3 faces or 5 faces. The rating is always 1 to 5. Three faces carry 1, 3 and 5. Five faces carry 1 to 5.
- Select a theme card: Standard, Winter, Summer, Fall or Holiday. Each card shows the faces of the survey page and the face images of an e-mail.
- Select Save faces to Survey Config. This saves the face count and the theme to the tenant default settings. They match Face Count and Face Theme on the Survey Config tab. A white-label client with its own survey settings keeps its own faces; change those on the Survey Config tab.
A label reads Not saved while your choice differs from the saved one. A warning above the snippet says the same. Save first, so that the e-mail and the survey page show the same faces.
The theme colors the faces on the survey page and the face images of an image e-mail. An e-mail with emoji looks the same in every theme, because the customer's mail app draws the emoji.
Custom faces
The Custom card is marked Not available. If you select it, a Custom faces section lets you pick an SVG file for each of the five faces, up to 100 KB each. QuantumOps checks each file and removes scripts and links to other sites. It does not save the files. Apply custom faces stays switched off, so you cannot use a custom set yet.
Build the snippet
Under E-mail snippet:
- Choose the Template. Resolved (ticket closed) is a full card with a heading, for the e-mail that you send when a ticket closes. Reply (compact) is a smaller block for the e-mails that agents send in reply.
- Choose Faces in the e-mail. Emoji (recommended) needs nothing hosted and shows in every mail app. Images (PNG) loads picture files from your survey base URL. That address must be reachable from the internet, and some mail apps hide remote images until the reader allows them.
- Check Survey base URL. It starts with the address from the Readiness panel.
- Write the Question in the e-mail. It shows above the faces. The survey page asks the question from Survey Config.
- Check the two previews: the e-mail, with a sample ticket, and the faces of the survey page.
- Select Copy HTML under Generated HTML.
The preview and the HTML follow every change. The tab remembers your template, face type, address and question the next time you open it.
Three faces are labeled Not Satisfied, Neutral and Very Satisfied. Five faces are labeled Very Dissatisfied, Dissatisfied, Neutral, Satisfied and Very Satisfied.
Place the snippet in HaloPSA
The snippet contains $FAULTID where the ticket number goes. HaloPSA fills that in when it sends an e-mail from one of its e-mail templates. It does not fill it in anywhere else, so paste the snippet only into an e-mail template.
- Copy the Resolved (ticket closed) snippet.
- In HaloPSA, go to Configuration β Email β Email Templates and open Ticket Closed, or the template that your closure e-mails use.
- Switch the editor to its code or HTML view. Pasting into the visual editor turns the HTML into text.
- Paste the snippet at the bottom of the template body and save.
- Optional: paste the Reply (compact) snippet into the template that agent replies use. Every reply then carries the faces, and clicks on the same ticket reuse one survey.
- Turn off the HaloPSA feedback survey in the same template. If you leave it on, customers are asked twice and may answer the wrong survey.
- Close a test ticket, select a face in the e-mail, then check Test a ticket and Recent link problems.
Do not paste the snippet into a portal page, a canned text, a signature or an e-mail that you write by hand. The ticket number is not filled in there, so the link cannot tell which ticket it belongs to.
A ticket can have up to Max Surveys per Ticket surveys. The first click creates one, and later clicks open the same survey. Once it is answered, the link shows Already Submitted until the survey closes.
Sign the links
A link that carries only the ticket number accepts an answer for any ticket number that anyone types. A signed link carries a key that only that ticket's e-mail holds. HaloPSA cannot work out a key by itself, so QuantumOps writes each ticket's key into a custom field of the ticket, and the e-mail template reads it back as a variable.
The Signed links section of the Email Snippets tab shows one of three states next to its heading: Not set up, Optional or Required. While it is Optional, a link with no key still opens, so the old unsigned snippet keeps working, but a link with a wrong key never opens. Required refuses every link that has no valid key, which retires the old unsigned address.
- In HaloPSA, create a ticket custom field: a single-line text field, hidden from end users. Note its numeric id.
- Under Signed links, enter the id in Halo custom field id. Variable in Halo e-mail templates fills in with the variable HaloPSA derives from the id: $CF followed by the id padded to five digits, for example $CF00513 for field 513. In the HaloPSA template editor, check that this variable is on its list, and type the exact variable here if it is different. Select Save.
- Select Write keys to open tickets. QuantumOps writes the key into the custom field of every open ticket, up to 2,000 at a time, and says how many it wrote and how many failed. From now on a ticket gets its key when it arrives in QuantumOps, so the tickets that close later already have it.
- Select Copy HTML again. The snippet now ends each face link with &sig= and the variable. Paste it into every HaloPSA e-mail template that holds the old snippet, as described under Place the snippet in HaloPSA.
- Close a test ticket and select a face in the e-mail. Then open Test a ticket and enter the ticket number. Its notes say whether signing is optional or required, and show the key the ticket should carry, so that you can compare it with the custom field in HaloPSA.
- When every template carries the new snippet and the open tickets have their keys, check Require signed links and select Save. A link from an old e-mail that has no key then shows a message that the link is not valid.
A link that carries a valid key also lets the survey show the technician's name when Show Agent Photo is on, because the key proves that the holder was sent the e-mail. A link without a key never shows it. The settings in Survey settings, tags and the survey page decide whether e-mail links may open a survey at all, exactly as before.
You cannot check Require signed links until a custom field id is saved.
Rotate signing key replaces the key that every ticket's link is made with. Use it if a key may have leaked. It needs a saved custom field id. After you confirm Rotate the signing key?, QuantumOps writes the new keys to the open tickets at once, up to 2,000, as Write keys to open tickets does, and says how many it wrote. Links in e-mails that were already sent stop opening, because they carry a key made with the old signing key. A ticket that is no longer open is not given a new key. This cannot be undone.
Fix link problems
Recent link problems lists survey links that could not open a survey, newest first, up to 25 rows. Its columns are When (UTC), Problem, Ticket, Opened on and How to fix. The same problem within 10 minutes is one row, and the Ticket column shows how many more links it stood for.
Customers who open a survey that they already answered see Already Submitted. That is not a problem and is not listed.
Related pages
- Survey settings, tags and the survey page: the settings that the snippet depends on.
- CSAT Administration: the other tabs and how to read the answers.
Was this helpful?
More in CSAT and NPS surveys
CSAT AdministrationBadges, rewards and quotasLeaderboardCSAT on a wall screen or your websiteStill need help? Ask the team