How can I include notification functionality on @mentions in my Confluence cloud app?

Hi devs,

My team is building an editor for one of our macros and we’re using @atlaskit/editor-core package to do this, we wanted to support @mentions in our editor and we managed to do it but we wanted to support notifications to the mentioned users once our content is saved. Can anyone help us pointing what did we miss? or a link to documentation probably?