Skip to main content

Hi,

Is there any way to code an @mention into the message added to a timeline entry via the API ?

Many thanks.

There isn’t. I tried for a few hours today and couldn’t get an actual notification out of it.

The HTML format of an @mention done manually looks like this:

<span \ndata-id=\"dBIGLONGID]\" contenteditable=\"false\" \nclass=\"medium-editor-at-mention\" data-reference=\"123456789\" title=\"Jason \nMetzler\" aria-label=\"Jason Metzler\" data-name=\"Jason Metzler\" \ndata-email=\"jason.metzler@mydomain.com\" data-value=\"Jason Metzler\" \ndata-profilepicture=\"https://prod-images.eu.gainsightcloud.com/images/myavatarimage"><span \ndata-id=\"\" contenteditable=\"false\">@Jason Metzler</span></span>

Gainsight is storing the @mention as a rich text block (HTML) within the Notes field. The structure includes various attributes like data-email, data-name, and even a link to the user’s profile picture. I tried a bunch of iterations to build that HTML content manually, and I did get the note to look like an @mention, but the notification functionality didn’t fire.

Would love to see something like this, or have the ability to trigger just a notification to our SMs. There are lots of times where I don’t want a full blown CTA, and I don’t like internal email programs if I can avoid them. Was really hoping to be able to trick the system into letting me at mention users in timeline from the API, but no dice.


Reply