Skip to main content
Version: 3.1.0

Managing notification templates

You can create and manage notification templates using FLOWX.AI Designer web app, by accessing the dedicated section.

Configuring a templateโ€‹

To configure a document template, first, you need to select some information stored in the Body:

  1. Type - could be either MAIL or SMS notifications
  2. Forward on Kafka - if this checkbox is ticked, the notification is not being sent directly by the plugin to the destination, but forwarded to another adapter (this is mandatory for SMS notifications templates, as they require an external adapter)
  3. Language - choose the language for your notification template
  4. Subject - enter a subject

Notification template

Editing the contentโ€‹

You can edit the content of a notification template by using the WYSIWYG editor embedded in the body of the notification templates body.

Configuring the data modelโ€‹

Using the data model, you can define key pair values (parameters) that will be displayed and reused in the editor. Multiple parameters can be added:

  • ARRAY (which has an additional item field)

Data model

After you defined some parameters in the Data Model tab, you can type "#" in the editor to trigger a dropdown where you can choose which one you want to use/reuse.

Data model

ยปWYSIWYG Editor

Testing the templateโ€‹

You can use the test function to ensure that your template configuration is working as it should before publishing it.

In the example above, some keys (marked as mandatory) were not used in the template, letting you know that you've missed some important information. After you enter all the mandatory keys, the notification test will go through:

Other actionsโ€‹

When opening the contextual menu (accessible by clicking on the breadcrumbs button), you have multiple actions to work with the notifications templates:

  • Publish template - publish a template (it will be then displayed in the Published tab), you can also clone published templates
  • Export template - export a template (JSON format)
  • Show history - (version history and last edited)

Was this page helpful?