HomeGuidesRecipesAPI
HomeGuidesAPILog In

Communication Templates

Communication Templates allow the designer to create and modify templates which can be used in place of default system emails as well as used as the input to some inbuilt Actions and Escalations (primarily Send Email).

Templates can be managed via the "Communication Templates" link on the left-hand navigation menu in Manage:

Template NameDescription
Approval Approve DefaultDefault email notification after a project has been approved.
Approval Comment DefaultDefault email notification that someone has commented on your project.
Approval Comment Reply DefaultDefault email notification that someone else has also commented on a project you are in.
Approval Reject DefaultDefault email notification after a project has been rejected.
Approval Submission DefaultDefault email notification that someone has submitted a project and that it needs your approval.
DisclaimerA disclaimer statement that addresses or denies specific points regarding liability that will be added to the bottom of the login page.
Email Approval TemplateEmail notification acknowledging the decision chosen.
Forgot Password - Multiple Users FoundEmail containing a link to reset the password.
Forgot Password - User FoundEmail containing a link to reset the password for a specific user.
Forgot Password - User Not FoundEmail notification for a user not found in the system who is trying to change their password.
Temporary User - RecoveryAn email sent to a temporary user with a code to access the project.
Temporary User - Save In ProgressAn email sent to a temporary user with a code to access the project.
Terms of ServiceProvides details about what a service provider is responsible for. A popup will display during login if the user needs to accept the terms of service.

Terms of Service settings can be configured in Manage > Settings > General.
Workflow Mention DefaultDefault email notification when someone mentions you in a comment.
Workflow Observer DefaultDefault email notification sent to an observer with a link to the project they can view and monitor.
Workflow ReassignEmail notification for when a task has been assigned to you.
Workflow Task InaccessibleEmail notification stating that a task is inaccessible.

System Templates

SmartIQ comes with default system templates for commonly used content like password reset that will be emailed to users at the relevant time, or website content like Terms of Service and Disclaimer text. These template contents can be modified and additional languages added but cannot be deleted or renamed. For custom content and email templates, refer to Custom Templates.

To make changes to System Templates contents:

  1. Go to Manage > Communication Templates.
  2. Click on the system template you want to make changes to. The Edit Communication Template page opens.

  1. Make changes to the Subject and/or Text body.
  2. Click Save.

Custom Templates

Custom templates allow a designer to create a template which can be used with the Send Email action and escalation. There are two types of custom templates:

  • New Communication Template - make changes to the email body content
  • New Email Template - make changes to the subject and email body content

Adding a New Communication Template

  1. Go to Manage > Communication Templates.
  2. Click the New Communication Template button.
  3. Enter a name for the template.
  4. Click Save. The Edit Communication Template page opens.
  5. Make changes to the template Name and/or Text body.
  6. (Optional) Add a translation.
  7. Click Save.

Adding a New Email Template

  1. Go to Manage > Communication Templates.
  2. Click the New Email Template button.
  3. Enter a name for the template.
  4. Click Save. The Edit Communication Template page opens.
  5. Make changes to template Name, Subject and/or Text body.
  6. (Optional) Add a translation.
  7. Click Save.

Translations

Both System and Custom templates can have translations added for multiple languages. These will be substituted as appropriate according to the language defined in the user's profile. If the user’s profile language is not defined, SmartIQ will send the email using the default language.

👍

Best Practice

Leave the first email as Default Language. This ensures that if the user’s profile language does not match any of the translations added, they will still receive an email using the default language.

Adding Translations:

  1. Go to Manage > Communication Templates.
  2. Click on any of the templates you want to add languages to. The Edit Communication Template page opens.
  3. Click Add Translation.
  4. Select the language from the drop-down list.
  5. Add the Subject and/or Text body for that language.

  1. Click Save.

Using Communication Templates in Design

Once defined in Manage, Custom communication templates can be used in Design, where supported by an Action. This means that the Send Email action can have its Email Body input drawn from a Communication Template or have both the Email Body and Subject Line input drawn from an Email Template.

Subject Line and Email Body input drawn from an Email template.

Subject Line and Email Body input drawn from an Email template.

This allows templates which are used frequently within a project, or across multiple projects, to be defined once rather than individually at each Action input.

References in Communication Templates

The content of a communication template can include a mix of static text and contextually dynamic content. To this, simply add a standard SmartIQ reference in square brackets where necessary as part of the content, for example:

Dear [customername]

While specific question references can work, e.g. [q1.3], it is recommended that you avoid specific question or answer IDs to allow your communication template to work across different SmartIQ projects.

Instead, by simply placing a name in square brackets, your SmartIQ projects can populate this reference simply by implementing this name as one of either:

  • Answer name, or
  • Project Property name

🚧

References in System Templates

System communication templates run outside the context of a particular form and hence are unable to reference form values (either answers or Project Properties). Form values can only be referenced in Custom communication templates.

📘

Note that reference names should be meaningful, and not be overly generic to avoid confusion. For example, [customername] is better than simply [name] which could already be used in your project to mean something else.

Admin API

See the API Reference for details.

Cross-environment Sync

The Sync API includes an option to include or exclude Communication Templates from a sync package.