We have a couple of requests from users, so we decided to share this workaround with you. If anyone has comments, questions, or better ways - please, feel free to share them here on this topic
The content about the comment can be retrieved using script using <% %> inside the notification body
Comment is added:
const fibery = context.getService('fibery');
const entity = await fibery.getEntityById(Entity.Type, Entity.Id, ['Comments']);
const documentSecret = entity.Comments[entity.Comments.length - 1]['Document Secret'];
const commentContent = await fibery.getDocumentContent(documentSecret);
And this is how the result looks like
Easier way added ad-hoc, you can check details in this Changelog post
What is useful to add here, is that notifications for people assigned to an Entity, if said column exists, can already receive notifications:
It appears this comment refers to the headline Automations: Rich text fields can be used in templates. Is this correct?
Then this is also documented in the headline Using entity fields on
and the headline Using rich text fields
There are is also an example for Slack, which uses a similar, “complicated” notation as in the example above.
With all the above taken together, it is not clear to me how a “more easy template” could look like.
@Polina_Zenevich Could you provide an example, about how one can simplify the printing of a comment’s text into a notification, in so it appears similarly as above?