It is possible to send emails when a new message is sent on a collaboration. To do this, Automation is used. (Settings > Automation).
A new automation needs to be created, following those steps:
For TriggerType, Listen to Collaboration(s) must be selected.
It is then possible to restrict the concepts and the intention(s).
For Action, Send an email must be selected.
For To, User > Collaboration recipients can be selected. Collaboration recipients are the subscribers defined in the collaboration, minus the user that has sent the new message (User > Collaboration message author).
The Subject and the Body need to be filled.
Template
For Subject and Body, the following template can be chosen (the template can be adapted with different colours and a different language or text):
Template rendering
First message:
Second, Third, and Fourth messages:
Fifth and more messages:
Template configuration
Subject
CODE
1 new message from {{ collaboration_message.author }}
The hostname must be changed to the URL of the platform on which the automation is configured.
CSS
{% set hostname = 'https://yooi.yooi.io' %}
Text configuration
This part can be easily configured:
CSS
{%set i18n = {
'1 new message from': '1 new message from',
'View page': 'View page',
'older messages': 'older messages',
'View in YOOI': 'View in YOOI',
'New': 'New'
} %}
Alternatively, the text can be changed, for example:
CSS
{%set i18n = {
'1 new message from': '1 nouveau message de',
'View page': 'Voir la page',
'older messages': 'ancien(s) message(s)',
'View in YOOI': 'Voir dans YOOI',
'New': 'Nouveau'
} %}
Colors configuration
This part can be easily configured to match the company colour:
CSS
{%set color = {
'primary': '#007348',
'secondary': '#E6F1ED'
} %}
Yooi is not responsible for the template. This is just an example, that can be used in any way desired. The rendering of the template will depend on the mail provider, here the screenshots were taken using the Outlook application.
FAQ Collaboration email automation
Are emails still sent if the collaboration is closed?
Yes, the Listen to collaboration(s) trigger works, even if the collaboration is closed. It is possible to find out the status of the collaboration via the variables available in automation ({{ collaboration.status }}), so the email visual can be modified if that's what is required.
JavaScript errors detected
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.