Extra Horizon
GitHub
  • Extra Horizon Documentation
  • Getting Started
    • Start familiarizing yourself
  • Tutorials
    • Medical Device Tutorial
      • Preparation
      • Build your first prototype
        • Define a data model
        • Configure your workflows
          • Workflow 1: Analyze a measurement
          • Workflow 2: Create & store a PDF report
          • Workflow 3: Send an e-mail
        • Define your permissions
          • Update your schema with user permissions
          • Update your schema with group permissions
        • Build the Front-End
          • Set up oAuth in your backend
          • Demo login page
      • Summary & Wrap up
    • Polysomnography (PSG) Tutorial
    • Retool - Building dashboards Tutorial
  • FAQ
    • General
  • Services
    • Identity and Access Management
      • User service
        • Users
        • Groups
        • Global roles
        • Configuration
      • Auth Service
        • Applications
        • OAuth2
        • OAuth1
        • MFA
        • OpenID Connect
          • Google Cloud
          • Azure ADFS
    • Data Management
      • File Service
      • Data Service
        • Schemas
        • Documents
        • FAQ Data Service
    • Automation
      • Task Service
        • Functions
        • Tasks
        • API Functions
        • Examples
          • Hello world (JS)
          • Hello world (Py)
          • Hello world (Docker)
        • FAQ
      • Dispatchers Service
      • Event Service
        • System Events
    • Communication
      • Notification Service
        • Notifications
        • Settings
      • Mail Service
    • Other
      • Localization Service
        • Language Codes
      • Template Service
        • Localizations
      • Payments Service
        • Subscriptions
        • Stripe
        • iOS App Store
      • Configurations Service
  • API Reference
    • OpenAPI Specifications
    • 📦Changelog
      • Per-service Changelog
    • Postman Reference Collection
  • Tools
    • SDK
    • CLI
    • Control Center
  • Additional Resources
    • Resource Query Language (RQL)
    • Handling Errors
    • GitHub
    • API interaction (Python)
    • Migration guide: Enabling verification request limiting
  • ExH Platform
    • 🙋Support
    • ⏱️Usage and Performance
    • 🔓Security
    • 🗺️Regions
    • ⚖️Cloud Subscription Agreement
    • 🇺🇸CFR 21 Part 11
Powered by GitBook
On this page
  • Intro
  • Notifications
  • E-mails
  • Localizations
  • Related documents

Was this helpful?

  1. Services

Communication

This page gives a brief overview of the different communication options provided by the Extra Horizon platform.

PreviousSystem EventsNextNotification Service

Last updated 10 months ago

Was this helpful?

Intro

The main services that assist in communicating with your users are the Mail, Notification and Localization services.

can be used to quickly inform users with short, simple messages such as single sentences.

Conversely, are typically used to send longer messages, or messages set in a more formal context. Mails sent with ExH services can be built from of an e-mail template, created with the .

Finally, Localizations allow the storage and retrieval of short text snippets in multiple languages. These snippets can be used by other services, such as the Mail service to build messages in multiple languages based using a single template.

Notifications

As previously mentioned, notifications typically contain short, simple messages. Notifications can be created with the Notification service. Immediately after being created, a notification is sent to it's intended recipient(s). The service can also be polled later to check whether or not the notification has been viewed by it's recipient.

E-mails

E-mails typically contain longer messages, or are used in a more formal context than notifications. Sending e-mails can be done through the Mail service and relies on the Template service. Templates are used to streamline sending personalized e-mails by providing re-usable e-mail design 'blueprints'.

Sending an e-mail

Sending an e-mail based on a template is slightly more complicated than sending a notification, but still a relatively simple process. Starting from scratch, it takes two steps to send an e-mail with our services: 1. 0.

Creating a template

This step is evidently performed by using the template service. A template is essentially the body of an e-mail, where the variable information such, as a name or the result of a measurement, is replaced with placeholders that can later be replaced by data.

Sending an e-mail

In this step, the complete e-mail is constructed based on the template created in the previous step. To resolve a template, the mail service requires two elements: a reference to a template, and the mail data.

First, the referenced template is fetched from the template service. Then, the placeholders inside that template are replaced by the data provided, resulting in a complete e-mail which is then sent to it's recipient.

Localizations

The localization service is a simple service that features storage and retrieval of text snippets in multiple languages. The snippets are stored per tag, inside of which they are listed per language so they can be utilized intuitively.

Related documents

The notification service as well as the template service are aware of the localization service, and have built-in support for localizations. Because of this, it is possible to define the body of an e-mail or notification in all supported languages, based on a single structure. More information on the utility of localizations can be found .

here
Notifications Service guide
Mails Service guide
Localizations Service guide
E-mails
template service
Creating a template
Sending an e-mail
Notifications