Skip to main content

Communication Templates

Overview

Communication templates in cidaas provide pre-structured frameworks for delivering consistent messages to users across email, SMS, IVR, and push notifications. Templates enable you to maintain brand voice and styling while automating user communications such as welcome messages, password resets, account verifications, and security alerts.

The template system includes group-specific settings for locale and language preferences, ensuring effective localized communication. You can configure communication providers within each template group to ensure seamless messaging delivery through appropriate platforms.

Key Benefits

  • Efficiency: Pre-defined templates eliminate the need to create messages from scratch for each communication
  • Brand Consistency: Ensures all communications align with your brand voice, tone, and style across teams and channels
  • Clear Structure: Provides logical frameworks that make messages easier to read and understand
  • Scalability: Useful for large teams to maintain alignment in messaging tone and content
  • Customization: Templates support dynamic elements for audience-specific messaging while retaining consistent structure
  • Multi-channel Support: Easily adapted for multiple communication channels including email, SMS, IVR, and push notifications

Template Architecture

cidaas organizes communication templates into template groups. Each template group contains multiple templates, and each template is classified by a template type. The following diagram illustrates this structure:

Built-in Template Groups

cidaas provides two built-in template groups:

  • default: Contains pre-configured communication templates for common use cases
  • developer: An empty template group for custom, non-cidaas-based communications

Customizing Communication Templates

The default template group can be customized to match your brand requirements in terms of appearance and content. You can also create custom template groups by copying the default group and customizing sender names, communication providers, layouts, and content.

Best Practices

  1. Customize the default template group to follow your corporate style guidelines
  2. Create separate template groups for brand-specific layouts and messaging requirements

Template Selection Criteria

The template selection process depends on several factors:

  1. Available Communication Channels: Which channels are available for reaching the user (email address, phone number, or cidaas Authenticator App)?
  2. Communication Purpose:
    • User verification requires secure communication channels (linked to verification procedures in cidaas)
    • Some notifications can be deactivated based on template-specific settings
    • Settings should be applied uniformly across all locales and template groups
  3. Client Configuration: Template groups are assigned to applications, allowing different clients to use different communication templates

Default Template Types

cidaas provides the following template types in German (de) and English (en) by default:

Template KeyDescriptionDeactivatableCommunication Methods
AFTER_ACTIVATE_USERInforms users after their account has been activatedYesemail, sms, ivr
AFTER_CHANGE_PASSWORDNotifies users after their password has been changedYesemail, sms, ivr
AFTER_DE_ACTIVATE_USERInforms users after their account has been deactivatedYesemail, sms, ivr, push
INVITE_USERInvites users to complete the sign-up processNoemail, sms, ivr, push
NEW_DEVICEAlerts users when a new device is detected during login or other actionsYesemail, sms, ivr, push
NEW_LOCATIONAlerts users when a new location is detected during login or other actionsYesemail, sms, ivr, push
NOTIFY_COMMUNICATION_CHANGENotifies users when they change their communication medium (phone number or email)Yesemail, sms, ivr, push
OPTIN_REMINDERReminds users to opt in to the systemYesemail, sms
PASSWORD_RESET_BY_ADMINInforms users that their password has been reset by an administratorYesemail, sms, ivr, push
RESET_PASSWORDPrompts users to proceed with their requested password resetNoemail, sms
UN_REGISTER_USER_ALERTSends an alert when a user unregistersYesemail, sms, push
USER_CREATEDNotifies relevant parties when a user account has been createdYesemail, sms, ivr, push
USER_CREATED_VERIFYRequests newly created users to verify their email addressYesemail, sms
USER_MERGE_IDENTITY_ALERTAlerts users when their account has been merged with another accountYesemail, sms, push
USER_MERGE_VERIFY_IDENTITYRequests users to verify and confirm account merge requestsYesemail, sms, push
VERIFY_ACCOUNTPrompts users to verify their accountNoemail, sms
VERIFY_USERInitiates user verification processesNoemail, sms, ivr, push
WEBHOOK_FAILEDNotifies administrators about failed webhooksYesemail, sms
WELCOME_USERWelcomes users after successful sign-up and provides next stepsYesemail, sms, ivr

How to Create Custom Template Types

You can create custom communication template types tailored to your specific requirements.

Step 1: Create Template Type

  1. Log in to the cidaas Admin Dashboard
  2. Navigate to Template > Template Types
  3. Click Create Custom Types
  4. Enter the following information:
    • Template Type: Descriptive name for filtering and search operations
    • Description: Supporting description for the template type
    • Communication Methods: Select applicable communication channels (email, SMS, IVR, push)
    • Custom Attributes: Define allowed and required attributes for your template
  5. Click Create

The new template type appears in the custom template section. You can update system and custom templates by clicking on them.

Communication Template Type

Note

You can add custom fields in the registration field section to support your template attributes.

Step 2: Create and Publish Custom Template

  1. Log in to the cidaas Admin Dashboard

  2. Navigate to Template > Template

  3. Select developer from the group type dropdown filter

  4. Click the More option in the filtered list

    Communication Group Type

  5. Click Create Template

  6. Search for your template type and enter required details

    Create Custom Template

  7. Click the template to edit according to your requirements

  8. Click Publish

Additional Configuration Options

Locale Settings: Update the locale for the template group to support multiple languages.

Template Locale Configuration

Communication Provider: Configure the communication provider for the template group.

Communication Provider Configuration

Use the Template Keys, Communication Method, and Locale filters to locate specific templates quickly.

How to Create Custom Template Groups

  1. Log in to the cidaas Admin Dashboard
  2. Navigate to Template > Template
  3. Click Create Group Types
  4. Enter the following information:
    • Template Group Name: Descriptive name for the group
    • Description: Supporting description for the group
    • Copy from Group: Select the template group to copy from (defaults to default)
    • Language: Choose supported languages for the template group
    • Default Locale: Select the default locale
  5. Click Create

Developer Reference

The following APIs enable programmatic management of communication templates:

APIDescriptionReference
Manage Template Groups by IDGet, update, or delete template groups using their IDView API
Create Template GroupsCreate new template groupsView API
Find Template Groups Using FiltersRetrieve template groups using filter criteriaView API
Find Templates Using FiltersRetrieve templates using filter criteriaView API
Manage TemplatesCreate, update, or delete templatesView API
Manage Templates by IDGet, update, or delete templates using their IDView API
Manage Template Types Using FiltersManage template types in a graph-based structureView API
Send Template-Based NotificationsSend notifications based on templatesView API
Create Template TypesCreate new template types with custom attributesView API
Get Notification StatusRetrieve service setup and status information for notification vendorsView API
Manage Template Type AttributesCreate or update attributes for a communication template typeView API
Get Template Filters by GroupRetrieve template filters associated with a specific template groupView API
Support

Need Help?

For any further assistance, feel free to visit our Support Portal.