Communications

Communication is an event driven API that allows ComUnity Developers to integrate centralised communication into their projects.

Central to Communications is the concept of events and triggers. With the Toolkit, you can define specific events within your application that act as triggers for communication processes. These events can encompass user actions, or any other event that warrants communication. By capturing these events, you lay the foundation for delivering targeted messages to your users.

The ComUnity Developer Toolkit offers the ComsService.TriggerEvent() function for efficient communication execution. When an event occurs, invoking this function triggers the Communication Service to manage the delivery of messages across various channels. It abstracts the complexities of background processes, enabling you to focus on creating meaningful interactions with your users. To configure your messaging flows, the Communication Settings offered by the Toolkit are essential. You can define Channel Priorities to assign different levels of importance to messages, ensuring efficient delivery through preferred channels. The Toolkit also provides Pre-Defined Values, offering standardised templates for common communication elements such as sender names, subject lines, or notification content. Additionally, Custom Values allow you to incorporate application-level data and variables, enabling dynamic and personalised messaging experiences.

Communications enable you to integrate messaging capabilities into your projects effortlessly. Whether it's sending notifications, alerts, or updates via email, SMS, or in-app messages, Communications ensures effective information dissemination and enhances user engagement.

The Communication Service operates independently, without awareness of other services, such as the Data Service. Therefore, all necessary data must be injected into the Communication Service, either through communication settings or through a communication event, as it cannot reference other contexts outside of itself.

Key aspects of Communication in the ComUnity Developer Toolkit:

Last updated